Marchowes / jProm

Java based surface network analysis
0 stars 0 forks source link

GDAL #4

Open Marchowes opened 5 years ago

Marchowes commented 5 years ago

https://gis.stackexchange.com/questions/35583/reading-data-from-raster-band-with-java-and-gdal

Marchowes commented 5 years ago

For dealing with bindings: https://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix

Marchowes commented 5 years ago

https://github.com/azavea/docker-openjdk-gdal docker with gdal (this is not necessarily a desirable solution)

Marchowes commented 5 years ago

https://stackoverflow.com/questions/33680030/packaging-gdal-with-java

Marchowes commented 5 years ago

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

Marchowes commented 5 years ago

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

Marchowes commented 5 years ago

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://reposcope.com/package/libgdal-java/files