Friday, 13 March 2015

ogr - How current is GDAL in Java


I have used ogr2ogr to import various formats to PostgreSQL and have used GDAL utilities. Is there a complete Java port for these tools or are they simply wrappers calling JNI to C++ code?



I have seen some Java stuff by Googling but not sure how much are they current and kept up to date.



Answer



According to the GDAL site, the project has SWIG generated Java bindings for GDAL and OGR. They have instructions for building build the Java bindings from scratch in Windows and Unix. The site also has a Javadoc for the API which applies to GDAL version 1.7.0 and higher.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...