Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:gis:gdal_ogr [2007/04/20 17:35] – created billh | docs:gis:gdal_ogr [2008/08/03 00:25] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Summary Info from a Shapefile ===== | ===== Summary Info from a Shapefile ===== | ||
* ogrinfo -summary placept.shp placept | * ogrinfo -summary placept.shp placept | ||
+ | |||
+ | ===== Convert a file into KML ===== | ||
+ | * ogr2ogr -f KML outputfile.kml inputfile.gml -dsco NameField=some_attribute_field | ||
+ | * note that you must assign an attribute field to be used as the Name field, or else the feature will have no name, and be unlabeled in programs such as Google Earth |