diff --git a/Examples/Projections/MapProjectionExample.cxx b/Examples/Projections/MapProjectionExample.cxx index fd402b6876d85f22e57c9ad67a276989478d82ab..7f67a3a27663501fb4a5a20cc8a5bdba109d0dd1 100644 --- a/Examples/Projections/MapProjectionExample.cxx +++ b/Examples/Projections/MapProjectionExample.cxx @@ -93,6 +93,8 @@ int main( int argc, char* argv[] ) file << std::setprecision(15); // Software Guide : EndCodeSnippet + file << "\\begin{verbatim}" << std::endl; + // Software Guide : BeginLatex // // We can now instanciate our first map projection. Here, it is a UTM projection @@ -155,11 +157,14 @@ int main( int argc, char* argv[] ) // Software Guide : BeginCodeSnippet std::string projectionRefWkt ="PROJCS[\"UTM Zone 31, Northern Hemisphere\"," - "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]]," - "TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]]," - "UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],AXIS[\"Lat\",NORTH],AXIS[\"Long\",EAST]," - "AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"latitude_of_origin\",0]," - "PARAMETER[\"central_meridian\",3],PARAMETER[\"scale_factor\",0.9996],PARAMETER[\"false_easting\",500000]," + "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563," + "AUTHORITY[\"EPSG\",\"7030\"]],TOWGS84[0,0,0,0,0,0,0]," + "AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]]," + "UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]]," + "AXIS[\"Lat\",NORTH],AXIS[\"Long\",EAST]," + "AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Transverse_Mercator\"]," + "PARAMETER[\"latitude_of_origin\",0],PARAMETER[\"central_meridian\",3]," + "PARAMETER[\"scale_factor\",0.9996],PARAMETER[\"false_easting\",500000]," "PARAMETER[\"false_northing\",0],UNIT[\"Meter\",1]]"; // Software Guide : EndCodeSnippet @@ -180,6 +185,8 @@ int main( int argc, char* argv[] ) file << std::endl << std::endl; // Software Guide : EndCodeSnippet + file << "\\end{verbatim}" << std::endl; + // Software Guide : BeginLatex // // And of course, we don't forget to close the file: