Skip to content
Snippets Groups Projects
Commit 0ffec87b authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

STYLE: add log to segmentation application.

parent cab46f4d
No related branches found
No related tags found
No related merge requests found
......@@ -454,8 +454,10 @@ private:
//projection ref conversion to ESRI need to be tested in case of .shp
if ((dataSourceName.find(".shp") != string::npos) && (!projRef.empty()))
{
if (!(otb::GeoInformationConversion::IsESRIValidWKT(projRef)))
{
otbAppLogFATAL(<<"Image projection reference "<<std::endl<< projRef);
itkExceptionMacro(<<"Image spatial reference can't be converted to ESRI. Use another output format (kml,SQLite,...) to overcome .shp limitation ");
}
}
......
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