Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinmichaelchen/api-geo
πΊοΈ Geo Server (geocoding, reverse geocoding, distance/duration estimates)
https://github.com/kevinmichaelchen/api-geo
Last synced: about 2 months ago
JSON representation
πΊοΈ Geo Server (geocoding, reverse geocoding, distance/duration estimates)
- Host: GitHub
- URL: https://github.com/kevinmichaelchen/api-geo
- Owner: kevinmichaelchen
- Created: 2022-04-29T19:29:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-29T20:32:01.000Z (over 2 years ago)
- Last Synced: 2024-06-19T14:46:13.790Z (7 months ago)
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# api-geo
Proof of concept geo-server using the Google Maps API.
This could be useful for Fulfillment, where we sort/rank the drivers who are
best able to fulfill a trip, accounting for their proximity to the trip's pickup
location.You'll need an `API_KEY` env var which you can generate
[here](https://console.cloud.google.com/google/maps-apis/credentials).
Also make sure you have [enabled](https://console.cloud.google.com/google/maps-apis/api-list)
the APIs linked below.Capabilities:
1. [Reverse geocoding](https://developers.google.com/maps/documentation/geocoding/overview): converting geographic coordinates into a Place.
2. [Distance/duration calculation](https://developers.google.com/maps/documentation/distance-matrix/distance-matrix)# Generate protos
We generate protos with [buf](https://docs.buf.build/installation)
```
buf generate idl
```There is a [maintained repo](https://github.com/googleapis/googleapis) of
protobufs for Google APIs, but it doesn't contain anything for Google Maps.