geojson2osm
Convert gejson files to osm file.
Usage
npm install geojson2osm
Example:
geojson2osm file.geojson > file.osm
or
var geojson2osm = ;var geo = "type": "FeatureCollection" "features": "type": "Feature" "properties": "building:colour": #9F8169 "building:levels":21 "building":yes "height":57 "geometry": "type": "Polygon" "coordinates": -4342249470949173 -1315996269397843 -4342249470949173 -13159751140560356 -4342242631316185 -13159751140560356 -4342242631316185 -1315996269397843 -4342249470949173 -1315996269397843 geojson2osm;
TypeScript
TypeScript implementation was added to the DefinitelyTyped repository.
$ npm install --save @types/geojson2osm
Testing
npm test