oa2osm
v2.0.0
Published
Converts OpenAddresses result GeoJSON to OpenStreetMap XML
Downloads
11
Readme
oa2osm
Converts OpenAddresses result GeoJSON to OpenStreetMap XML.
How to use
Download a result GeoJSON file from https://batch.openaddresses.io/data
Locally
git clone https://github.com/openaddresses/oa2osm.git
cd oa2osm
npm install
./oa2osm.js input.geojson output.osm
Globally
npm install --global oa2osm
oa2osm input.geojson output.osm
Usage
Usage: oa2osm [options] [input.geojson] [output.osm]
Options:
--title-case Comma separated list of source
fields to convert to title case.
--map-source_field=target_tag Define a source field to target tag.
Example:
oa2osm --title-case 'STREET,CITY' --map-city='addr:suburb'