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.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev