Sign inSign up

mesripour/local-reverse-geocoder

By mesripour

•Updated almost 8 years ago

Local reverse geocoder for Node.js based on GeoNames data

Image
2

3.5K

mesripour/local-reverse-geocoder repository overview

⁠Local Reverse Geocoder

This library provides a local reverse geocoder for Node.js that is based on GeoNames data. It is local in the sense that there are no calls to a remote service like the Google Maps API, and in consequence the gecoder is suitable for batch reverse geocoding. It is reverse in the sense that you give it a (list of) point(s), i.e., a latitude/longitude pair, and it returns the closest city to that point.

⁠Usage

$ docker build -t local-reverse-geocoder .
$ docker run -it -e PORT=3000 --rm local-reverse-geocoder

⁠Usage of the Web Service

$ curl "http://localhost:3000/geocode?latitude=48.466667&longitude=9.133333&latitude=42.083333&longitude=3.1&maxResults=2"

Tag summary

Content type

Image

Digest

Size

520.9 MB

Last updated

almost 8 years ago

docker pull mesripour/local-reverse-geocoder