Converts between OSM XML and GeoJSON
WTFPL License
<script src='osm_geojson.js'></script>
npm install osm-and-geojson
####osm_geojson.osm2geojson(osmXmlStringOrDOM)
true
, osm_geojson.osm2geojson(yourOsm, true)
to include metadata about the item in the properties, namespaced osm_*
.####osm_geojson.geojson2osm(GeoJSONObject)
OSM & GeoJSON was written in the Orange Public Library. Always upstairs, the window seats are awesome but really tough to get. More often than not I'd get stuck with one of the middle tables where foot traffic was a bit much and outlets are hard to come by.