[mapserver-users] load an svg or a png or a gif as a map symbol in a map file
Lime, Steve D (MNIT)
steve.lime at state.mn.us
Wed Dec 12 09:00:52 PST 2018
You can do something like:
CLASS
STYLE
SYMBOL 'http://maps2.dnr.state.mn.us/compass/lib/markers/02.png'
SIZE 41
END
END
Where the symbol can reference a local file or a URL.
--Steve
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stathis G. Arapostathis
Sent: Wednesday, December 12, 2018 9:21 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] load an svg or a png or a gif as a map symbol in a map file
Dear Sirs/Madams,
It's been a while since the last time I used map server. As a result I don't remember the exact syntax for loading some svg, png and gifs as symbols in a point layer. How could the following code be transformed in order to replace the star symbol with a gif titled as cemetery.gif?
CLASS
NAME 'cemeteries'
STYLE
COLOR 254 0 0
IMAGE 'star'
SIZE 8
END
END
thank you very much in prior for your help.
[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20181212/85fd55ba/attachment.htm>
More information about the MapServer-users
mailing list