How to get the color from a class

Bruno viperp at GMAIL.COM
Wed Jan 18 03:05:53 PST 2006


Hi, my code is:

( ... )

LAYER
  NAME Depois_de_1995

  STATUS DEFAULT
  DATA "the_geom from constructmapasconselho using unique id_municipio"
  TYPE POLYGON
  CONNECTIONTYPE POSTGIS
  CONNECTION "user=consulta password=consulta
  dbname=sipeas host=127.0.0.1"
  UNITS METERS
  SIZEUNITS METERS

  CLASSITEM "data_cr"
  LABELITEM "data_cr"

  CLASS
    NAME "Depois de 1995"
    EXPRESSION '1.00000'
    OUTLINECOLOR 0 0 0
    COLOR 204 7 62
    TEMPLATE "data_cr.html"
   END
END # Layer

( ... )


I would like to know how to get the COLOR ( R G B ) content from a class,
using phpmapscript. Does anyone knows any function?

tks,
bruno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060118/90f8a3ac/attachment.htm>


More information about the MapServer-users mailing list