tyrasd / osmtogeojson

convert osm to geojson
http://tyrasd.github.io/osmtogeojson/
MIT License
683 stars 112 forks source link

Overpass API derived objects #97

Closed tyrasd closed 6 years ago

tyrasd commented 6 years ago

This is the proposal by @drolbr to support "derived objects" geometries (introduced in Overpass API v0.7.55). see #94 //cc @mmd-osm

tyrasd commented 6 years ago

Sadly, I will not merge this, mainly because of the reasons outlined in https://github.com/tyrasd/osmtogeojson/issues/94#issuecomment-374166954: The "derived objects" are just too different from the original OSM format, which is what this repository is built for and around.

While it was reasonable to extend the functionality of osmtogeojson to parse the JSON variant of OSM-XML as well as Overpass' full geometry formats (both very "self-evident" extensions of the original osm format), I consider the derived objects to be outside of the scope of this repository. This is necessary in order to limit the complexity of the code and also to avoid ambiguous cases (think: a derived object with "name" way).