Use the GDAL/OGR utilities ogrinfo and gdalinfo to get information about a spatial dataset, including spatial reference information (e.g., the projection), a summary of any attribute data for points, lines, and polygons, and/or a summary of grid cell values for rasters.