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

Reply via email to