OpenStreetMap To Sandbox
This is a script to download data from OSM API and upload it to the mapping sandbox.
Note that it clears all data in the sandbox beforehand. NEVER change endpoint addresses in the script.
Installation
pip install --user osm-to-sandbox
Usage
Open the bounding box tool, draw a box, choose "CSV" format below, and copy the numbers. Then do:
osm_to_sandbox 1.2,3.4,5.6,7.8 --auth
Where numbers are your bbox. The --auth flag is required and will prompt for the Sandbox username and password. Get these here. The script would download the data from both
servers, then it would start doing its uploading work.
Author
Written by Ilya Zverev, published under ISC license.
Metadata
Release files for osm-to-sandbox 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| osm_to_sandbox-1.2.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| osm_to_sandbox-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / osm_to_sandbox-1.2.tar.gz
| Download URL | osm_to_sandbox-1.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06ffcfb8a353c475ecfc200381e70e252adfbaf2a73beb5ebfff1d630e5f9c42
|
|
BLAKE2b-256 checksum How to use checksums |
dc5740b39572cd2ebc5d70f2a795b1e7b694e1cc6bfa196ca413d9ed23951236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Release files / osm_to_sandbox-1.2-py3-none-any.whl
| Download URL | osm_to_sandbox-1.2-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94decb6d0f3760f59fe2f827c2a3fbc9985b898a367ea22f6ed09bf76b34bce6
|
|
BLAKE2b-256 checksum How to use checksums |
32dc6b37942cf6693f97ee22257d24e9c031066353c7e371768d9261fe9d798c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|