Skip to content
Branch: master
Clone or download
Pull request Compare This branch is 9 commits ahead, 10 commits behind cyberdelia:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
support
.gitignore
README.md

README.md

Heroku buildpack: geo

This is a Heroku buildpack that vendors main geo/gis libraries like geos, proj and gdal.

It is meant to be used in conjunction with other buildpacks as part of a multi-buildpack.

Usage

Example usage:

$ heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git

$ cat .buildpacks
https://github.com/cyberdelia/heroku-geo-buildpack.git#1.3
https://github.com/heroku/heroku-buildpack-ruby.git#v129

Don't forget to pin buildpack versions you want to use in your .buildpacks file.

Testing

For Geo Django:

>>> from django.contrib.gis import gdal
>>> gdal.HAS_GDAL
True

For rgeo:

>>> require 'rgeo'
>>> RGeo::CoordSys::Proj4.supported?
=> true
>>> RGeo::Geos.supported?
=> true
You can’t perform that action at this time.