Skip to content

lborie/go-gis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-gis

Sample with Google Maps / Golang / Postgis

Data

The Shape data come from data.gouv.fr Same for the SNCF Data

Init project

Create the database

You need docker : make launch-db

Import datasets

make import-departements
make import-regions
make import-sncf

Launch project

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

About

Sample with Google Maps / Golang / Postgis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors