[gdal-dev] OAPIF with Accept-encoding: gzip
Rahkonen Jukka (MML)
jukka.rahkonen at maanmittauslaitos.fi
Tue Mar 23 05:21:01 PDT 2021
Hi,
Is it possible to ask the OAPIF server to send response as gzipped, and if it succeeds, would GDAL know what to do with the response? I made a try by saving a line "Accept-Encoding: gzip" as a test file and then making this request:
ogrinfo OAPIF:"https://beta-paikkatieto.maanmittauslaitos.fi/inspire-buildings/features/v1/collections/building/" --config GDAL_HTTP_HEADER_FILE headers.txt --debug on --config cpl_debug on
Unfortunately it seems that Accept-Encoding header was not added:
HTTP: These HTTP headers were set: Accept: application/geo+json, application/json
Is there some trick to make this to work or would it require changes into the OAPIF driver?
-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210323/d48823b9/attachment.html>
More information about the gdal-dev
mailing list