Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harboe/gogeo
CLI and http server, for reversed geocoding, address lookup, and image rendering. for varies providers, in a common format.
https://github.com/harboe/gogeo
Last synced: 18 days ago
JSON representation
CLI and http server, for reversed geocoding, address lookup, and image rendering. for varies providers, in a common format.
- Host: GitHub
- URL: https://github.com/harboe/gogeo
- Owner: harboe
- Created: 2015-03-09T09:42:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-25T08:53:56.000Z (over 8 years ago)
- Last Synced: 2024-08-01T00:43:21.516Z (3 months ago)
- Language: Go
- Homepage:
- Size: 378 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GOGEO:
CLI and http server, for reversed geocoding, address lookup, and image rendering. for varies providers, in a common format.
![Alt text](gogeo.png?raw=true "Gogeo")
## gogeo http
command flags
* port - server address for the http server to listen on.
* bing-key - if specifed request using bing doesn't need to provider a key, otherwise it will default to env: GOGEO_BING
* google-key - if specifed request using google doesn't need to provider a key, otherwise it will default to env: GOGEO_GOOGLE
* mapquest-key - if specifed request using maprequest doesn't need to provider a key, otherwise it will default to env: GOGEO_MAPQUEST---
GET /{goggle,bing or mapquest}/{json,yml or xml}
parameters:
* addr - The street address that you want to geocode.
* loc - format: {latitude,longitude} location to lookup
* key - (optional) api key can be set though the command line---
note: ecurrently google is the only implemented provider with images. working on the rest.GET /google/png
parameters:
* addr - The street address that you want to geocode.
* size (optional) image size: can be specified as {width}x{height} or {size}
* zoom (optional)
* scale (optional)
* key - (optional) api key