Hi Even,
Even Rouault-2 wrote > /vsicurl/ should automatically follow links. This is even tested in > https://github.com/OSGeo/gdal/blob/master/autotest/gcore/vsicurl.py#L230 I have this example CSV input source https://query.data.world/s/q4h3mwm2acruvoc5snpp5ltsn5h2gk It replies: HTTP/1.1 301 Moved Permanently Connection: keep-alive Content-Length: 0 Date: Wed, 11 Mar 2020 17:24:23 GMT Location: https://download.data.world/file_download/ondata/covid-19-italia-dati-dipartimento-protezione-civile/dpc-covid19-ita-regioni.csv?auth=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJwcm9kLXVzZXItY2xpZW50OmFib3JydXNvIiwiaXNzIjoiYWdlbnQ6YWJvcnJ1c286OmRlNTc0ZTFlLTVhNzktNDhhZC1hMDk0LTdiZmI5YWExNTBiYyIsImlhdCI6MTU4MzkzNDg2Nywicm9sZSI6WyJ1c2VyIiwidXNlcl9hcGlfYWRtaW4iLCJ1c2VyX2FwaV9yZWFkIiwidXNlcl9hcGlfd3JpdGUiXSwiZ2VuZXJhbC1wdXJwb3NlIjpmYWxzZSwidXJsIjoiMjU5OTdiNjUwZGYzYjllOWM2ZTM1MWIxYTMwZDVmYWJhZjA0NjQxYiJ9.8-yXU5WpfkOcZ5VFMNVtaGwBy7ZaT4yIWIWQ8P1NIgR4o11jnwqH9DpcghdUcvvHNYQZwIDAYIRiwJe5zVLWLA Server: nginx Vary: Origin If I set this VRT input file <OGRVRTDataSource> <OGRVRTLayer name="dpc-covid19-ita-regioni"> <SrcDataSource relativeToVRT="0">/vsicurl/https://query.data.world/s/q4h3mwm2acruvoc5snpp5ltsn5h2gk</SrcDataSource> <GeometryType>wkbPoint</GeometryType> <LayerSRS>WGS84</LayerSRS> <GeometryField encoding="PointFromColumns" x="long" y="lat"/> </OGRVRTLayer> </OGRVRTDataSource> and run "ogrinfo input.vrt" I have "ERROR 1: Failed to open datasource `/vsicurl/https://query.data.world/s/q4h3mwm2acruvoc5snpp5ltsn5h2gk'" If I run "curl -L http...." I have the CSV. Probably there is some error of mine, but I don't know which it is. Thank you -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev