(#433) Reading measured depth from JSON well path files

This commit is contained in:
Pål Hagen 2015-09-10 14:37:05 +02:00
parent 5e4f3cfbb9
commit 615ac05970

View File

@ -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");