JSPM

check-for-nameless

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q44199F
  • License MIT

Check for nameless places in OpenStreetMap, using the Overpass API

Package Exports

  • check-for-nameless

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (check-for-nameless) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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