Removed the explicit setting for convert to geocentric when setting
--bluemarlbe-west, --bluemarble-east and --whole-globe.
This commit is contained in:
parent
a383330ae4
commit
1772c9daa5
@ -330,7 +330,7 @@ int main( int argc, char **argv )
|
|||||||
if (arguments.read(pos, "--cs",def))
|
if (arguments.read(pos, "--cs",def))
|
||||||
{
|
{
|
||||||
currentCS = !def.empty() ? osgTerrain::DataSet::coordinateSystemStringToWTK(def) : "";
|
currentCS = !def.empty() ? osgTerrain::DataSet::coordinateSystemStringToWTK(def) : "";
|
||||||
std::cout<<"--cs "<<currentCS<<std::endl;
|
std::cout<<"--cs \""<<def<<"\" converted to "<<currentCS<<std::endl;
|
||||||
}
|
}
|
||||||
else if (arguments.read(pos, "--wkt",def))
|
else if (arguments.read(pos, "--wkt",def))
|
||||||
{
|
{
|
||||||
@ -365,7 +365,7 @@ int main( int argc, char **argv )
|
|||||||
geoTransformScale = true;
|
geoTransformScale = true;
|
||||||
geoTransform = computeGeoTransForRange(0.0, 180.0, -90.0, 90.0);
|
geoTransform = computeGeoTransForRange(0.0, 180.0, -90.0, 90.0);
|
||||||
|
|
||||||
dataset->setConvertFromGeographicToGeocentric(true);
|
// dataset->setConvertFromGeographicToGeocentric(true);
|
||||||
std::cout<<"--bluemarble-west"<<currentCS<<" matrix="<<geoTransform<<std::endl;
|
std::cout<<"--bluemarble-west"<<currentCS<<" matrix="<<geoTransform<<std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -376,7 +376,7 @@ int main( int argc, char **argv )
|
|||||||
geoTransformScale = true;
|
geoTransformScale = true;
|
||||||
geoTransform = computeGeoTransForRange(-180.0, 0.0, -90.0, 90.0);
|
geoTransform = computeGeoTransForRange(-180.0, 0.0, -90.0, 90.0);
|
||||||
|
|
||||||
dataset->setConvertFromGeographicToGeocentric(true);
|
// dataset->setConvertFromGeographicToGeocentric(true);
|
||||||
std::cout<<"--bluemarble-west "<<currentCS<<" matrix="<<geoTransform<<std::endl;
|
std::cout<<"--bluemarble-west "<<currentCS<<" matrix="<<geoTransform<<std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -387,7 +387,7 @@ int main( int argc, char **argv )
|
|||||||
geoTransformScale = true;
|
geoTransformScale = true;
|
||||||
geoTransform = computeGeoTransForRange(-180.0, 180.0, -90.0, 90.0);
|
geoTransform = computeGeoTransForRange(-180.0, 180.0, -90.0, 90.0);
|
||||||
|
|
||||||
dataset->setConvertFromGeographicToGeocentric(true);
|
// dataset->setConvertFromGeographicToGeocentric(true);
|
||||||
std::cout<<"--whole-globe "<<currentCS<<" matrix="<<geoTransform<<std::endl;
|
std::cout<<"--whole-globe "<<currentCS<<" matrix="<<geoTransform<<std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user