[Gdal-dev] Java bindings and wkb support, a patch for gdal
szekerest at gmail.com
Wed Feb 14 16:59:53 EST 2007
Though I'm not the dedicated java maintainer I volunteer to commit
such changes if Benjamin will not be around.
2007/2/14, Andrea Aime <aaime at openplans.org>:
> Hi all,
> as some of you may know, I had some issues with the java bindings
> with wkb export (memory management issues breaking the jvm).
> I have prepared a patch that makes wkb export work and attached it
> to this mail. I sent the same mail to Benjamin Collins a few days
> ago, but got no answer so far, so I'm addressing this to the
> mailing list as well. Who's mantaining the java bindings, btw?
> In the patch I make java allocate the byte buffer (in the same spirit as
> the C++ API) and added a typemap, taking inspiration from the C#
> mappings that already worked around the wkb memory management issues.
> Works nice, and the speedup compared to WKT is significant, 4 times on
> my full shapefile load test (compared to reading geometries with WKT,
> that did not tear down the jvm).
> If the patch has issues, let me know, I'll try to work them out.
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
More information about the Gdal-dev