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
- Host: GitHub
- URL: https://github.com/tyrasd/geojsontoosm
- Owner: tyrasd
- License: mit
- Created: 2015-06-28T16:13:43.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T10:59:21.000Z (about 2 years ago)
- Last Synced: 2025-04-13T18:17:22.461Z (about 1 year ago)
- Topics: geojson, openstreetmap-data
- Language: JavaScript
- Size: 4.88 KB
- Stars: 24
- Watchers: 2
- Forks: 14
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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);