Downloads data from OSM API and uploads it to the mapping sandbox.

Overview

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

Where numbers are your bbox. The script would download the data from both servers, and then it would ask you for your login and password to the Sandbox. Get these here. Then it would start doing its uploading work.

Author

Written by Ilya Zverev, published under ISC license.

You might also like...
Tool To Get Downloads up to 4k from Paramount+
Tool To Get Downloads up to 4k from Paramount+

Paramount 4K Downloader Tool To Get Downloads up to 4k from Paramount+ 😄 Hello Fellow Developers/ ! Hi! My name is WVDUMP. I am Leaking the script

A python scripts that downloads doujin from nhentai without having an account

nhentai-downloader a python scripts that downloads doujin from https://nhentai.net without having an account. Usage Needs Python 3^ Linux pip3 install

Downloads yiffer.xyz comics as images

yiffer-dl Downloads comics as images from yiffer.xyz.

ComicDownloader - Downloads Comics from readcomiconline.li

ComicDownloader Downloads Comics from readcomiconline.li To use this script from

Simple tool downloads public PoC (refer from nomi-sec)

PoC Collection This is the little script to collect the proof-of-concept which is refered from nomi-sec. The repository now is only develop for linux-

Downloads state flags from wikipedia for states/regions from all countries

world-state-flags Downloads state flags from wikipedia for states/regions from all countries This data is NOT curated Uses https://github.com/dr5hn/co

Downloads separate (specified) file to a randomly generated folder in /TEMP then executes it.

PyTemp-1 A Python3 file downloader. What you do with this code / project / idea is non of my buisness or concern, and this was made for **educational*

DYA ( Ditch YouTube API ) is a package created to power the user with YouTube Data API functionality without any API Key

Ditch YouTubeAPI (BETA) DYA ( Ditch YouTube API ) is a package created to power the user with YouTube Data API functionality without any API Key Detai

Mobile based API for Crunchyroll BETA (and Downloader).

Mobile based API for Crunchyroll BETA (and Downloader). Not restricted on servers and NO CLOUDFLARE

Comments
  • Refactor CLI and add filter paramters

    Refactor CLI and add filter paramters

    This PR adds the filter option for tags and attic data to the overpass request as well as enabling custom overpass instances. In addition the CLI is refactored to make way for a python API (function parameters) and also make use of argparse. Splitting the parser creation and the argument augmentation into different functions will enable users to add these arguments to their own parser. The PR otherwise aims to leave the original code as untouched as possible.

    closes #1 and closes #2

    opened by SlowMo24 1
  • Seperate CLI from python-api

    Seperate CLI from python-api

    To make the tool more easily usable in another python module/package the CLI could be separated from the rest of the code by creating a python-usable function that takes bbox, delete?::boolean and authentication as input.

    opened by SlowMo24 0
  • Add filter

    Add filter

    Sometimes only a subset of the large OSM Data is relevant for a tester inside the sandbox. It would be great if one could specify a filter (of tags) that should be transferred to the sandbox. Having other attributes (like e.g. the https://docs.ohsome.org/ohsome-api/v1/filter.html would be great, but I don't think its necessary here).

    opened by SlowMo24 0
  • Make sandbox a 1:1 copy of current OSM

    Make sandbox a 1:1 copy of current OSM

    This PR

    • makes the recursive overpass query more explicit
    • makes the sandbox an exact copy of the current OSM data by
      • always cleaning the sandbox,
      • allowing empty uploads (meaning that the sandbox stays empty just as the OSM database is at that location),
      • skipping any data filtering.

    Especially the last point may be a question of taste, so feel free to comment or close the PR, I just wanted to share the edits I make in my local version.filter_by_bbox may be better done in overpass by including line 239/240 (as it was before). Yet this will destroy larger objects. delete_missing' may prevent upload errors but should not occur for the recursive query. So this way users will be informed about broken data instead of having it silently removed.delete_unreferenced_nodes` is a cleaning step that is not in line of making the sandbox a 1:1 copy.

    opened by SlowMo24 1
Owner
Ilya Zverev
OpenStreetMap Expert
Ilya Zverev
PyDownloader - Downloads files and folders at high speed (based on your interent speed).

PyDownloader - Downloads files and folders at high speed (based on your interent speed).

Armen._.G 4 Feb 24, 2022
Downloads and Updates GOG Galaxy 2.0 Plugins/Integrations

GOG Galaxy Plugins Downloader Summary This program downloads GOG Galaxy 2.0 Plugins and installs them to the proper location. You probably do not want

slashbunny 253 Dec 12, 2022
Downloads .ksy files and their dependencies straight from the official kaitai-struct format gallery.

ksy-dl Downloads .ksy files and their dependencies straight from the official kaitai-struct format gallery. This tool will: Fetch any of the official

null 3 Jun 20, 2022
A program which takes an Anime name or URL and downloads the specified range of episodes.

super-anime-downloader A console application written in Python3.x (GUI will be added soon) which takes a Anime Name/URL as input and downloads the ran

Sayyid Ali Sajjad Rizavi 26 Jul 18, 2022
Downloads files and folders

PyDownloader Downloads files and folders at high speed (based on your interent speed). This is very useful to transfer big files from one computer to

ArmenG 4 Feb 24, 2022
Python Program that downloads gaming required packages based on your Linux Distribution.

LibreGaming Python Program that downloads gaming required packages based on your Linux Distribution. Table of contents Distributions Prerequisites Dep

Ahmed Al Balochi 195 Jan 1, 2023
Organize your downloads easily with DownloadOrganizer

DownloadOrganizer Organize your downloads organize your downloads easily with DownloadOrganizer Instilation how to install DownloadOrganizer Method 1:

null 1 Dec 2, 2021
A script that downloads YouTube videos/audio

YouTube-Downloader A script that downloads YouTube videos/audio from youtube. Usage Download the script by executing the following in your terminal :

Debayan Sarkar 2 Jan 4, 2022
Downloads photos you saved from a specific profile.

instagram-download-saved A python script that downloads photos you saved from a specific profile. The only dependency is instaloader, an open-source p

Aviv 1 Dec 19, 2021
Python script to automate youtube-dl downloads

Automated Download Tool !! Project status I am writing a new version of this program, which will solve several errors. The new version only supports G

Devil64-Dev 21 Sep 22, 2022