[gdal-dev] in memory KML

Clay, Bruce bclay at ball.com
Tue Mar 31 13:23:33 EDT 2009


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

 

________________________________

From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Clay, Bruce
Sent: Tuesday, March 31, 2009 12:53 PM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] in memory KML

 

I know that OGR supports in memory feature classes and it supports
creating KML data.  

 

I could not find any examples of using the in-memory datasource.

 

Is there a way to create KML in memory? 

 

Bruce

 



This message and any enclosures are intended only for the addressee.
Please  
notify the sender by email if you are not the intended recipient.  If
you are  
not the intended recipient, you may not use, copy, disclose, or
distribute this  
message or its contents or enclosures to any other person and any such
actions  
may be unlawful.  Ball reserves the right to monitor and review all
messages  
and enclosures sent to or from this email address.



This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090331/bc43de3d/attachment.html


More information about the gdal-dev mailing list