Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zverik/osm_to_sandbox
Downloads data from OSM API and uploads it to the mapping sandbox.
https://github.com/zverik/osm_to_sandbox
openstreetmap osm
Last synced: 3 months ago
JSON representation
Downloads data from OSM API and uploads it to the mapping sandbox.
- Host: GitHub
- URL: https://github.com/zverik/osm_to_sandbox
- Owner: Zverik
- License: isc
- Created: 2021-12-07T13:20:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-02T19:29:52.000Z (10 months ago)
- Last Synced: 2024-09-13T05:59:03.436Z (4 months ago)
- Topics: openstreetmap, osm
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# OpenStreetMap To Sandbox
This is a script to download data from OSM API and upload it to the
[mapping sandbox](https://wiki.openstreetmap.org/wiki/Sandbox_for_editing).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](https://boundingbox.klokantech.com/),
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](https://master.apis.dev.openstreetmap.org/user/new). 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.