[mapserver-users] Symbology

Michael Schulz mschulz at webgis.de
Thu Sep 16 07:27:21 PDT 2010


Hi,

yes, you have to define an image symbol in your symbolset and use that:

SYMBOL
  NAME 'church'
  TYPE pixmap
  IMAGE 'church.gif'
  TRANSPARENT 5
END

then use
SYMBOL 'church' in your style.

Cheers, Michael

2010/9/16 Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>:
> In a map file…..Is there a way to use an image (jpg, bmp, png) instead of a
> marker symbol (star, circle etc) when symbolizing points
>
>
>
>        LAYER
>
>               DUMP TRUE
>
>               NAME 'Firestations'
>
>               DATA 'firestations'
>
>               TYPE POINT
>
>               STATUS ON
>
>               CLASS
>
>                 NAME 'Fire Stations'
>
>                 COLOR 254 0 0
>
>                      INSTEAD OF STAR PLACE AN IMAGE
>
>                 SYMBOL "star"
>
>                     SIZE 8
>
>               END
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Aufwind durch Wissen!

Qualifizierte Open Source Schulungen bei der
http://www.foss-academy.eu/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

Schwimmbadstraße 2
D-79100  Freiburg i. Br.

Tel:  +49 (0)761 705798-102
Tel:  +49 (0)761 705798-0
Fax: +49 (0)761 705798-09

http://www.webgis.de / http://www.zopecms.de
--------------------------------------------------------------
Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck
Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg



More information about the MapServer-users mailing list