-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
WCS: Origin of rectifiedGrid #5511
Comments
mapwcs.c is about WCS 1.0 and whole GDAL & MapServer code use pixel-corner convention, so I don't think things should be changed there |
Yes, sorry, I was too quick to point to the place in code. I saw the error in XML returned by a server when testing the new GDAL WCS driver in 2.0.1 mode. |
…rrespond to the coordinate of the pixel center (fixes #5511)
Fix committed per 31c25df |
@rouault I fully agree with the necessary changes, many thanks for taking care! |
I think this issue is also valid for 1.0.0. See for example http://194.66.252.155/cgi-bin/BGS_EMODnet_bathymetry/ows?SERVICE=WCS&REQUEST=DescribeCoverage&VERSION=1.0.0&COVERAGE=BGS_EMODNET_CentralMed-MCol |
The origin of the rectifiedGrid is written (mapwcs.c:1193) as geotransform[0] and [3], which is extent boundaries. The origin should be expressed as the center of the grid point.
The text was updated successfully, but these errors were encountered: