geojsontoosm

Convert GeoJSON to OSM

Usage no npm install needed!

<script type="module">
  import geojsontoosm from 'https://cdn.skypack.dev/geojsontoosm';
</script>

README

geojsontoosm

Converts GeoJSON to OSM data.

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