Closed jimmy-feng closed 2 years ago
@jimmy-feng Hi! The buildpack sets the environment variable GDAL_DATA
for you, so there should not be a need to set it manually, unless something is going wrong (in which case we can see about fixing it in the buildpack).
Could you provide the steps to reproduce this issue?
I don't personally use any of the libraries provided by this buildpack, so trying to test anything is hard.
Ok, so it seems gcs.csv
and others were removed in GDAL 3.0.0:
https://github.com/OSGeo/gdal/blob/v3.5.0/NEWS.md#removed-installed-files-1
See also: https://github.com/OSGeo/gdal/issues/2500
As such it sounds whatever other libraries/... you are using need GDAL < v3 - so either upgrade those libraries to be compatible with GDAL 3+ or else downgrade GDAL installed by this buildpack following these steps: https://github.com/heroku/heroku-geo-buildpack#default-versions
@edmorley Thank ya so much! I set the GDAL_VERSION to 2.4.2 in my config variables and that solved the issue. I'm not sure why that works since it seems the only packages requiring GDAL need a version >3 (Python: geopandas & movingpandas.)
@jimmy-feng Strange! Well, glad you got it working anyway :-)
Hi all,
I was wondering if anyone could lend any insight and/or provide any help with an issue I'm facing, which was previously asked two years ago (https://github.com/heroku/heroku-geo-buildpack/issues/5) but I can't quite follow the follow-up responses:
I thought adding a Config Var: GDAL_DATA = /app/.heroku-geo-buildpack/vendor/share/gdal would solve the issue but it didn't. I retrieved this filepath from line 91 in the following doc: https://github.com/heroku/heroku-geo-buildpack/blob/master/bin/compile
I'm new to heroku so any help would be greatly appreciated! Thank you.