Commit a9bac37e authored by Cédric Traizet's avatar Cédric Traizet
Browse files

ENH: add non const getter on image metadata in ImageCommons

parent ab413a4c
......@@ -38,6 +38,8 @@ public:
const ImageMetadata & GetImageMetadata() const;
ImageMetadata & GetImageMetadata();
// boilerplate code...
/** Get the projection coordinate system of the image. */
......
......@@ -38,6 +38,11 @@ const ImageMetadata & ImageCommons::GetImageMetadata() const
return m_Imd;
}
ImageMetadata & ImageCommons::GetImageMetadata()
{
return m_Imd;
}
std::string ImageCommons::GetProjectionRef(void) const
{
// TODO: support EPSG and proj as fallback
......
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