So the solution for using gdal bindings in java was to install the proper
version which came with all the dll's and simply using the jar from the
maven repo.
I installed core gdal installer in windows, and set my environment
variables, and gdal jar started to work correctly in my maven project.
Hi Justin,
Coding in java Windows7/Eclipse/spring/maven.
*As told before, added dependency to pom, and see the gdal-2.0.0.jar in
maven dependencies and able to import to my java class.*
org.gdal
gdal
2.0.0
I downloaded the libraries from here:
Thanks. Will be looking into that soon. Will report back here if it works.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Native-library-load-failed-while-using-gdal-maven-dependency-UnsatisfiedLinkError-tp5249728p5249772.html
Sent from the GDAL - Dev mailing list archive
Hey guys,
First time GDAL user here.
We are trying to load shapefiles into postgresql DB, and were able to do so
with GDAL ogr2ogr CLI utility.
Following cmd works via cmd:
ogr2ogr -f PostgreSQL PG:"host='hostName' port='5432' user='userName'
dbname='dbName' password='aPassword'"