[mapserver-users] labeling

woodbri at swoodbridge.com woodbri at swoodbridge.com
Wed Jul 10 16:35:44 EDT 2002


On 10 Jul 2002 at 12:41, Seamus Thomas Carroll wrote:

> I want the labeling to go in this order of precedence:
> 1) larger city
> 2) small city
> 3) highway
> 4) road
> Any suggestions?

Use annotation layers which will allow you some control over which 
layer gets rendered first, BUT within a layer the objects get 
rendered in order they are in the file. Sooo, you can order them by 
sorting the shapefile, Orrrr you can create 4 annotation layers as 
you list above and use a FILTERITEM or CLASSITEM to select only the 
given objects that you want to annotate in the the given layer.

I hope this is clear.

-Steve



More information about the mapserver-users mailing list