x32net / gis_spike

Spiking out PostGIS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PostGIS Spike

  • Create database named cabspike in Postgres.
  • Enable PostGIS by running the command
CREATE EXTENSION postgis;
  • Create a table named drivers and insert a few records. See this for details.
  • Start pgbouncer.
cd pgbouncer
pgbouncer -d pgbouncer.ini
cd ..
  • Run the code.
go run src/read_write.go

About

Spiking out PostGIS


Languages

Language:Go 73.6%Language:Python 26.4%