Sample with Google Maps / Golang / Postgis
The Shape data come from data.gouv.fr Same for the SNCF Data
You need docker :
make launch-db
make import-departements
make import-regions
make import-sncf
Environment Variables :
- DB_CONNECTION_URI (should be
DB_CONNECTION_URI=postgresql://karnott:12345678@localhost:5432/karnott) - GOOGLE_MAPS_KEY
- APPSETTING_PORT (optional, 80 by default)
Then :
go mod vendor
go run main.go