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

2022-11-10 Thread Stefan Gofferje
Hi, I'm trying to import traffic situation data in GeoJSON format from the Finnish Road Administration at https://tie.digitraffic.fi/api/v3/data/traffic-messages/simple? inactiveHours=0&includeAreaGeometry=false&situationType=TRAFFIC_ANNOUNCEMENT Unfortunately, the server is configured so that

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

2022-11-10 Thread Thomas Gratier
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-m

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

2022-11-11 Thread Stefan Gofferje
Hi, On 11/11/22 04:59, Thomas Gratier wrote: 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