Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 740 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 740 Bytes

OverpassResult Object Parser and Previewer (for OSM-Python-Tools)

This is to be used in conjunction with the OSM-Python-Tools Overpass API query function.

What it does

The first function parses the OverpassResult object into a geometry-initialised GeoDataframe, and converts the 'ways' coordinates to shapely objects. It returns a GeoDataframe, and a dictionary with the OSM 'tags'.

The second function plots a quick map of the locations of all the OSM features returned by the query.

Prerequisites

  • Python 3.6>
  • Pandas, Geopandas, Shapely
  • Contextily

To-do

  • Add support for OSM nodes and relations

Licensing

This software is under the MIT license.