Jukka,

Somewhat counter-intuitively, you can use "https://api.digitransit.fi/routing/v1/routers/hsl/isochrone?fromPlace=60.168,24.938&mode=WALK,TRANSIT&date=2019-11-01&time=08:00:00&maxWalkDistance=500&cutoffSec=1800&cutoffSec=3600"; as a filename when using the File source type. This is due to GeoJSON driver having a particular logic when passed a http[s]:// filename to ingest it fully in memory.

Even

Le 21/09/2021 à 12:46, Rahkonen Jukka (MML) a écrit :

Hi,

This command gives a result with ogrinfo:

ogrinfo /vsicurl_streaming/"https://api.digitransit.fi/routing/v1/routers/hsl/isochrone?fromPlace=60.168,24.938&mode=WALK,TRANSIT&date=2019-11-01&time=08:00:00&maxWalkDistance=500&cutoffSec=1800&cutoffSec=3600"; -al

If I try to use the URI part with QGIS with Add layer – Vector – Protocol – HTTP/HTTPS/FTP then QGIS seems to add automatically /vsicurl/ into the service request. With this service /vsicurl/ does not work but /vsicurl_streaming/ works. It there any way to force QGIS to use the streaming mode?

The debugging tools do not seem to log the network traffic from the “read from protocol” requests. Is that a right observation?

-Jukka Rahkonen-


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to