Skip to content

A python wrapper for Overpass API. search the bus stop (or other points of interest) in a city and download in json format.

License

Notifications You must be signed in to change notification settings

MagicBusApp/magicsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagicSearch


logo


A simple wrapper for Overpass API download and others utils function.

This library is useful to download bus stop from OSM. Is the Python version about MagicWrap, actually is work in progress.

The main objective is to simplify the use of Overpass API to download points of interest.

The package contains other utils function like functions to switch from lat/lon to tile coordinates.


Milano


Install

  1. Download .zip
  2. From terminal or Anaconda prompt go into the folder where is your file
  3. Write
pip install magicsearch-master.zip

Example

import magicsearch as ms
ms.__version__

Download the bus stops in Milan

from magicsearch.magicwrap import poiWrapper
milan = poiWrapper(city="Milano")
my_bus_stops = milan.download()

Citation

If you use my code in your research, mention this project.

@misc{MagicSearch,
  author =       {Nicola Procopio},
  title =        {magicsearch},
  howpublished = {\url{https://github.com/MagicBusApp/magicsearch/}},
  year =         {2020}
}

Licenza Creative Commons
Quest'opera è distribuita con Licenza Creative Commons Attribution-ShareAlike 2.0 General.

About

A python wrapper for Overpass API. search the bus stop (or other points of interest) in a city and download in json format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages