Opened 12 years ago
Closed 12 years ago
#4118 closed defect (duplicate)
MapServer as WFS 1.1.0 does NOT support correct axis order
Reported by: | jachym | Owned by: | mapserverbugs |
---|---|---|---|
Priority: | normal | Milestone: | 6.2 release |
Component: | WFS Client | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: | mko |
Description
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:
when swaped the coordinates manually, data are returned correctly
Mapfile attached
Attachments (2)
Change History (7)
by , 12 years ago
Attachment: | mapfile.map added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Cc: | added |
---|
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.
comment:3 by , 12 years ago
Yesterday, I had a look into the code, and I think, there mapserver does not check, if WFS 1.1 axis order should be used or not.
See http://lists.osgeo.org/pipermail/mapserver-dev/2011-December/011785.html
comment:4 by , 12 years ago
Milestone: | → 6.2 release |
---|
Anyone? I think, this is important feature, that MapServer - WFS-Client behaviour is consistant to the server implementation.
comment:5 by , 12 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
The problem is solved in #4228 in a more complex way.
According to http://mapserver.org/ogc/#axis-orientation-in-wfs-1-1, it should work.