| The GIS Procedure |
The PROC GIS statement invokes the GIS procedure. It can also specify the default SAS catalog in which the spatial, coverage, layer, and map entries are stored.
| PROC GIS Statement Syntax |
| PROC GIS <CATALOG=<libref.>catalog-name>; |
The CATALOG= option can take one of the following forms:
|
CATALOG=<libref.>catalog-name
CAT=<libref.>catalog-name C=<libref.>catalog-name |
| Description |
Each of the statement forms specifies the default SAS catalog in which the GIS spatial, coverage, layer, and map entries referred to in subsequent statements in the PROC GIS step are stored.
If the specified catalog does not already exist, it is created when a subsequent SPATIAL, COVERAGE, LAYER, or MAP statement is executed. If you omit the libref argument, the default SAS library, WORK, is used.
The CATALOG= argument is overridden when you perform one of the following:
issue a CATALOG statement in conjunction with the PROC GIS statement. Subsequent statements in the GIS procedure will refer to the catalog that was named in the most recent CATALOG statement rather than to the one that is specified in the CATALOG= option in the PROC GIS statement.
specify fully qualified (three-level) entry names in SPATIAL, COVERAGE, LAYER, or MAP statements. This temporarily overrides the default catalog for the current statement only. It does not reset any catalog that is specified with the CATALOG= option. See the descriptions of these statements for more information.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.