Hi list,

Using ogrinfo/ogr2ogr, I can't find the right config options to read data at 
this url: 
https://governmentofbc.maps.arcgis.com/sharing/rest/content/items/4bba119c2e9042d683cc9378fb1e836e/data
 

Example command:
ogrinfo 
https://governmentofbc.maps.arcgis.com/sharing/rest/content/items/4bba119c2e9042d683cc9378fb1e836e/data
 \
  --config CPL_VSIL_CURL_USE_HEAD=NO \
  --config CPL_CURL_VERBOSE=YES \
  --debug ON

I've tried a few additional config options, but can't tell what the problem is 
- the output from CURL_VERBOSE includes a GET to the appropriate new url, and 
it presumably uses the token without issue because it reports on the correct 
attachment:

CURL_INFO_HEADER_IN: Content-Disposition: attachment; 
filename="transportation.gdb.zip"; size=307145

I can download without issue using `curl --location-trusted` but would prefer 
to use ogr directly.

thanks!

Simon

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to