Thursday, 22 November 2018

convert - Exporting vector to kml with ogr2ogr without extended data


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?



Answer



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


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...