If I convert a shapefile as kml in QGIS, GRASS or ogr2ogr directly, defining the name and/or description field with the -dsco tag, all columns in the attribute table of the input layer are exported to the kml as ExtendedData. Is there a way to create the kml with the Name and Description only, i.e., without the Extended data?

1 Answer 1


You should be able to choose what goes over by using the -select option

  • Thanks, that works with ogr2ogr. I am not seeing an option to use this option in GRASS or QGIS.
    – Ecodiv
    Commented Aug 1, 2012 at 14:04
  • It seems that if you use the -select option, you always need to include the columns you are using for "Name" and "Description"? This means these columns are included twice, as part of the Extended Data and as Placemark name and description.
    – Ecodiv
    Commented Aug 1, 2012 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.