Commit e76f218e authored by Julien Malik's avatar Julien Malik

BUG: fix #824. change UTM zone at each new selected image when no user value set

parent 421aa43e
...@@ -214,7 +214,7 @@ void MapProjectionParametersHandler::InitializeUTMParameters(Application::Pointe ...@@ -214,7 +214,7 @@ void MapProjectionParametersHandler::InitializeUTMParameters(Application::Pointe
hemKey << mapKey << ".utm.northhem"; hemKey << mapKey << ".utm.northhem";
// Compute the zone and the hemisphere if not UserValue defined // Compute the zone and the hemisphere if not UserValue defined
if (!app->HasUserValue(zoneKey.str()) && app->HasValue(imageKey) && !app->HasAutomaticValue(zoneKey.str())) if (!app->HasUserValue(zoneKey.str()) && app->HasValue(imageKey))
{ {
// Compute the Origin lat/long coordinate // Compute the Origin lat/long coordinate
typedef otb::ImageToGenericRSOutputParameters<FloatVectorImageType> OutputParametersEstimatorType; typedef otb::ImageToGenericRSOutputParameters<FloatVectorImageType> OutputParametersEstimatorType;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment