-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Support for remote datasets over http/ftp #101
Comments
Hey good request! And you're correct that opentopodata does scan the entire directory on startup. If you only have a few remote files, you can mount them as a local drive with rclone.
A better way might be to build a VRT of your tiles.
I have some more notes here about remote mounts and VRTs: notes/cloud-storage and here about the cons of VRTS: #91 If you do try VRTs and it doesn't work for you, I'd love to hear why knot and know more about your dataset! Remote/large datasets are something I would like to support in opentopodata! |
Thanks, I will try VRT setup and update you if I have any issues. |
I tried the VRT with SRTM naming for mapzen dataset served over ftp I used the following command to generate the VRTs gdalbuildvrt data/mapzen-vrt/N00/N00E000.vrt ftp://remote-server/data/mapzen/N00/N00E000.tif I haven't tested the single vrt for the whole dataset yet. |
First of all, thank you for your work.
Is there any plan to support remotely hosted datasets that are served over http / ftp.
I noticed in the code that it is scanning whole dataset to build a dictionary of tiles for each dataset at startup
This may not be possible with the remotely hosted dataset, so we can provide a pre-built dictionary of tiles as a json / xml which will be read at startup. This technique also helps speedup start time with locally hosted large datasets as well.
Example config:
datasets:
The text was updated successfully, but these errors were encountered: