Skip to content

Commit 0bcbd89

Browse files
committed
Allow GDAL/GEOS library path overrides - see HEA-760
1 parent 584aca0 commit 0bcbd89

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

hea/settings/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,3 +318,7 @@
318318

319319
PRIVACY_URL = "https://help.fews.net/fdp/privacy-policy"
320320
DISCLAIMER_URL = "https://help.fews.net/fdp/data-and-information-use-and-attribution-policy"
321+
322+
# Allow GDAL/GEOS library path overrides to be set in the environment, for MacOS.
323+
GDAL_LIBRARY_PATH = env("GDAL_LIBRARY_PATH", default=None) # For example, /opt/homebrew/lib/libgdal.dylib
324+
GEOS_LIBRARY_PATH = env("GEOS_LIBRARY_PATH", default=None) # For example, /opt/homebrew/lib/libgeos_c.dylib

0 commit comments

Comments
 (0)