

Name, potentially a “map=” parameter, and and terminated by “?” or Basically, what you need is aĬomplete HTTP URL including the prefix, hostname, script See section 12.3.3 of the WFS 1.0.0 specification for the whole You provide the wfs_onlineresource metadata. Provide a default one using the script name and hostname, but you Wfs_onlineresource is not provided then MapServer will try to This is required for the GetCapabilities output. Metadata and specifies the URL that should be used to access your The wfs_onlineresource metadata is set in the map’s web object LAYER TYPE is one of: LINE, POINT, POLYGON Setting up a WFS server (layer names should not start with a digit Layer names must start with a letter when Layers that meet the following conditions:ĭata source is of vector type (Shapefile, OGR, PostGIS, SDE, SDO, …) MapServer will serve and include in its WFS capabilities only the Much as in the WMS support, WFS publishing is enabled by addingĬertain magic METADATA keyword/value pairs to a MapFile. Configuring your MapFile to Serve WFS layers ¶ With WFS 2.0, the default OUTPUTFORMAT is “application/gml+xml version=3.2”.įor a detailed discussion on the versions supported, see bug#884. You can test this by adding an ‘OUTPUTFORMAT’ parameter to a Installer comes ready to serve both WFS and WMS. Please see the MapServer UNIX Compilation and Installation HowTo for detailed instructions on compiling mapserver with supportįor these libraries and features. In order to enable MapServer to serve WFS, it MUST be compiled against Working knowledge of MapServer is of course also required. The MS RFC 105: Support for WFS 2.0 (server side).


Technical details on the implementation of WFS 2.0 in MapServer are given in The OGC Filter Encoding 2.0 specification. MapServer OGC Web Services Workshop package.įor WFS 2.0, the following documents apply : The Geography Markup Language Implementation Specification. The OGC Web Feature Service Implementation Specification.

Of each of them, in order to understand how it all works: Recommended however to read them over and get familiar with the basics Specifications, there is no need to read through them in theirĮntirety to get a MapServer WFS up and running. Since these are highly detailed technical Here are some WFS related links (including a newly added OGC services In version 7.0, MapServer supports versions 1.0, 1.1 and 2.0 of the WFS Mechanism, and, more precisely, GML (Geography Markup Language), which Specifications, this interface uses XML over HTTP as it’s delivery Information about specific geospatial features of the underlying data,Īt both the geometry AND attribute levels. MapServer has traditionally done, the client now obtains fine-grained This means that instead of returning an image, as Jmckenna at Author :Įven.rouault at Last Updated :Ĭonfiguring your MapFile to Serve WFS layersĪ WFS ( Web Feature Service ) publishes feature-level geospatial data
