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
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to