Skip to content

Commit f43539e

Browse files
committed
#469 quickfix - WFS maxcount should be in GetFeature Element not Query Elemen
1 parent 38d8430 commit f43539e

File tree

1 file changed

+2
-2
lines changed
  • GeoHealthCheck/plugins/probe

1 file changed

+2
-2
lines changed

GeoHealthCheck/plugins/probe/wfs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ class WfsGetFeatureBbox(Probe):
2323
xmlns:wfs="http://www.opengis.net/wfs"
2424
service="WFS"
2525
version="1.1.0"
26+
maxFeatures="{max_count}"
2627
outputFormat="text/xml; subtype=gml/3.1.1"
2728
xsi:schemaLocation="http://www.opengis.net/wfs
2829
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
2930
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
30-
<wfs:Query typeName="{type_name}" srsName="{srs}" maxFeatures="{max_count}"
31+
<wfs:Query typeName="{type_name}" srsName="{srs}"
3132
xmlns:{type_ns_prefix}="{type_ns_uri}">
3233
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
3334
<ogc:BBOX>
@@ -81,7 +82,6 @@ class WfsGetFeatureBbox(Probe):
8182
'type': 'string',
8283
'description': 'Maximum amount of features to select',
8384
'default': '5',
84-
'value': '5',
8585
'required': True,
8686
'range': None
8787
},

0 commit comments

Comments
 (0)