[gdal-dev] KML problem

Even Rouault even.rouault at mines-paris.org
Wed Nov 12 06:46:37 EST 2008


Bruce,

I think what you see is due to an inappropriate use of OGR API rather than a 
bug in OGR itself. I'd encourage you to browse that ticket 
http://trac.osgeo.org/gdal/ticket/2653 which is about GPX, but I think you're 
hitting the same scenario with KML as output.

Le Friday 07 November 2008 20:48:52 Clay, Bruce, vous avez écrit :
> 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.




More information about the gdal-dev mailing list