Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have used the ogr2ogr to import various formats to Postgres 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 upto date.

Thanks, Ramesh

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
    
This seems to be a wrapper to C++. Is there an all Java implementation of GDAL and OGR? –  Ramesh Elaiyavalli Oct 1 '12 at 17:39
    
That's what SWIG generated bindings mean. As far as I know, there isn't one. –  R.K. Oct 2 '12 at 3:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.