Commit a08c4540 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

ENH: add warning message in ortho app in case spacingy is positive

parent df1e22fe
......@@ -559,6 +559,12 @@ private:
otbAppLogCRITICAL("Wrong value : negative size : ("<<GetParameterInt("outputs.sizex")<<" , "<<GetParameterInt("outputs.sizey")<<")");
}
//Check spacing sign
if (GetParameterFloat("outputs.spacingy") > 0.)
{
otbAppLogWARNING(<<"Wrong value for outputs.spacingy: Pixel size along Y axis should be negative, (outputs.spacingy=" <<GetParameterFloat("outputs.spacingy") << ")" )
}
// Get Interpolator
switch ( GetParameterInt("interpolator") )
{
......
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