[gdal-dev] Implementing a streaming version of KML Driver

Yuchen Zhong yuchen at avenza.com
Tue Apr 28 14:03:58 PDT 2015


Hello everybody,

I notice that there are two KML drivers in GDAL, namely KMLDriver and LIBKMLDriver. Both of them will load all the data into memory. 

We would like to write a new KML driver for GDAL, a streaming version, so as to reduce memory consumption. We would still want to use LIBKML, so that we don't have to reinvent the wheels. However, the LIBKML only supports SAX API, and GDAL doesn't seems to works with that very well. I am wondering whether it is a good idea to go along this path. 

This is about the existing streaming parse in LIBKML (under KmlStream Section):
https://code.google.com/p/libkml/wiki/KmlEngineReference <https://code.google.com/p/libkml/wiki/KmlEngineReference>

Hope can hear some of your opinions about this idea.

Sincerely, 

Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150428/cd598216/attachment.html>


More information about the gdal-dev mailing list