Skip to content

james-tisato/oa2osm

 
 

Repository files navigation

oa2osm

Converts OpenAddresses result CSVs to OpenStreetMap XML.

How to use

Download a result CSV from http://results.openaddresses.io/

Locally

git clone https://github.com/openaddresses/oa2osm.git
cd oa2osm
npm install
./oa2osm.js input.csv output.osm

Globally

npm install --global oa2osm
oa2osm input.csv output.osm

Usage

Usage: oa2osm [options] [input.csv] [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'

About

OpenAddresses to OpenStreetMap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.8%
  • Shell 5.2%