osmify
v0.1.0
Published
OpenStreetMap street address parser
Downloads
5
Readme
OSMify
OpenStreetMap street address parser
OSMify
helps convert street address strings into a standard OSMaddr:*
format.
Install
npm
$ npm install --save osmify
web browser
<script src="https://unpkg.com/osmify/osmify.min.js"></script>
Usage
osmify('90 SPARKS ST')
/*
{
'addr:housenumber': '90',
'addr:street': 'Sparks Street'
}
*/
API
References
- https://github.com/slevithan/xregexp
- https://github.com/hassansin/parse-address
- https://github.com/DamonOehlman/addressit
- https://github.com/tjmehta/street-types
- Ottawa building permits