wiki:GdalOgrInJava

Version 11 (modified by Even Rouault, 15 years ago) ( diff )

--

GDAL/OGR In Java

The GDAL project has SWIG generated Java bindings for GDAL and OGR. Generally speaking the classes and methods mostly match those of the GDAL and OGR C++ classes, but there is currently no Java specific documentation beyond this wiki topic.

Work has been done so that these bindings are in shape for 1.7.0 release. For the 1.5.0 and 1.6.0 release, they are considered to be broken.

Due to the fact the Java garbage collector may work in a separate thread from the main thread, it is strongly advised to configure GDAL with multi-threading support, even if you do not use GDAL API from several Java threads.

Useful Links

  • 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.

Note: See TracWiki for help on using the wiki.