Various CLI tools for doing stuff with PostGIS
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
_int-8.4.sql
createdb-8.3.sh
createdb-8.4.sh
lwpostgis-8.3.sql
postgis-8.4.sql
postgis_comments.sql
spatial_ref_900913-8.3.sql
spatial_ref_sys-8.3.sql
spatial_ref_sys-8.4.sql

README.md

Setting up PostGIS always makes me want to hurt someone.

Trying to remember how to do anything like an if/else statement in shell makes me want to hurt myself.

These are quick and dirty scripts I've made for myself because life is too short to always be angry. One day I might merge them but for now things are chunked out by Postgres versions, specifically 8.3 and 8.4.

Patches, cluebats, etc. are encouraged and welcomed. We all have better things to do be doing than this...

Schuyler says:

Do it once, then `createdb -Ttemplate_postgis my_postgis_db`