Skip to content

A series of Python functions to assist parsing OverpassResult objects returned when using OSM-Python-Tools

Notifications You must be signed in to change notification settings

EsbernJakobsen/OSM-to-Geometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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.

About

A series of Python functions to assist parsing OverpassResult objects returned when using OSM-Python-Tools

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages