[mapserver-users] WFS axis order in Mapserver 7.0

Even Rouault even.rouault at spatialys.com
Fri Oct 30 08:41:34 PDT 2015


Le vendredi 30 octobre 2015 16:15:29, Rahkonen Jukka (MML) a écrit :
> Hi,
> 
> I am getting EPSG:4326 data with wrong axis order from Mapserver 7.0 and
> WFS 1.1.0 and 2.0.0 with my demo data. However, I believe that there are
> automatic tests which must be passed before new Mapserver releases are
> published. Where could I find data, mapfiles, and tests so I could compare
> them with my own tests?

https://github.com/mapserver/msautotest/tree/master/wxs

For example 
https://github.com/mapserver/msautotest/blob/master/wxs/wfs_200.map
has

# srsName
# Next 3 requests should be equivalent in result
# RUN_PARMS: wfs_200_getfeature_srsname.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=province&SRSNAME=EPSG:4269" > 
[RESULT_DEVERSION]
# RUN_PARMS: wfs_200_getfeature_urn_srsname.xml [MAPSERV] 
QUERY_STRING="map=[MAPFILE]&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=province&SRSNAME=urn:ogc:def:crs:EPSG::4269" > [RESULT_DEVERSION]
# RUN_PARMS: wfs_200_post_getfeature_srsname.xml [MAPSERV] [POST]<?xml version="1.0" ?><GetFeature service="WFS" version="2.0.0" xmlns="http://www.opengis.net/wfs/2.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd"><Query srsName="EPSG:4269" 
typeNames="province"></Query></GetFeature>[/POST] > [RESULT_DEVERSION]
#

And if you look at :

https://github.com/mapserver/msautotest/blob/master/wxs/expected/wfs_200_getfeature_srsname.xml

the axis order seems ok (somewhere in Canada I believe)

This is with EPSG:4269 but should work similarly for EPSG:4326

> 
> -Jukka Rahkonen-

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the mapserver-users mailing list