[gdal-dev] Java bindings to gdal/ogr - looking for more developer documentation

Tom Moore tmoore at spatial.ca
Thu May 29 09:27:51 PDT 2025


Hi

I am new to using gdal/ogr in Java via the swig bindings and I am trying to figure things out by googling around.  I have looked at the API documentation, tutorials and sample programs, but I still have a few questions.

In particular I would like to know more about object life cycles and memory management:  
What kind of object management is the client program responsible for?  
Do I need to close objects manually or will the garbage collector take care of this for me?
If I open an OGR Dataset twice will I get two separate instances, or will the reference be shared?

Is this mailing list the place where I should be asking these questions, or it there a better place for it?

Thanks,
Tom
--
Tom Moore
Spatial Planning Systems
960 Burkes Bluff Lane
Deep River ON  K0J 1P0
Canada

Phone: +1 613 584 9354
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250529/55e929ce/attachment.htm>


More information about the gdal-dev mailing list