|Version 19 (modified by rouault, 3 years ago)|
GDAL/OGR In Java
The GDAL project has SWIG generated Java bindings for GDAL and OGR. The Java bindings have been substantially reworked for 1.7.0 release. For the 1.5.0 and 1.6.0 releases, they are considered to be broken.
Generally speaking the classes and methods mostly match those of the GDAL and OGR C++ classes. You can find the Javadoc of the API of the Java bindings for GDAL 1.7.0 and later releases.
Due to the fact the Java garbage collector works in a separate thread from the main thread, it is necessary to configure GDAL with multi-threading support, even if you do not use GDAL API from several Java threads.
The minimum version of Java required to build the Java bindings is Java 1.4.
- Javadoc of the API of the Java bindings for GDAL 1.7.0 and later releases.
- gdalinfo.java Sample Java program similar to gdalinfo utility (use API from Java bindings of GDAL 1.7.0dev)
- Image I/O-Ext: The main core module of the project is gdalframework, a framework leveraging on GDAL via SWIG's generated JAVA bindings to provide support for a reach set of data formats.
- GdalOgrInJavaBuildInstructions: Complete instructions for building GDAL's Java bindings from scratch on Windows.