GetGIRASInfo()
Summary
Collects summary information about the contents of a USGS Land Use and Land Cover file.
Syntax
giras_info = GetGIRASInfo(string filename)
| Argument |
Contents |
| filename |
The path and file name of the GIRAS file |
Returns
An array of information as follows:
| Element |
Type |
Contents |
| 1 |
String |
Name of the DEM tile |
| 2 |
String |
Data category |
| 3 |
Integer |
The denominator of the data scale (1:scale) |
Example
// This call_
giras_info = GetGIRASInfo("c:\\washingt.gir")
// Returns this type of information...
// giras_info = {
// "WASHINGTON, D.C.,VA,MD 1:250000 QUAD LAND USE",
// "Land Use and Land Cover",
// 393700
// }
Error Codes
| Error Type |
Meaning |
| NotFound |
The specified file could not be found |
| Error |
The file is not a valid Land Use and Land Cover file |
See Also
| Function |
Summary |
| ImportGIRAS() |
Imports features from USGS Land Use and Land Cover files |