Skip to main content

Copy data from OpenStreetMap to its Mapping Sandbox

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osm_to_sandbox-1.2.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

osm_to_sandbox-1.2-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page