Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 1.61 KB

README.md

File metadata and controls

57 lines (41 loc) · 1.61 KB

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.