Open Marchowes opened 5 years ago
For dealing with bindings: https://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix
https://github.com/azavea/docker-openjdk-gdal docker with gdal (this is not necessarily a desirable solution)
mvn install:install-file -Dfile=/home/mhowes/Downloads/gdal-2.4.0.jar -DgroupId=org.gdal -DartifactId=gdal -Dversion=2.4.0 -Dpackaging=jar -DgeneratePom=true
loading jars in case we need to package the gdal jar: https://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-to-a-maven-project
Current problem, I need to compile gdal with the libraries on my computer to get them to work -- which turns out is harder than expected.
https://gis.stackexchange.com/questions/35583/reading-data-from-raster-band-with-java-and-gdal