Smathermather's Weblog

Remote Sensing, GIS, Ecology, and Oddball Techniques

The easiest way to get PostGIS and friends running:

Posted by smathermather on May 21, 2014

Docker.  See: https://github.com/vpicavet/docker-pggis for a quick and easy Docker running PostGIS. Understand, this isn’t production ready (the connection permissions make my teeth hurt a little) but, so nice to have a one stop shop for postgis, pgrouting, and pointcloud. Now I may have to write blog posts on pointcloud. Point cloud didn’t get in the PostGIS Cookbook because it was too hard to build. I built it. I played with its wonders. Then I decided it was too much too early. Well, not any more… .

CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;
CREATE EXTENSION pgrouting;
CREATE EXTENSION pointcloud;
CREATE EXTENSION pointcloud_postgis;

Screen shot of pgAdmin with CREATE EXTENSIONS for all the fun postgresql extensions... .

Oh, one more thing: pro-tip. You can modify the Docker file into a shell script for installing all this goodness on your local Ubuntu/Debian machine as well:
https://github.com/vpicavet/docker-pggis/blob/master/Dockerfile

7 Responses to “The easiest way to get PostGIS and friends running:”

  1. vincent said

    Hello,
    More info here : http://www.oslandia.com/full-spatial-database-power-in-2-lines-en.html
    Vincent

  2. I may be biased but I still think Openshift is easier and it is production ready 😉

  3. Here is some doc on stock postgresql 9.2 http://openshift.github.io/documentation/oo_cartridge_guide.html#postgresql
    You can fork that cart repo to add the binaries and stuff
    And here is how to write a cart:
    http://openshift.github.io/documentation/oo_cartridge_developers_guide.html

  4. Chris said

    Do you still use this in your dev environment?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: