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
The only way I know of is to use the sortshp utility.
http://mapserver.org/utilities/sortshp.html
Best regards,
Bart
Hi All,
Reading a shapefile (ESRI/MapInfo) from FS with polygons overlapping. Each
polygon is drawn with a different color based on a field called RISK.
Is it possible
Hi All,
Reading a shapefile (ESRI/MapInfo) from FS with polygons overlapping. Each
polygon is drawn with a different color based on a field called RISK.
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
Hi,
Sortshp can order data only by one attribute. If that is not enough you
can sort shapefile by two or more attributes with ogr2ogr by giving
ORDER BY inside the -sql parameter. Of course it is possible to split
the shapefile into several layers by using FILTER. In that case the
drawing order