[ infs ] = shapeinfo (fname) ¶Returns a struct with info on shapefile fname.
Input:
fname(character string). Does not need to have a .shp suffix.
Output: a struct with fields:
FilenameContains the filename of the shapefile.
ShapeTypeThe type of shapefile.
ShapeTypeNameThe name of the shape type.
BoundingBoxThe minimum and maximum X and Y coordinates of all items in the shapefile in a 2 X 2 array, upper rox min and min Y, lower row max X and max Y.
NumFeaturesThe number of features (items, records) in the shapefile.
AttributesA structure with fields Name and Type (containng the names and types of all attributes in the shapefile). Type can be Numeric, Character or Data.
See also: geoshow, mapshow, shapedraw, shaperead, shapewrite.
Package: mapping