https://geodata.nationaalgeoregister.nl/natura2000/wfs
WFS versie 2.0.0 geeft geen resultaat als je met startindex werkt voor paginering werkt (bv startindex=“0”).
Zonder startindex=“0” krijg ik wel resultaat.
Volgens mij duidt dit op het gebrek aan een primary key index.
Bv
<wfs:GetFeature service="WFS" version="2.0.0"
outputFormat="application/gml+xml; version=3.2" count="1000" startindex="0" xmlns:natura2000="http://natura2000.geonovum.nl"
xmlns:wfs="http://www.opengis.net/wfs/2.0"
xmlns:fes="http://www.opengis.net/fes/2.0"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml/3.2"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/2.0/wfs.xsd">
<wfs:Query typeNames="natura2000:natura2000" srsName="EPSG:28992"><fes:Filter>
<fes:Intersects><fes:ValueReference>geom</fes:ValueReference>
<gml:Polygon gml:id="geo.1" srsName="EPSG:28992"><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">135322.7622458333 573964.4725229166 135322.7622458333 578339.8915229166 139698.1812458333 578339.8915229166 139698.1812458333 573964.4725229166 135322.7622458333 573964.4725229166</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></fes:Intersects>
</fes:Filter>
</wfs:Query>
</wfs:GetFeature>
Bij andere PDOK WFS’en gaat dit wel goed.
De Natura WFS versie 1.1 geeft een vreemd resultaat:
<?xml version='1.0' encoding="UTF-8" ?>
<wfs:FeatureCollection
xmlns:natura2000="http://natura2000.geonovum.nl"
xmlns:gml="http://www.opengis.net/gml"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://natura2000.geonovum.nl https://geodata.nationaalgeoregister.nl/natura2000/wfs?SERVICE=WFS&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=natura2000:natura2000&OUTPUTFORMAT=SFE_XMLSCHEMA http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<gml:boundedBy>
<gml:Null>missing</gml:Null>
</gml:boundedBy>
</wfs:FeatureCollection>
De query is:
<wfs:GetFeature service="WFS" version="1.1.0"
outputFormat="text/xml; subtype=gml/3.1.1"
maxFeatures="10001" srsName="EPSG:28992"
xmlns:topp="http://www.openplans.org/topp" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<wfs:Query typeName="natura2000:natura2000" srsName="EPSG:28992"><ogc:Filter>
<ogc:Intersects><ogc:PropertyName>geom</ogc:PropertyName>
<gml:Polygon srsName="EPSG:28992"><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">105995.30100416666 555441.8654229167 105995.30100416666 559817.2844229167 110370.72000416665 559817.2844229167 110370.72000416665 555441.8654229167 105995.30100416666 555441.8654229167</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></ogc:Intersects>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>