[mapserver-users] Order of attributes returned from WFS GetFeature

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Dec 27 11:13:33 EST 2011


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: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Dejan Gambin
Sent: Thursday, December 22, 2011 7:40 AM
To: mapserver-users at lists.osgeo.org
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
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list