Main Content

sdtsinfo

Information about SDTS data set

Syntax

info = sdtsinfo(filename)

Description

info = sdtsinfo(filename) returns a structure whose fields contain information about the contents of a SDTS data set.

filename is a string scalar or character vector that specifies the name of the SDTS catalog directory file, such as 7783CATD.DDF. The file name can also include the directory name. If filename does not include the directory, then it must be in the current directory or in a directory on the MATLAB® path. If sdtsinfo cannot find the SDTS catalog file, it returns an error.

If any of the other files in the data set as specified by the catalog file is missing, a warning message is returned. Subsequent calls to read data from the file might also fail.

Field Descriptions

The info structure contains the following fields:

Filename

Name of the catalog directory file of the SDTS transfer set, specified as a character vector.

Title

Name of the data set, specified as a character vector.

ProfileID

Profile Identifier, e.g., 'SRPE: SDTS RASTER PROFILE and EXTENSIONS', specified as a character vector.

ProfileVersion

Profile Version Identifier, e.g., 'VER 1.1 1998 01', specified as a character vector.

MapDate

Date associated with the cartographic information contained in the data set, specified as a character vector.

DataCreationDate

Creation date of the data set, specified as a character vector.

HorizontalDatum

Horizontal datum to which the data is referenced, specified as a character vector.

MapRefSystem

Projection and reference system used, specified as one of the following values: 'GEO', 'SPCS', 'UTM', 'UPS', or ''.

ZoneNumber

Scalar value representing the zone number

XResolution

Scalar value representing the X component of the horizontal coordinate resolution

YResolution

Scalar value representing the Y component of the horizontal coordinate resolution

NumberOfRows

Scalar value representing the number of rows of the DEM

NumberOfCols

Scalar value representing the number of columns of the DEM

HorizontalUnits

Units used for the horizontal coordinate values, specified as a character vector.

VerticalUnits

Units used for the vertical coordinate values, specified as a character vector.

MinElevation

Scalar value of the minimum elevation value for the data set

MaxElevation

Scalar value of the maximum elevation value for the data set

Version History

Introduced before R2006a