[mapserver-users] GetMap vs GetFeatureinfo sort

pe_lord pe_lord at protonmail.com
Fri Aug 24 10:47:18 PDT 2018


I have 2 superposed points with different attributes. 

When I render my classes, the rendering ordering is defined by the last
geometry retrieved from the db. 
Then my last geometry (I defined an "order by fieldname asc" in my data
section) is on the top of the getmap return image.

On the other hand, I want to invert this sorting when I call a
GetFeatureInfo, to sort this way "order by fieldname desc"

Do you know if there is a way to change sorting order. 

I want to avoid using a runtime substitution.

MapServer version 7.0.3




--
Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html


More information about the mapserver-users mailing list