Thank you very much for the quick reply. It works


From: Lime, Steve D (MNIT) <steve.l...@state.mn.us>
Sent: Wednesday, December 12, 2018 7:01 PM
To: Stathis G. Arapostathis <e.arapostat...@gmail.com>; 
mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] load an svg or a png or a gif as a map symbol in 
a map file



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-boun...@lists.osgeo.org] On 
Behalf Of Stathis G. Arapostathis
Sent: Wednesday, December 12, 2018 9:21 AM
To: mapserver-users@lists.osgeo.org <mailto:mapserver-users@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://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>

Virus-free.  
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
 www.avast.com





---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to