[mapserver-users] labeling

Seamus Thomas Carroll carrolls at unbc.ca
Wed Jul 10 15:48:50 PDT 2002


So what your are saying is create 4 layers with the labels I want to stand 
out the most on the bottom of the map file.  I should split up my classes 
into layers. So the new order of the map file would be:

1) road layer
2) highway layer
3) small city layer
4) larger city layer

Using FILTERITEM to filter the layers. Yes/No ?

Seamus




On Wed, 10 Jul 2002 woodbri at swoodbridge.com wrote:

> 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