Contents
- 1 What do you need to know about MapServer and WFS?
- 2 Can a WFS server output both gml2 and GML3?
- 3 What is the service parameter required for all WFS requests?
- 4 Where can I find a list of URLs for the National Map Services?
- 5 Which is the default POST request in MapServer?
- 6 Is there a version 7.0 of MapServer?
- 7 Which is the best WFS client for uDig?
- 8 Can a WFS server have more than one SRS?
What do you need to know about MapServer and WFS?
MapServer will serve and include in its WFS capabilities only the layers that meet the following conditions: Data source is of vector type (Shapefile, OGR, PostGIS, SDE, SDO, …) LAYER NAME must be set. Layer names must start with a letter when setting up a WFS server (layer names should not start with a digit or have spaces in them).
Can a WFS server output both gml2 and GML3?
For Windows users, the MS4W installer comes ready to serve both WFS and WMS. MapServer can output both GML2 and GML3. By default MapServer serves GML2. You can test this by adding an ‘OUTPUTFORMAT’ parameter to a GetFeature request, such as:
How does MapServer decide the SRS for each layer?
Here is how MapServer decides the SRS to advertise and use for each layer in your WFS: If a top-level map SRS is defined then this SRS is used and applies to all layers (feature types) in this WFS. In this case the SRS of individual layers is simply ignored even if it is set.
What is the service parameter required for all WFS requests?
The SERVICE parameter is required for all WFS requests. When a request happens, it is passed through WMS, WFS, and WCS in MapServer (in that order) until one of the services respond to it. OK, now that we know that our server can produce a valid XML GetCapabilities response we should test the GetFeature request.
Where can I find a list of URLs for the National Map Services?
Where can I find a list of URLs for The National Map services? A complete list of service URLs can be found at The National Map Services, which contains available REST, WMS, WMTS (cached base maps only), WFS, WCS, and other service links. What is the difference between tiled and dynamic services?
What are the different types of responses in MapServer?
MapServer supports 3 types of responses to this request: text/plain output with attribute info. text/html output using MapServer query templates (see Templating) specified in the CLASS TEMPLATE parameter (the filename has to have an .html extension).
Which is the default POST request in MapServer?
Starting from version 4.2 MapServer supports XML-encoded POST requests and GET requests. The default in MapServer is POST. Starting from version 4.2 MapServer supports Filter Encoding (FE) in WFS GetFeature requests. For more information on the server side of Filter Encoding see the Filter Encoding HowTo.
Is there a version 7.0 of MapServer?
In version 7.0, MapServer supports versions 1.0, 1.1 and 2.0 of the WFS specifications. In order to enable MapServer to serve WFS, it MUST be compiled against certain libraries:
When to ignore the SRS of a layer in WFS?
If a top-level map SRS is defined then this SRS is used and applies to all layers (feature types) in this WFS. In this case the SRS of individual layers is simply ignored even if it is set. If no top-level map SRS is defined, then each layer is advertised in its own SRS in the capabilities.
Which is the best WFS client for uDig?
QGIS is a full GIS package which includes WFS client support. (recommended) Deegree provides a WFS client. uDig can add layers from WMS/WFS servers. Starting from version 4.2 MapServer supports XML-encoded POST requests and GET requests. The default in MapServer is POST.
Can a WFS server have more than one SRS?
The OGC WFS 1.0 specification doesn’t allow a layer (feature type) to be advertised in more than one SRS. Also, there is no default SRS that applies to all layers by default. However, it is possible to have every layer in a WFS server advertised in a different SRS.
How to get metadata from a WFS service?
Through URL parameters, you can use these operations to obtain service metadata, feature type information, and GML-encoded features from the WFS service. These operations and parameters are detailed in the OGC WFS specification.