tyrasd / osmtogeojson

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

Shouldn't relations in OSM be mapped to MultilineStrings in geojson instead of separate LineStrings? #53

Closed HarelM closed 8 years ago

HarelM commented 8 years ago

I'm trying to covert a response from overpass to geojson and I want to know the bounding box of a relation. In current conversion I need to iterate on all features and group them by relation before I can do it... :-/

HarelM commented 8 years ago

Probably a duplicate of #1...

tyrasd commented 8 years ago

yeah, let's track this in #1.

tyrasd commented 8 years ago

PS: If you're only interested in an object's bounding box, you should probably use the out bb; output mode of overpass (which even works for arbitrary relations), e.g. http://overpass-turbo.eu/s/f8X