[mapserver-users] reverse the order of shapes of a layer
Jeff McKenna
jmckenna at gatewaygeomatics.com
Fri Jan 23 12:37:27 PST 2015
On 2015-01-23 3:46 PM, Scout wrote:
> Hello,
>
> I am using phpmapscript with mapserver 6.4.1.
>
> I would like to be able to reverse the order of the shapes in a layer
> before drawing the map.
>
I imagine you could use the sortshp utility for this
(http://www.mapserver.org/utilities/sortshp.html) or even ogr2ogr with a
switch like:
-sql "SELECT * FROM filename ORDER BY fieldname DESC"
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list