An open API service indexing awesome lists of open source software.

https://github.com/tyrasd/geojsontoosm

Convert GeoJSON to OSM XML
https://github.com/tyrasd/geojsontoosm

geojson openstreetmap-data

Last synced: about 1 year ago
JSON representation

Convert GeoJSON to OSM XML

Awesome Lists containing this project

README

          

geojsontoosm
============

Converts [GeoJSON](http://www.geojson.org/) to [OSM](http://openstreetmap.org) [data](http://wiki.openstreetmap.org/wiki/OSM_XML).

Usage
-----

* 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);