I want to read MapInfo files using Java.
Before I used geotools for this but now I have problems with the GDAL library in Win7x64. Can i find geotools or gdal only for Java? To it not usede gdal's dlls only Java classes.
I found the MITAB library but its only for C++.
Does anyone know something that can help me?
UPADTE
Another question: i read geotools quickstart and dont se any words about Gdal. But when i try use geotools i get error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/gdal/ogr/ogr
at org.geotools.data.ogr.OGRDataStore.<clinit>(OGRDataStore.java:169)
When i add gdal.jre
in build path all works fine.
Whats wrong?
Best Answer
I think you could use the experimental OGR plugin to do this in GeoTools.
Try adding
to your pom.xml - I've not tried but I expect it will pull down all the stuff you need.