Demo entry 2743243

MAPSERVER - LAYER POSTGIS

   

Submitted by samtux on Sep 24, 2015 at 14:31
Language: XML. Code size: 703 Bytes.

  LAYER
    CONNECTION "host=localhost dbname=cundinamarca user=postgres password=postgres port=5432"
    CONNECTIONTYPE POSTGIS
    DATA "geom from public.departamento using unique gid using srid=3857"
    METADATA
      "coordsys_name"	"Popular Visualisation CRS / Mercator (deprecated)"
    END # METADATA
    NAME "departamento"
    PROJECTION
      "init=epsg:3857"
    END # PROJECTION
    STATUS ON
    TEMPLATE "query.html"
    TILEITEM "location"
    TYPE POLYGON
    UNITS METERS
    CLASS
      NAME "Class (0)"
      STYLE
        COLOR 255 255 255
        OUTLINECOLOR 0 0 0
        SIZE 8
      END # STYLE
      TEMPLATE "query.html"
    END # CLASS
  END # LAYER

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).