Die van 2018 bevatte nog wel een primary key index.
Deze WFS request:
<wfs:GetFeature service=“WFS” version=“2.0.0”
outputFormat=“application/gml+xml; version=3.2” count=“1000” startindex=“0” xmlns:wijkenbuurten2020=“http://wijkenbuurten2020.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=“wijkenbuurten2020:cbs_buurten_2020” srsName=“EPSG:28992”>fes:Filter
fes:Intersectsfes:ValueReferencegeom</fes:ValueReference>
<gml:Polygon gml:id=“geo.1” srsName=“EPSG:28992”>gml:exteriorgml:LinearRing<gml:posList srsDimension=“2”>262760.5495 471149.41725 262760.5495 471167.41725 262778.5495 471167.41725 262778.5495 471149.41725 262760.5495 471149.41725</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></fes:Intersects>
</fes:Filter>
</wfs:Query>
</wfs:GetFeature>
Geeft foutmelding:
<ows:ExceptionReport xmlns:xs=“http://www.w3.org/2001/XMLSchema” xmlns:ows=“http://www.opengis.net/ows/1.1” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” version=“2.0.0” xsi:schemaLocation=“http://www.opengis.net/ows/1.1 https://geodata.nationaalgeoregister.nl/schemas/ows/1.1.0/owsAll.xsd”>
<ows:Exception exceptionCode=“NoApplicableCode”>
ows:ExceptionTextjava.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException
java.lang.RuntimeException: java.io.IOException
java.io.IOExceptionCannot do natural order without a primary key, please add it or specify a manual sort over existing attributes</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>