GDAL/OGR
Summary Info from a Raster file
- gdalinfo PIA03377.tif
Summary Info from a Shapefile
- 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