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

Reply via email to