osm-build-query
v1.0.1
Published
Build a query for the OSM Overpass API that retrieves all elements within the bounding feature
Downloads
50
Readme
Build a query for the OSM Overpass API that retrieves all elements within the bounding feature
Installation
$ npm install osm-build-queryFunction
OSMBuildQuery(key, bounds)key: string, Tag name
bounds: object, GeoJSON bounding feature
Returns
object, with data property that contains the query string
Running Tests
Install the development dependencies:
$ npm installThen run the tests:
$ npm testCode Coverage
Install the development dependencies:
$ npm installThen run coverage
$ npm run coverageView coverage reports
$ firefox coverage/lcov-report/index.htmlBrowser Bundle
$ npm run build
