[mapserver-users] Using a Symbol instead of text for a label

Matt McClelland matt at wildwalks.com
Wed Sep 28 14:31:31 PDT 2011


Thanks David

That Cluster function is very impressive (as is Mapserver).
Using expressions to find common cluster problems I can fairly easily
resolve about 90% of my issues, a good solution.

Thanks

Matt  :)

On Wed, Sep 28, 2011 at 11:47 PM, Fawcett, David (MPCA) <
david.fawcett at state.mn.us> wrote:

> Matt, ****
>
> ** **
>
> I haven’t fully thought it through, but maybe the new Cluster functionality
> might work for this.  You could have a generic park symbol for the cluster
> symbol.****
>
> ** **
>
> http://mapserver.org/mapfile/cluster.html****
>
> ** **
>
> David.****
>
> ** **
>
> *From:* mapserver-users-bounces at lists.osgeo.org [mailto:
> mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Matt McClelland
> *Sent:* Tuesday, September 27, 2011 6:15 PM
> *To:* mapserver-users at lists.osgeo.org
> *Subject:* [mapserver-users] Using a Symbol instead of text for a label***
> *
>
> ** **
>
> Hi
>
> I have a bunch of symbols that overlap on a map.  EG at a park where I want
> to show an symbol for playground, toilet and picnic tables.  The data for
> each of these items are individual point data items.
>
> I would like to ask mapserver, very kindly, to 'tile' nearby symbols into a
> group
> OR
> Use the main symbol like a label.  So that I could have a dot where the
> play equipment is, then nearby have the symbol for the play equipment.  This
> is obviously very easy to do with text, but is it possible with a symbol??
>
> I have tried this
>    CLASS
>       EXPRESSION /play|playground/
>       NAME "Children's Playground"
>       STYLE
>         SYMBOL 'waypoint'
>         color 255 0 0
>         SIZE 5
>       END
>       LABEL
>          STYLE
>           SYMBOL '/var/www/osm/kml/icons/play.png'
>           Size 10
>          END
>      ...text styleing info....
>       END
>    END
>
> I get my 'waypoint' dot and the play.png in the same location.  I would
> like the play.png to be positioned AUTO like I can with text.
> Any ideas??
>
> Thanks
> Matt  :)****
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110929/b32cbf17/attachment.htm>


More information about the MapServer-users mailing list