adding a layer programmatically with PHP

Ragnvald Larsen ragnvald at MINDLAND.COM
Thu Mar 10 01:16:10 PST 2005


So how would specifically the DATA, PROJECTION and SYMBOL part of
this .map-file look in php mapscript?

   LAYER
      NAME "Parks"
      TYPE POLYGON
      STATUS ON
      DATA "TZ_PAs_2002_Poly"
      PROJECTION
         "proj=latlong"
         "ellps=GRS80"
         "datum=NAD83"
      END
      CLASS
         NAME "Parks"
         OUTLINECOLOR 50 120 50
         COLOR 115 178 115
         SYMBOL 0
      END
   END



More information about the MapServer-users mailing list