#13283 OSDU: Add ExistenceKind support and improve well import wizard

- Add ExistenceKind field to OsduWellboreTrajectory struct
- Extract ExistenceKind from OSDU trajectory JSON data
- Add ExistenceKind field to WellInfo structure
- Display ExistenceKind in RimOsduWellPath UI under OSDU group
- Add Enter key support for field search in import wizard
- Show trajectory count in well import summary page
This commit is contained in:
Magne Sjaastad authored and Kristian Bendiksen committed 2025-12-10 14:49:30 +01:00
1 parent 52854c2e86
commit 54e8b59ccf
7 files changed
+47 -3

No files matched your search

@@ -91,6 +91,7 @@ void RicWellPathsImportOsduFeature::onActionTriggered( bool isChecked )
wellPath->setWellId( w.wellId );
wellPath->setWellboreId( w.wellboreId );
wellPath->setWellboreTrajectoryId( w.wellboreTrajectoryId );
wellPath->setExistenceKind( w.existenceKind );
wellPath->setDatumElevationFromOsdu( w.datumElevation );
wellPath->setWellPathColor( RiaColorTables::wellPathsPaletteColors().cycledColor3f( colorIndex++ ) );
@@ -508,6 +508,8 @@ void WellSummaryPage::initializePage()
{
RiuWellImportWizard* wiz = dynamic_cast<RiuWellImportWizard*>( wizard() );
m_textEdit->clear();
QMutexLocker lock( &m_mutex );
m_pendingWellboreIds.clear();
for ( const QString& wellboreId : wiz->selectedWellboreIds() )
@@ -544,6 +546,10 @@ void WellSummaryPage::wellboreTrajectoryFinished( const QString& wellboreId, int
{
m_textEdit->append( QString( "Wellbore '%1': No trajectory found." ).arg( wellbore.value().name ) );
}
else
{
m_textEdit->append( QString( "Wellbore '%1': Found %2 trajectory(ies)." ).arg( wellbore.value().name ).arg( numTrajectories ) );
}
for ( auto w : wellboreTrajectories )
{
@@ -552,6 +558,7 @@ void WellSummaryPage::wellboreTrajectoryFinished( const QString& wellboreId, int
.wellId = wellbore.value().wellId,
.wellboreId = w.wellboreId,
.wellboreTrajectoryId = wellboreTrajectoryId,
.existenceKind = w.existenceKind,
.datumElevation = wellbore.value().datumElevation } );
}
}
@@ -370,6 +370,7 @@ public:
QString wellId;
QString wellboreId;
QString wellboreTrajectoryId;
QString existenceKind;
double datumElevation;
};