Skip to content
Snippets Groups Projects
Commit b22dec5c authored by Romain Garrigues's avatar Romain Garrigues
Browse files

Rectification du code pour prendre en compte la zone UTM dans la conversion cartographique

parent de67ee3e
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,6 @@ int generic_main(int argc, char* argv[], TMapProjection* mapProjection, otb::Com ...@@ -44,7 +44,6 @@ int generic_main(int argc, char* argv[], TMapProjection* mapProjection, otb::Com
{ {
typedef TMapProjection MapProjectionType; typedef TMapProjection MapProjectionType;
typename MapProjectionType::Pointer mapProjection = MapProjectionType::New();
typename MapProjectionType::InputPointType cartoPoint; typename MapProjectionType::InputPointType cartoPoint;
typename MapProjectionType::OutputPointType geoPoint; typename MapProjectionType::OutputPointType geoPoint;
...@@ -134,7 +133,7 @@ try ...@@ -134,7 +133,7 @@ try
utmProjection->SetZone(numZone); utmProjection->SetZone(numZone);
utmProjection->SetHemisphere(hemisphere); utmProjection->SetHemisphere(hemisphere);
return generic_main<UtmProjectionType>(argc,argv, utmProjection, parseResult); return generic_main<UtmProjectionType>(argc,argv, utmProjection, parseResult);
} }
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment