Skip to content
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

MapServer as WFS 1.1.0 does NOT support correct axis order #2274

Open
mapserver-bot opened this issue Apr 3, 2012 · 2 comments
Open

MapServer as WFS 1.1.0 does NOT support correct axis order #2274

mapserver-bot opened this issue Apr 3, 2012 · 2 comments

Comments

@mapserver-bot
Copy link
Collaborator

Reporter: jachym
Date: 2011/12/08 - 23:01
I need to render WFS 1.1.0 layer and I'm testing it with shp2img with following syntax:

shp2img -m mapfile.map -e 14.9948950985 50.8659873396 15.2607258548 51.0177787275 -l "ccss:Flood2010_transport_roads" -all_debug 5

In the log, you can see, that the axis order of BBOX parameter in the WFS GetFeature request does NOT have correct axis order, and so, no data are returned:

http://briseide01.ingr.briseide.eu:8080/geoserver/ows?&REQUEST=GetFeature&VERSION=1.1.0&SERVICE=WFS&TYPENAME=ccss:Flood2010_transport_roads&BBOX=14.9948950985,50.8089676554,15.2607258548,51.0747984117

when swaped the coordinates manually, data are returned correctly

http://briseide01.ingr.briseide.eu:8080/geoserver/ows?&REQUEST=GetFeature&VERSION=1.1.0&SERVICE=WFS&TYPENAME=ccss:Flood2010_transport_roads&BBOX=50.8089676554,14.9948950985,51.0747984117,15.2607258548

Mapfile attached

@mapserver-bot
Copy link
Collaborator Author

Author: jachym
Date: 2011/12/08 - 23:05
According to http://mapserver.org/ogc/#axis-orientation-in-wfs-1-1, it should work.

@mapserver-bot
Copy link
Collaborator Author

Author: mko
Date: 2011/12/16 - 08:51
Due to the fact that not all eosg codes between 4000 and 5000 have inverted axes, we should use msIsAxisInverted() instead. It does check against a static list of epsg codes included in mapaxisorder.h and generated from the epsg database.

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

No branches or pull requests

1 participant