mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#433) Reading measured depth from JSON well path files
This commit is contained in:
parent
5e4f3cfbb9
commit
615ac05970
@ -204,6 +204,9 @@ void RimWellPath::readJsonWellPathFile()
|
||||
QMap<QString, QVariant> coordinateMap = point.toMap();
|
||||
cvf::Vec3d vec3d(coordinateMap["east"].toDouble(), coordinateMap["north"].toDouble(), -(coordinateMap["tvd"].toDouble() - datumElevation));
|
||||
wellPathGeom->m_wellPathPoints.push_back(vec3d);
|
||||
|
||||
double measuredDepth = coordinateMap["md"].toDouble();
|
||||
wellPathGeom->m_measuredDepths.push_back(measuredDepth);
|
||||
}
|
||||
|
||||
//jsonReader.dumpToFile(wellPathGeom->m_wellPathPoints, "c:\\temp\\jsonpoints.txt");
|
||||
|
Loading…
Reference in New Issue
Block a user