Welcome to Defra Data Services Forum

    How do I use WFS layers?


    A Web Feature Service (WFS) is a way of accessing spatial vector data via a streaming feed, without the user having to download all of the data.  Your GIS software will be able to connect to the service (refer to your software user guide for details) and then you can use the data like a normal spatial layer.

    There are some known issues with connecting to Defra DSP WFS services. In some cases, the X and Y co-ordinates are translated differently by different software.  If the data does not display as expected, you may need to reconnect to the WFS, choosing the “Invert axis orientation” option (or equivalent).
    If you cannot connect at all, you may need to add some additional parameters to the WFS URL.

    Client programs like ArcGIS and QGIS can be provided with service parameters that enable them to use the WFS more fully. The service capabilities provide information on what parameters the service can use.

    To obtain the service capabilities, add parameters to the WFS link like in the following example: 


    These are examples of WFS links with additional parameters:



    Coordinate Axis management:

    WFS services can honour several OGC WFS versions. WFS version 1.0.0 transmits coordinates as XY (Long/Lat), whereas versions 1.1.0 and 2.0.0 transmit them as YX (Lat/Long), therefore affecting how XY coordinates are translated by clients like ArcMap, ArcGIS Pro, QGIS etc. They all have certain rules of setting these parameters once they have read the capabilities. 

    Many queries from WFS users have been resolved this by setting the axis orientation setting on their client software.

    The default OGC settings are:
    Default axis for WFS version 1.0.0.            X Y (long/lat)
    Default axis for WFS version 1.1.0             Y X (lat/long)
    Default axis for WFS version 2.0.0             Y X (lat/long)


    Was this article helpful?
    1 out of 1 found this helpful


    Please sign in to leave a comment