[mapserver-users] wfs_features_cache_count and GeoJSON output
Seth G
sethg at geographika.co.uk
Tue Jan 14 14:48:22 PST 2020
Hi all,
Has anyone any experience of using the "wfs_features_cache_count" setting as documented at https://mapserver.org/ogc/wfs_server.html#index-20 ? Related commit at [1].
This works fine with the default GML output, but I get the following error using GeoJSON output:
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/1.1" version="2.0.0" xml:lang="en-US" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="NoApplicableCode" locator="mapserv"/>
</ows:ExceptionReport>
Output format block in the Mapfile:
OUTPUTFORMAT
NAME "geojson"
DRIVER "OGR/GEOJSON"
MIMETYPE "application/json; subtype=geojson; charset=utf-8"
FORMATOPTION "FORM=SIMPLE"
FORMATOPTION "STORAGE=memory"
FORMATOPTION "LCO:NATIVE_MEDIA_TYPE=application/vnd.geo+json"
END
I'm just wondering if this is expected when using a non-standard output, a configuration problem, or an issue.
Thanks for any insights,
Seth
[1] https://github.com/mapserver/mapserver/commit/3c39c9114f513a4db54f5c38c4326e176f781594
--
web:http://geographika.co.uk
twitter: @geographika
More information about the MapServer-users
mailing list