[gdal-dev] Bug/feature: OGR VSICURL does not handle gzip compression

Thomas Gratier osgeo.mailinglist at gmail.com
Thu Nov 10 18:59:55 PST 2022


Hi,

Use the CURL option available through GDAL e.g
https://trac.osgeo.org/gdal/wiki/ConfigOptions#CPL_CURL_GZIP (also
documented at https://gdal.org/user/configoptions.html)

To illustrate, try the following

ogrinfo -so --config CPL_CURL_GZIP YES "
https://tie.digitraffic.fi/api/v3/data/traffic-messages/simple?inactiveHours=0&includeAreaGeometry=false&situationType=TRAFFIC_ANNOUNCEMENT"
OGRGeoJSON


Regards

Thomas Gratier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221111/1ef86c7e/attachment.htm>


More information about the gdal-dev mailing list