Skip to content

Instantly share code, notes, and snippets.

@yorzi
Created December 20, 2012 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yorzi/4345022 to your computer and use it in GitHub Desktop.
Save yorzi/4345022 to your computer and use it in GitHub Desktop.
enable postgis in postgresql database, use heroku's Postgres.app for instance.

connect to postgres psql -h localhost

create database CREATE DATABASE mydatabase;

switch to your database \connect mydatabase

add postgis extension CREATE EXTENSION postgis;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment