# 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/Zverik/osm_to_sandbox",
"name": "osm-to-sandbox",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "",
"keywords": "osm,openstreetmap,sandbox,copy",
"author": "Ilya Zverev",
"author_email": "ilya@zverev.info",
"download_url": "https://files.pythonhosted.org/packages/dc/57/40b39572cd2ebc5d70f2a795b1e7b694e1cc6bfa196ca413d9ed23951236/osm_to_sandbox-1.2.tar.gz",
"platform": null,
"description": "# OpenStreetMap To Sandbox\n\nThis is a script to download data from OSM API and upload it to the\n[mapping sandbox](https://wiki.openstreetmap.org/wiki/Sandbox_for_editing).\n\nNote that it clears all data in the sandbox beforehand. NEVER change\nendpoint addresses in the script.\n\n## Installation\n\n pip install --user osm-to-sandbox\n\n## Usage\n\nOpen the [bounding box tool](https://boundingbox.klokantech.com/),\ndraw a box, choose \"CSV\" format below, and copy the numbers. Then do:\n\n osm_to_sandbox 1.2,3.4,5.6,7.8 --auth\n\nWhere 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\nservers, then it would start doing its uploading work.\n\n## Author\n\nWritten by Ilya Zverev, published under ISC license.\n",
"bugtrack_url": null,
"license": "ISC License",
"summary": "Copy data from OpenStreetMap to its Mapping Sandbox",
"version": "1.2",
"project_urls": {
"Homepage": "https://github.com/Zverik/osm_to_sandbox"
},
"split_keywords": [
"osm",
"openstreetmap",
"sandbox",
"copy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "32dc6b37942cf6693f97ee22257d24e9c031066353c7e371768d9261fe9d798c",
"md5": "e27d5c03068d6c93d8ebc39c1aabc6f5",
"sha256": "94decb6d0f3760f59fe2f827c2a3fbc9985b898a367ea22f6ed09bf76b34bce6"
},
"downloads": -1,
"filename": "osm_to_sandbox-1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e27d5c03068d6c93d8ebc39c1aabc6f5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 7722,
"upload_time": "2024-03-02T10:44:58",
"upload_time_iso_8601": "2024-03-02T10:44:58.717069Z",
"url": "https://files.pythonhosted.org/packages/32/dc/6b37942cf6693f97ee22257d24e9c031066353c7e371768d9261fe9d798c/osm_to_sandbox-1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dc5740b39572cd2ebc5d70f2a795b1e7b694e1cc6bfa196ca413d9ed23951236",
"md5": "38e63308ff3b06242076acb3f5cdee0d",
"sha256": "06ffcfb8a353c475ecfc200381e70e252adfbaf2a73beb5ebfff1d630e5f9c42"
},
"downloads": -1,
"filename": "osm_to_sandbox-1.2.tar.gz",
"has_sig": false,
"md5_digest": "38e63308ff3b06242076acb3f5cdee0d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 7196,
"upload_time": "2024-03-02T10:45:00",
"upload_time_iso_8601": "2024-03-02T10:45:00.275019Z",
"url": "https://files.pythonhosted.org/packages/dc/57/40b39572cd2ebc5d70f2a795b1e7b694e1cc6bfa196ca413d9ed23951236/osm_to_sandbox-1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-02 10:45:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Zverik",
"github_project": "osm_to_sandbox",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "osm-to-sandbox"
}