From b22dec5c5faba049839d098da9cd9e6ae7d511e1 Mon Sep 17 00:00:00 2001 From: Romain Garrigues <romain.garrigues@c-s.fr> Date: Wed, 7 Nov 2007 08:45:50 +0000 Subject: [PATCH] Rectification du code pour prendre en compte la zone UTM dans la conversion cartographique --- Projections/otbConvertCartoToGeoPoint.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Projections/otbConvertCartoToGeoPoint.cxx b/Projections/otbConvertCartoToGeoPoint.cxx index 839d443d43..2d204d3eac 100644 --- a/Projections/otbConvertCartoToGeoPoint.cxx +++ b/Projections/otbConvertCartoToGeoPoint.cxx @@ -44,7 +44,6 @@ int generic_main(int argc, char* argv[], TMapProjection* mapProjection, otb::Com { typedef TMapProjection MapProjectionType; - typename MapProjectionType::Pointer mapProjection = MapProjectionType::New(); typename MapProjectionType::InputPointType cartoPoint; typename MapProjectionType::OutputPointType geoPoint; @@ -134,7 +133,7 @@ try utmProjection->SetZone(numZone); utmProjection->SetHemisphere(hemisphere); - + return generic_main<UtmProjectionType>(argc,argv, utmProjection, parseResult); } else -- GitLab