Hi, The WFS standard defines that attributes are included in a XML sequence. Therefore the returned attributes must be in the same order than in the schema of your feature type.
I would suggest also having a try with editing the SQL in the DATA line and selecting attributes as you like but check first if it has an effect on the schema returned by DescribeFeatureType. -Jukka Rahkonen- ________________________________________ Lime, Steve D (DNR) wrote: > I don't believe you can control this on the MapServer side. Why not just set > the column order > explicitly in the SQL statement? > Steve > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of Dejan Gambin > Sent: Thursday, December 22, 2011 7:40 AM > To: [email protected] > Subject: [mapserver-users] Order of attributes returned from WFS GetFeature > Hi, > I am using GetFeature request to get the attributes from my PostGIS data. I > define attributes with "gml_include_items". The order of attributes is > however related to postgis column order, not to the order in > gml_include_items. Is it somehow possible to change the order, withoout need to modify column order in PostGIS/PostgreSQL? regards, dejan_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
