Skip to content
Snippets Groups Projects
Commit 75b5aa68 authored by Luc Hermitte's avatar Luc Hermitte
Browse files

COMP: OTB-134/OGR GetProjectionRef() shall use Layer::GetName() instead of OGRLayer::GetName()

parent 186aac61
Branches
Tags
No related merge requests found
......@@ -249,7 +249,7 @@ std::string otb::ogr::Layer::GetProjectionRef() const
if(res != OGRERR_NONE)
{
itkGenericExceptionMacro(<< "Cannot convert spatial reference to wkt string for layer <"
<<m_Layer->GetName()<<">: " << CPLGetLastErrorMsg());
<<GetName()<<">: " << CPLGetLastErrorMsg());
}
assert(wkt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment