From 84caecae0e17778543d30957bc45ebe29f93fbe7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 11 Mar 2004 22:04:41 +0000 Subject: [PATCH] Changed the coordinate system option to --o_cs --- examples/osgdem/osgdem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osgdem/osgdem.cpp b/examples/osgdem/osgdem.cpp index 2ae9dd65b..1692f01d0 100644 --- a/examples/osgdem/osgdem.cpp +++ b/examples/osgdem/osgdem.cpp @@ -74,7 +74,7 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->addCommandLineOption("-l ","Specify the number of PagedLOD levels to generate"); arguments.getApplicationUsage()->addCommandLineOption("-e ","Extents of the model to generate"); arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); - + arguments.getApplicationUsage()->addCommandLineOption("--o_cs ","Set the output coordinates system. The string may be any of the usual GDAL/OGR forms, complete WKT, PROJ.4, EPS"); if (arguments.argc()<=1) { arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); @@ -142,7 +142,7 @@ int main( int argc, char **argv ) } std::string def; - while (arguments.read("-s_srs",def)) + while (arguments.read("--o_cs",def)) { dataset->setDestinationCoordinateSystem(SanitizeSRS(def.c_str()) ); }