Skip to content

mattgd/heroku-geo-buildpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Heroku buildpack: geo

This is a Heroku buildpack that includes Geo/GIS libraries including GEOS, PROJ and GDAL.

This buildpack is intended to be used with other major buildpacks such as the Python buildpack.

Usage

Example usage:

$ heroku buildpacks:set https://github.com/mattgd/heroku-geo-buildpack.git
$ heroku buildpacks:add heroku/python

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/mattgd/heroku-geo-buildpack.git
2. heroku/python

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

Packages

No packages published

Languages

  • Shell 96.1%
  • Dockerfile 3.9%