@informath/nominatim

7.5.5-beta.0 • Public • Published

Nominatim

DISCLAIMER

This is a fully rewritten version, do not expect to be using that one just by replacing the original library with this one

===

nominatim is a basic node module to handle geocoding and reverse geocoding via OpenStreetMap (OSM). It attempts to adhere to the Nominatim usage policy.

Example

const Nominatim = require('@informath/nominatim');

const NominatimClient = new Nominatim('Nelson\'s Obvious tracking (NO tracking) <nelson.bighetti@hooli.xyz>');

NominatimClient.search('5230, Newell Road, Palo Alto')
  .then((v) => {
    console.log(v);
  });

Installation

$ npm install @informath/nominatim

How to use?

await NominatimClient[operationToPerform](options, overwriteOptions)

options will be merged with Nominatim.default unless overwriteOptions is truthy

What are the possible endpoints?

Any!

It will make a request at https://nominatim.openstreetmap.org/[[Your operation here!]]

Learn more about proxy magic here! (Literally a google search I just made)

Readme

Keywords

none

Package Sidebar

Install

npm i @informath/nominatim

Weekly Downloads

1

Version

7.5.5-beta.0

License

none

Unpacked Size

4.1 kB

Total Files

6

Last publish

Collaborators

  • informathemusic