-
as a command line tool:
$ npm install -g geojsontoosm $ geojsontoosm file.geojson > file.osm
-
as a nodejs library:
$ npm install geojsontoosm var geojsontoosm = require('geojsontoosm'); geojsontoosm(geojson_data);
Convert GeoJSON to OSM XML
as a command line tool:
$ npm install -g geojsontoosm
$ geojsontoosm file.geojson > file.osm
as a nodejs library:
$ npm install geojsontoosm
var geojsontoosm = require('geojsontoosm');
geojsontoosm(geojson_data);
Convert GeoJSON to OSM XML
MIT License