Welcome to Defra Data Services Forum

    How do i add WFS layers in ArcGIS and QGIS?

    Follow

    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 – these are currently being investigated. 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.

    Using WFS that requires client programs like ArcGIS and QGIS are provided certain service parameters to learn what the service has to offer. They gain this information from the service capabilities. In all the WFS links from the DSP portal the links being copied require additional arguments. 

    For example, to obtain the service capabilities: 

    https://environment.data.gov.uk/spatialdata/chalk-rivers/wfs?REQUEST=GetCapabilities&SERVICE=WFS


    Other examples:

    https://environment.data.gov.uk/spatialdata/flood-map-for-planning-rivers-and-sea-flood-zone-3/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAME=Flood_Map_for_Planning_Rivers_and_Sea_Flood_Zone_3&BBOX=450660,332709,461502,347119,EPSG:27700&srsName=EPSG:27700   

    https://environment.data.gov.uk/spatialdata/historic-flood-map/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAME=Historic_Flood_Map&BBOX=444018,321614,489124,401169,EPSG:27700&srsName=EPSG:27700

    Coordinate Axis management:

    WFS services can honour several OGC WFS versions. WFS version 1.0.0 transmits coordinates as XY (Long/Lat) versus version 1.1.0 and 2.0.0  transmitting 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

    Comments

    Please sign in to leave a comment