Skip to content
Snippets Groups Projects
Commit f49409df authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: 572: add both projection ref in the error message

parent fd2fa124
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,9 @@ PersistentImageToOGRLayerFilter<TImage>
{
itkExceptionMacro(<<"Input projection ref is not valid");
}
itkExceptionMacro(<<"Spatial reference of input image and target layer do not match!");
itkExceptionMacro(<<"Spatial reference of input image and target layer do not match! "<< std::endl
<< "Input image : "<< this->GetInput()->GetProjectionRef()<< std::endl
<< "Target layer : "<<m_OGRLayer.GetProjectionRef());
}
}
......
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