This page last changed on Dec 18, 2007 by aaime.

MapServer is an Open Source development environment for building spatially-enabled internet applications. It supports WMS, WFS and WFS-T (partially).

Prerequisites

You have to set the IMAGEPATH value in the mapfile WEB object.

Adding WMS layers

Use this sample code to add your own WMS layers to your map file.

LAYER
  NAME "curva_de_nivel"
  TYPE raster
  STATUS on
  CONNECTION "http://sig.cas.gov.co:9999/geoserver/wms?Service=wms"
  CONNECTIONTYPE wms
  METADATA
    "wms_srs"             "EPSG:4326"
    "wms_name"            "basica25:capa_6101_curva_de_nivel"
    "wms_server_version"  "1.1.1"
    "wms_format"          "image/gif"
  END
END

You can add multiple layers in acomma separate list on wms_name parameter.

External Links

Document generated by Confluence on Jan 16, 2008 23:28