Changes between Version 21 and Version 22 of GdalOgrInJava


Ignore:
Timestamp:
Apr 7, 2021, 1:26:17 AM (8 months ago)
Author:
Even Rouault
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GdalOgrInJava

    v21 v22  
    22= GDAL/OGR In Java =
    33
    4 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.
    5 
    6 Generally speaking the classes and methods mostly match those of the GDAL and OGR C++ classes. You can find the [http://gdal.org/java Javadoc] of the API of the Java bindings for GDAL 1.7.0 and later releases.
    7 
    8 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.
    9 
    10 The minimum version of Java required to build the Java bindings is Java 1.4.
    11 
    12 = Maven Users =
    13 
    14 As of release 1.11.2 the Java bindings are available from the [http://search.maven.org Maven Central] repository. All that is needed is to declare a dependency.
    15 
    16 {{{
    17 <dependency>
    18    <groupId>org.gdal</groupId>
    19    <artifactId>gdal</artifactId>
    20    <version>1.11.2</version>
    21 </dependency>
    22 }}}
    23 
    24 
    25 = Useful Links =
    26 
    27  * [http://gdal.org/java Javadoc] of the API of the Java bindings for GDAL 1.7.0 and later releases.
    28 
    29  * [http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/gdalinfo.java gdalinfo.java] Sample Java program similar to gdalinfo utility (use API from Java bindings of GDAL 1.7.0dev)
    30 
    31  * [http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/ All Java sample programs]
    32 
    33  * [http://www.gisinternals.com/sdk Tamas Szekeres' Windows daily builds] : Tamas Szekeres maintains a complete set of Win32 and Win64 binary packages (compiled with VC2003/VC2005/VC2008/VC2010) that include the GDAL Java bindings. These packages are based on the current development and stable branches built from the GDAL SVN daily. The -devel packages are based on the developement version (1.9.0dev at time of writing), and the -stable packages are based on the latest stable branch (1.8 at time of writing)
    34 
    35  * [https://imageio-ext.dev.java.net 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: this framework doesn't necessarily ship the latest released GDAL version)
    36 
    37  * [wiki:GdalOgrInJavaBuildInstructions]: Complete instructions for building GDAL's Java bindings from scratch on '''Windows'''.
    38 
    39  * [wiki:GdalOgrInJavaBuildInstructionsUnix]: Build instructions for java on Unix/Linux/MinGW.
    40 
    41  
     4Content migrated to https://gdal.org/api/java.html