id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
3574	WFS 1.1 axis swapping broken in trunk (but works in 5.6.4) ?	rouault	assefa	"Tested command : 

{{{
./mapserv QUERY_STRING=""map=test.map&TYPENAME=layer_4326&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature""
}}}

With 5.6.4 returns :

{{{
Content-type: text/xml

<?xml version='1.0' encoding=""ISO-8859-1"" ?>
<wfs:FeatureCollection
   xmlns:ms=""http://mapserver.gis.umn.edu/mapserver""
   xmlns:gml=""http://www.opengis.net/gml""
   xmlns:wfs=""http://www.opengis.net/wfs""
   xmlns:ogc=""http://www.opengis.net/ogc""
   xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""
   xsi:schemaLocation=""http://mapserver.gis.umn.edu/mapserver http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&amp;VERSION=1.1.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=layer_4326&amp;OUTPUTFORMAT=text/xml; subtype=gml/3.1.1  http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"" numberOfFeatures=""1"">
      <gml:boundedBy>
        <gml:Envelope srsName=""EPSG:4326"">
                <gml:lowerCorner>-89.999933 -170.000083</gml:lowerCorner>
                <gml:upperCorner>89.500015 -170.000083</gml:upperCorner>
        </gml:Envelope>
      </gml:boundedBy>
<!-- WARNING: FeatureId item 'ID' not found in typename 'layer_4326'. -->
    <gml:featureMember>
      <ms:layer_4326>
        <gml:boundedBy>
                <gml:Envelope srsName=""EPSG:4326"">
                        <gml:lowerCorner>-89.999933 -170.000083</gml:lowerCorner>
                        <gml:upperCorner>89.500015 -170.000083</gml:upperCorner>
                </gml:Envelope>
        </gml:boundedBy>
        <ms:msGeometry>
          <gml:LineString srsName=""EPSG:4326"">
            <gml:posList srsDimension=""2"">-89.999933 -170.000083 [snip]
}}}

With trunk returns :

{{{
Content-type: text/xml; subtype=gml/3.1.1

<?xml version='1.0' encoding=""ISO-8859-1"" ?>
<wfs:FeatureCollection
   xmlns:ms=""http://mapserver.gis.umn.edu/mapserver""
   xmlns:gml=""http://www.opengis.net/gml""
   xmlns:wfs=""http://www.opengis.net/wfs""
   xmlns:ogc=""http://www.opengis.net/ogc""
   xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""
   xsi:schemaLocation=""http://mapserver.gis.umn.edu/mapserver http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&amp;VERSION=1.1.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=layer_4326&amp;OUTPUTFORMAT=text/xml; subtype=gml/3.1.1  http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"">
      <gml:boundedBy>
        <gml:Envelope srsName=""EPSG:4326"">
                <gml:lowerCorner>-170.000083 -89.999933</gml:lowerCorner>
                <gml:upperCorner>-170.000083 89.500015</gml:upperCorner>
        </gml:Envelope>
      </gml:boundedBy>
<!-- WARNING: FeatureId item 'ID' not found in typename 'layer_4326'. -->
    <gml:featureMember>
      <ms:layer_4326>
        <gml:boundedBy>
                <gml:Envelope srsName=""EPSG:4326"">
                        <gml:lowerCorner>-170.000083 -89.999933</gml:lowerCorner>
                        <gml:upperCorner>-170.000083 89.500015</gml:upperCorner>
                </gml:Envelope>
        </gml:boundedBy>
        <ms:msGeometry>
          <gml:LineString srsName=""EPSG:4326"">
            <gml:posList srsDimension=""2"">-170.000083 -89.999933 [snip]
}}}

But if I add &SRSNAME=EPSG:4326, axis swapping appears to work again. Is that expected ?"	defect	closed	normal		MapServer C Library	svn-trunk (development)	normal	fixed	wfs	warmerdam sdlime
