Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

check-for-nameless

1.1.1 • Public • Published

check-for-nameless

Node module that works with the OpenStreetMap Overpass API

Send in a bounding box and receive an OSM XML response of nodes missing names in the target language.

Code example

const checkForNameless = require('check-for-nameless');
 
var options = {
  south: 41,
  west: -72,
  north: 42,
  east: -71,
  targetLang: 'en', // optional
  overpass: 'http://overpass-api.de/api/interpreter?data=' // optional
};
 
checkForNameless(options, (err, response) => {
  if (err) { throw err; }
  console.log(response); // XML string
});

License

Open source, MIT license

Install

npm i check-for-nameless

DownloadsWeekly Downloads

6

Version

1.1.1

License

MIT

Last publish

Collaborators

  • avatar