This is a Heroku buildpack that vendors main geo/gis libraries like geos, proj and gdal.
We forked this from cyberdelia/heroku-geo-buildpack since it's associated S3 bucket didn't have support for the
heroku-18 stack yet, and we'd like to use github's releases to make the libs available instead of an AWS S3 bucket.
⚠️ Make sure your heroku stack matches the releases' binaries (
$ heroku buildpacks:set https://github.com/CheesecakeLabs/heroku-geo-buildpack.git $ heroku buildpacks:add heroku/python
heroku buildpacks to make sure that
heroku-geo-buildpack is added before
the language buildpacks.
$ heroku buildpacks === sushi Buildpack URLs 1. https://github.com/CheesecakeLabs/heroku-geo-buildpack.git 2. heroku/python
proj are build on the appropriate heroku stack
image using Docker & attached to a release.
To update or rebuild these:
cd support && docker-compose run geo-builder
/tmp/folder for any
.tgzfiles. Those files must be uploaded with a
manifest.<lib>indicating the correct lib version to your release.
On Django Shell:
>>> from django.contrib.gis import gdal >>> gdal.GDAL_VERSION (2, 2, 0)
Copy the snippet above into CLI.