summary refs log tree commit diff
path: root/pkgs/development/libraries/gdal
diff options
context:
space:
mode:
authorMichel Kuhlmann <michel@kuhlmanns.info>2015-02-24 08:24:42 +0100
committerMichel Kuhlmann <michel@kuhlmanns.info>2015-02-24 08:35:34 +0100
commit3e87b82fe2eb1cff82789368952385416b3c83e4 (patch)
tree0e04b5516dea4f2fd8521e0d9f788f79de9709ac /pkgs/development/libraries/gdal
parent0c22975cb2e8a6e1ad694ebc3d855def92042aad (diff)
downloadnixlib-3e87b82fe2eb1cff82789368952385416b3c83e4.tar
nixlib-3e87b82fe2eb1cff82789368952385416b3c83e4.tar.gz
nixlib-3e87b82fe2eb1cff82789368952385416b3c83e4.tar.bz2
nixlib-3e87b82fe2eb1cff82789368952385416b3c83e4.tar.lz
nixlib-3e87b82fe2eb1cff82789368952385416b3c83e4.tar.xz
nixlib-3e87b82fe2eb1cff82789368952385416b3c83e4.tar.zst
nixlib-3e87b82fe2eb1cff82789368952385416b3c83e4.zip
gdal: enabling geos
In order to use ogr2ogr for clipping, this options needs to be
enabled.
Diffstat (limited to 'pkgs/development/libraries/gdal')
-rw-r--r--pkgs/development/libraries/gdal/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gdal/default.nix b/pkgs/development/libraries/gdal/default.nix
index 34b36aacfee3..a59b526fee16 100644
--- a/pkgs/development/libraries/gdal/default.nix
+++ b/pkgs/development/libraries/gdal/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, composableDerivation, unzip, libjpeg, libtiff, zlib
-, postgresql, mysql, libgeotiff, python, pythonPackages, proj}:
+, postgresql, mysql, libgeotiff, python, pythonPackages, proj, geos}:
 
 composableDerivation.composableDerivation {} (fixed: rec {
   version = "1.11.2";
@@ -26,6 +26,7 @@ composableDerivation.composableDerivation {} (fixed: rec {
     "--with-geotiff=${libgeotiff}"
     "--with-python"               # optional
     "--with-static-proj4=${proj}" # optional
+    "--with-geos=${geos}/bin/geos-config"# optional
   ];
 
   meta = {