Loaders¶
This module contains loaders, used to load spatial data from different sources.
We want to unify loading from different data sources into a single interface. Thanks to this, we have a unified spatial data format, which makes it possible to feed them into any of the embedding methods available in this library.
Classes¶
- Loader
- GeoparquetLoader
- GTFSLoader
- OSMLoader
- OSMOnlineLoader
- OSMPbfLoader
- OSMTileLoader
- OSMNetworkType
- OSMWayLoader
Functions¶
¶
Download a file with progress bar.
PARAMETER | DESCRIPTION |
---|---|
url |
URL to download.
TYPE:
|
fname |
File name.
TYPE:
|
chunk_size |
Chunk size.
TYPE:
|
force_download |
Flag to force download even if file exists.
TYPE:
|
Source: https://gist.github.com/yanqd0/c13ed29e29432e3cf3e7c38467f42f51