[gdal-dev] KML problem

Clay, Bruce bclay at ball.com
Fri Nov 7 14:48:52 EST 2008


I am using OGR to create both a shapefile and a KML file.  The data in
the shapefile looks good and the values in the KML are the same as in
the shapefile but they are shifted up by 2 places.  There are 2 extra
attributes in the KML file (Name and Description). My "Longitude" value
appears in the "Description" field.

 

I tried to use CSLSetNameValue( ogrOptions, "DescriptionField", "None");
to eliminate the Description field but it did not work.

 

Is there any way to eliminate the Name and Description fields since I
don't have any values to set for them?

 

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20081107/6a3a3b53/attachment.html


More information about the gdal-dev mailing list