From ESDIN (WP11), an INSPIRE Best Practices consortium within Europe,
where among others INSPIRE WFSs are tested from a browser client viewer
we got an interesting question:
"...I am therefore asking, if you would be willing/able to raise the
value of the 'maxFeatures' parameter in your ESDIN Download Service to a
very high value, like one million...."
I think deegree pre3 has a default of 15000 but given the blob storage
and the GML streaming architecture there would be theoretically no limit
(if the client is prepared to wait and handle all the data) ? This is
the question, so let's say if I set QueryMaxFeatures to 100000 (and
DISABLE_STREAMING==false)? Probably need to enable gzip encoding within
the front-end Apache HTTP server.
The ESDIN-question (I was behind this, as well as Arnulf) is also raised
to awaken participants of the consequences of using WFS for INSPIRE
Download.
best,
--Just
good thing putting scalability to the test.
The current config (after updating to 3.0-rc2) looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<deegreeWFS xmlns="http://www.deegree.org/services/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
configVersion="0.6.0"
xsi:schemaLocation="http://www.deegree.org/services/wfs
http://schemas.deegree.org/wfs/0.6.0/wfs_configuration.xsd">
<SupportedVersions>
<Version>1.1.0</Version>
</SupportedVersions>
<EnableTransactions>true</EnableTransactions>
<QueryCRS>EPSG:4258</QueryCRS>
<QueryMaxFeatures>500</QueryMaxFeatures>
<GMLFormat gmlVersion="GML_32">
<MimeType>text/xml; subtype=gml/3.2.1</MimeType>
<GetFeatureResponse xmlns:gml="http://www.opengis.net/gml/3.2">
<ContainerElement>gml:FeatureCollection</ContainerElement>
<SchemaLocation>http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/deprecatedTypes.xsd</SchemaLocation>
</GetFeatureResponse>
</GMLFormat>
</deegreeWFS>
Just set QueryMaxFeatures to your desired value (or use -1 for no
restriction at all). Without any further options, streaming is enabled by
default.
Please report how it works for you.
Best regards,
Markus