I am getting frustrated trying to get data from an WFS service. Here is the service located: http://nvpub.vic-metria.nu/arcgis/services/N2000_WFS/MapServer/WFSServer?service=WFS&request=GetCapabilities

I am getting features with a GetFeature request, but when I try to add BBOX parameter I get either no result or wrong features.

Here is an example curl request:

curl "http://nvpub.vic-metria.nu/arcgis/services/N2000_WFS/MapServer/WFSServer?service=WFS&version=2.0.0&request=GetFeature&typeNames=N2000_WFS:N2000&outputFormat=GEOJSON&BBOX=67.03244,19.63500,68.07416,22.52898"

I want results from northern Sweden but I am not getting it.

How do I do this?

  • are you certain there is data in the region you requested?
    – nmtoken
    Nov 22 at 10:13

As you are asking for the bounding box in a projection that is not the layer default CRS (urn:ogc:def:crs:EPSG::3006) you need to tell server what projection you are using so a URL like:


but it just times out

So I tried converting your bounding box to the default CRS


which also returns an empty feature collection:

<wfs:FeatureCollection xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:N2000_WFS="https://nvpub.vic-metria.nu/arcgis/services/N2000_WFS/MapServer/WFSServer" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" timeStamp="2021-03-27T17:11:57Z" numberMatched="unknown" numberReturned="0" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd https://nvpub.vic-metria.nu/arcgis/services/N2000_WFS/MapServer/WFSServer http://nvpub.vic-metria.nu/arcgis/services/N2000_WFS/MapServer/WFSServer?service=wfs%26version=2.0.0%26request=DescribeFeatureType">

So, I dumped the capabilities URL into QGIS to see what was going on and all I get are timeouts, so I think it is an unwell WFS server and you should probably ask the operator to fix it.

  • Ok, thank you for the help. I will ask them!
    – user180796
    Mar 27 at 18:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.