From Heroku Dev Center - Extensions, PostGIS... (accessed on 3/23/2016):
Currently, PostGIS can only be used on Production tier Heroku Postgres plans and on hobby plans.
If you'd like to learn more, below we explain what we did differently in the heroku branch to deploy koop with an IN_MEMORY cache so that we can utilize a free plan.
A PostGIS store is recommended in production, but an IN_MEMORY store can be configured by following the steps below:
- Remove mention of a PostGIS database instance from
config/default.json
// get rid of this part
"db": {
"conn": "postgres://localhost/koopdev"
}
- Comment out the code which registers the PostGIS cache with koop in
index.js
// comment out this stuff
var pgCache = require('koop-pgcache')
// and a little further down...
koop.registerCache(pgCache)
That's it!