[mapserver-users] draw polygons ordered by field ? (from File System)

Daniel Morissette dmorissette at mapgears.com
Tue Nov 9 08:32:13 EST 2010


Sebastian E. Ovide wrote:
> 
> Is it possible  define an order on how the polygons are drawn ? Say for
> example to draw the polygons with field "RISK" 0 first, then with "RISK"
> =1 and so on...
> 
> I know that using PG we can use "Select * from XXX order by RISK"
> 
> Is there any way to do that using ESRI/MapInfo files ?
> 

Have a look at the sortshp utility:

http://mapserver.org/utilities/sortshp.html

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-users mailing list