Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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

share|improve this answer
    
Thanks, that works with ogr2ogr. I am not seeing an option to use this option in GRASS or QGIS. –  Paulo Aug 1 '12 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. –  Paulo Aug 1 '12 at 14:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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