Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"wms_extent" does not overrule extent of georeferenced rasters #4611
When using geo-referenced raster images (such as GeoTIFFs with projection and GeoTransform correctly set) the extent cannot be overwritten by the metadata entry "ows|wms_extent".
When using a not geo-referenced image (like a simple PNG) the extent is correctly overwritten.
I've removed the confusing "extent" metadata lookup in msGetGDALGeoTransform(). Please us the layer->extent keyword instead.
msGetGDALGeoTransform() first looks for a georeference provided by GDAL first via a world file or in the file directly and second provided using the layer->extent keyword.