New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"wms_extent" does not overrule extent of georeferenced rasters #4611

Closed
constantinius opened this Issue Mar 19, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@constantinius
Contributor

constantinius commented Mar 19, 2013

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.

version: 6.3dev

@Schpidi

This comment has been minimized.

Show comment
Hide comment
@Schpidi

Schpidi Mar 28, 2013

Member

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.

Member

Schpidi commented Mar 28, 2013

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.

@Schpidi

This comment has been minimized.

Show comment
Hide comment
@Schpidi

Schpidi Mar 28, 2013

Member

After some discussion here at the code sprint we came to the conclusion to not override the georefernce with information from layer->extent.

You could use a VRT or world file to overwrite the georeference though.

Member

Schpidi commented Mar 28, 2013

After some discussion here at the code sprint we came to the conclusion to not override the georefernce with information from layer->extent.

You could use a VRT or world file to overwrite the georeference though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment