[mapserver-dev] bug in mapserver WFS 1.1 client and axis order?
Jachym Cepicky
jachym.cepicky at gmail.com
Mon Dec 12 18:05:58 EST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a problem with MapServer, acting as WFS 1.1.0 client, trying to
get data from WFS 1.1.0 (geoserver), in EPSG:4326. The axes order
*should be* swapped, AFAIK in this case, but MapServer *does not* do
this in the request in the BBOX parameter.
Example:
This is generated by MapServer and does not work (Czech Republic in
form minx,miny,maxx,maxy)
http://briseide01.ingr.briseide.eu:8080/geoserver/wfs?&REQUEST=GetFeature&VERSION=1.1.0&SERVICE=WFS&TYPENAME=ccss:Flood2010_transport_roads&BBOX=14.8607842326919,50.8338629310625,15.393635878137,51.0495564151432
And this returns some data - axis oder is Lat/Lon (miny,minx,maxy,maxx)
http://briseide01.ingr.briseide.eu:8080/geoserver/wfs?&REQUEST=GetFeature&VERSION=1.1.0&SERVICE=WFS&TYPENAME=ccss:Flood2010_transport_roads&BBOX=50.8338629310625,14.8607842326919,51.0495564151432,15.393635878137
I've created ticket to this [1] with mapfile posted, the important
part looks like follows:
70 LAYER
71 CONNECTION "http://briseide01.ingr.briseide.eu:8080/geoserver/ows?"
72 CONNECTIONTYPE WFS
73 DATA "Flood2010_transport_roads"
74 METADATA
75 "wfs_extent" "14.9948950985 50.8659873396 15.2607258548
51.0177787275"
76 "wfs_request_method" "GET"
77 "wms_extent" "14.9948950985 50.8659873396 15.2607258548
51.0177787275"
78 "wfs_title" "Flood2010_transport_roads"
79 "wfs_typename" "ccss:Flood2010_transport_roads"
80 "gml_include_items" "all"
81 "wfs_version" "1.1.0"
82 "wms_title" "Flood2010_transport_roads"
83 "wfs_srs" "EPSG:4326"
84 END # METADATA
85 NAME "ccss:Flood2010_transport_roads"
86 PROJECTION
87 "init=epsg:4326"
88 END # PROJECTION
89 STATUS OFF
90 TEMPLATE "foo"
91 TILEITEM "location"
92 TYPE LINE
93 UNITS METERS
94 CLASS
95 STYLE
96 ANGLE 0
97 COLOR 238 153 0
98 OFFSET 0 0
99 OUTLINECOLOR 134 81 0
100 SIZE 5
101 WIDTH 5
102 END # STYLE
103 END # CLASS
104 END # LAYER
Testing on mapserver-trunk
Thanks
Jachym
[1] http://trac.osgeo.org/mapserver/ticket/4118
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7miNYACgkQyKt0uAjU4I89egCfdGtWHL38EcQ0GVbHuq+24x+Z
aAAAoLyktOmEXL3nYv3+198DzBTRxbKU
=tXPU
-----END PGP SIGNATURE-----
More information about the mapserver-dev
mailing list