Seems like libkml would be a good candidate for handling KML in memory. On Wed, Apr 1, 2009 at 3:23 AM, Mateusz Loskot <mate...@loskot.net> wrote: > Frank Warmerdam wrote: >> >> Clay, Bruce wrote: >>> >>> After a bit more digging I am not sure I asked the right question. >>> >>> >>> What I want to do is read feature information from a shapefile or other >>> data source and get a string that contains the feature information encoded >>> in KML that I can pass directly into Google Earth. I know I can do this >>> operation is I open the shapefile write the KML data to disk then open the >>> kml file up with fopen then read it into memory and send it t Google Earth >>> but I would like to save the disk write the read operation. >>> >>> >>> Any thoughts? >> >> Bruce, >> >> I've skimmed the KML driver and there is no sign that it uses the VSI*L >> API for file access, so I don't see any way you can write results to a >> memory buffer without substantial recoding in the kml driver. > > > Looks like a candidate for proposal for the GSoC 2009 > > Best regards, > -- > Mateusz Loskot, http://mateusz.loskot.net > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
-- Mano Marks Geo Developer Advocate http://twitter.com/ManoMarks Join me for Google I/O, Google's biggest Developer Conference, in San Francisco, May 27th and 28th, 2009 http://code.google.com/events/io/ _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev