[mapserver-users] Question re: city points layers and markers

Gregory Collins greg at gregorycollins.net
Wed Feb 18 16:48:59 EST 2009


Gregory Collins <greg at gregorycollins.net> writes:

> Hello all,
>
> Sorry if this question has an answer in the existing documentation but
> I've been struggling for days and can't find a solution.
>
> I'm trying to render a city points layer on a regional-level map. I want
> point markers to be placed for all of the cities which are important
> enough to get labels, but no markers for unlabeled cities.
>
> If I use a layer of type "point", I get markers for all of the points,
> which I don't want. The documentation says that for annotation layers,
> "Annotation means that a label point will be calculated for the
> features, but the feature itself will not be drawn although a marker
> symbol can be optionally drawn", but I can't seem to get it to draw the
> markers.
>
> What am I doing wrong?

Figured this out: without "POSITION AUTO" on the labels (which I thought
was the default) it was drawing the labels on top of the markers.

G
-- 
Gregory Collins <greg at gregorycollins.net>


More information about the mapserver-users mailing list