utils¶
Helper functions.
Specify resource homepages
Specify the homepage URL of the free Geofabrik data extracts. |
|
Specify the homepage URL of the free BBBike data extracts. |
Specify directory/file paths
|
Change directory to |
|
Change directory to |
|
Change directory to |
Specify geometric object types/names
A dictionary for PBF layers and the corresponding geometry types. |
|
A dictionary for OSM geometry types. |
|
Get valid layer names of OSM shapefiles. |
Miscellaneous
|
Validate the input of layer name(s) for reading shape files. |
|
Find the layer name of OSM shapefile given its filename. |
|
Append a |
|
Remove a downloaded OSM data file. |
|
Compute number of chunks for parsing OSM (mainly PBF) data file in a chunk-wise manner. |
Specify data-type dictionary for data types of PostgreSQL and pandas.read_csv(). |