Shell
Switch branches/tags
Latest commit a6f8e24 Mar 4, 2017 @cyberdelia cyberdelia Upload binaries
Permalink
Failed to load latest commit information.
bin Fix rgeo build commands (#34) Mar 4, 2017
support Upload binaries Mar 5, 2017
.gitignore add support scripts Jun 21, 2013
README.md Update multi buildpack instractions Jul 15, 2016

README.md

Heroku buildpack: geo

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

You will use this buildpack with other major buildpack such as Ruby buildpack.

Usage

Example usage:

$ heroku buildpacks:set https://github.com/cyberdelia/heroku-geo-buildpack.git
$ heroku buildpacks:add heroku/ruby

Run heroku buildpacks to make sure that heroku-geo-buildpack is added before the language buildpacks.

$ heroku buildpacks
=== sushi Buildpack URLs
1. https://github.com/cyberdelia/heroku-geo-buildpack.git
2. heroku/ruby

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