xenobyte / geocode.js

Little webservice which transforms an address into gps coords and the other way around.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geocode.js

Little webservice which transforms an address into gps coords and the other way around.

Setup

  1. Get an google maps api key and edit the service.js file.
  2. Install the dependencies: npm install express and npm install geocoder
  3. Start the service node service.js
  4. Fire requests to http://<your_ip>:8888/geocode?address=<your_address>
  5. Enjoy the result

TODO

Add more services like OSM or bing maps to gain more requests per day.

About

Little webservice which transforms an address into gps coords and the other way around.

License:BSD 2-Clause "Simplified" License


Languages

Language:JavaScript 100.0%