Created
March 20, 2018 15:43
-
-
Save pmauduit/7c7693bdd7f811f5281fbcee3f3345f3 to your computer and use it in GitHub Desktop.
Activate gdal/ogr on mfapp jetty:run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mapfishapp/pom.xml b/mapfishapp/pom.xml | |
index 7b16328..565b4d1 100644 | |
--- a/mapfishapp/pom.xml | |
+++ b/mapfishapp/pom.xml | |
@@ -14,6 +14,7 @@ | |
<maven.test.skip>false</maven.test.skip> | |
<spring.version>3.1.0.RELEASE</spring.version> | |
<gt.version>19.0</gt.version> | |
+ <gdalogr.path>/usr/share/java/gdal.jar</gdalogr.path> | |
</properties> | |
<dependencies> | |
<dependency> | |
@@ -160,6 +161,13 @@ | |
<version>${project.version}</version> | |
</dependency> | |
<dependency> | |
+ <groupId>org.gdal</groupId> | |
+ <artifactId>gdal-ogr</artifactId> | |
+ <version>1.0</version> | |
+ <systemPath>${gdalogr.path}</systemPath> | |
+ <scope>system</scope> | |
+ </dependency> | |
+ <dependency> | |
<groupId>org.geotools</groupId> | |
<artifactId>gt-imageio-ext-gdal</artifactId> | |
<version>${gt.version}</version> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment