Commit a5fdbea9 authored by Julien Malik's avatar Julien Malik

BUG: follow up on fixing #806. set it back to default in case choice change in gui

parent 054a9f94
......@@ -586,8 +586,11 @@ private:
double optimalSpacing = std::min( vcl_abs(xgridspacing), vcl_abs(ygridspacing) );
otbAppLogINFO( "Setting grid spacing to " << optimalSpacing );
SetParameterFloat("opt.gridspacing", optimalSpacing);
}
else // if (m_OutputProjectionRef == otb::GeoInformationConversion::ToWKT(4326))
{
SetParameterFloat("opt.gridspacing", DefaultGridSpacingMeter);
} // if (m_OutputProjectionRef == otb::GeoInformationConversion::ToWKT(4326))
} // if (!HasUserValue("opt.gridspacing"))
} // if (HasValue("io.in"))
}
......
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