AW: [Mapserver-users] Display point layer with symbols

Christina Biakowski christina.biakowski at ccgis.de
Wed Feb 18 03:36:31 PST 2004


Hello Stefan,

a POINT-Layer that shall be displayed using images as symbols has to be
declared like this:

LAYER
  ...
  TYPE POINT
  ...
  CLASSITEM "type"
  ....
  CLASS
	EXPRESSION "1"
	SYMBOL "Image1"
      MINSIZE 10
	MAXSIZE 36
	COLOR 0 0 0 #the specified color has no influence on how the image is
display,
			#but without the COLOR-parameter classes are not displayed
  END
  ...
END

The symbol has to be declared like this, either in the MAP-file or in a
separate symbol-file (has to be specified under SYMBOLSET):

SYMBOL
   NAME 'Image1'
   TYPE PIXMAP
   IMAGE '/data/symbols/myimage.png'
END

Hope this helps,
regards
Christina


-----Ursprungliche Nachricht-----
Von: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]Im Auftrag von Stefan
Schwarzer
Gesendet: Mittwoch, 18. Februar 2004 11:15
An: mapserver-users at lists.gis.umn.edu
Betreff: [Mapserver-users] Display point layer with symbols


Hi there,

I am sure this is an easy question and has been raised already. But I
haven't found any explanations in the archives. So perhaps someone could
rapidly give me an advice:

I don't want to display the points in a point-layer but gif-symbols instead,
representing for example Gold, Diamonds, Uranium etc.

How do I achieve that?

Thanks for any help,

Stefan


        _______________________________________

        Stefan Schwarzer
        Consultant on GEO

        UNEP/DEWA/GRID-Geneva
        Chemin des Anemones 11
        CH - 1219 Chatelaine
        Switzerland

        Tel: (+41) 22.917.83.49
        Fax: (+41) 22.917.80.29

        Email: stefan.schwarzer at grid.unep.ch
        Internet: http://geodata.grid.unep.ch/
        _______________________________________




More information about the MapServer-users mailing list