Defines, modifies, or deletes associations between variables in the chains and nodes data sets.
indicates that the composite is a left/right type for spatial data variables that apply to the left and right sides of chains.
defines the role of the composite in the spatial database.
defines a variable or an association between related variables in the current spatial chains or nodes data set.
specifies the composite that you want to create, replace, delete, or update. The composite-name value must conform to the following rules for SAS names:
You must specify one of the following values for the operation keyword:
defines associations between variables in the chains and nodes data sets and stores these composites in the current spatial entry. The COMPOSITE CREATE statement does not overwrite existing composites. A warning is issued and processing of the current RUN group is halted if a composite with the specified name already exists. Use COMPOSITE REPLACE to overwrite an existing composite.
Note | Not all spatial database variables are composites of multiple SAS data set variables. Some composites represent a single SAS data set variable. |
deletes the specified composite from the current spatial entry. For the DELETE operation, you can also specify the following alternative forms for the composite-name argument:
A warning is issued and processing of the current RUN group is halted if the specified composite does not exist.
Restriction | No additional arguments (other than the composite name) are used with the DELETE operation. |
Note | The DELETE operation of the COMPOSITE statement removes a composite from the spatial entry but does not delete the SAS variables from their respective SAS data sets. |
CAUTION: |
applies new values for the specified arguments to an existing composite. A warning is issued and processing of the current RUN group is halted if there is no existing composite with the specified name.
When you specify CREATE, REPLACE, or UPDATE for the operation argument in a COMPOSITE statement, you can specify one or more of the following additional optional arguments. Separate the list of options from the composite-name value with a slash (/).
indicates that the composite is a left/right type
for spatial data variables that apply to the left and right sides
of chains. BILATERAL composites
are used to define polygonal layers in a LAYER statement by denoting
chains that have different left and right values. This argument provides
an implicit VAR= argument, where the LEFT= and RIGHT= variable names
are constructed by appending L
and R
to
the specified composite name. For example, the following two statements
are equivalent:composite create state / class=area bilateral;
composite create state / class=area
var=(left=statel,right=stater);
The class-type value for the CLASS= option can be one of the following:
indicates that the composite defines addresses in the chains data set that is used for geocoding.
100
in
the street address, 100 North Main Street
).
A chain has four values to define the address range for each side:
beginning address on the left side.
ending address on the left side.
beginning address on the right side.
ending address on the right side.
indicates that the composite defines polygonal areas.
indicates that the composite defines countries in the chains data.
indicates that the composite defines counties in the chains data.
indicates that the composite defines states in the chains data. Composites of this class are used in geocoding.
indicates that the composite defines features that are related to geographic location, such as cities. Composites of this class are used in geocoding.
indicates that the composite defines a general descriptive value that can be used to classify features in the map.
Note | When you add points to the map interactively in the GIS Map window, you can create new point layers. To enable this creation, you must define at least one CLASSIFICATION-type composite in the spatial entry. |
indicates that the
composite defines the directional prefix component of an aggregate
feature name, such as the North
in North
Main Ave
. Composites of this class are used in geocoding.
indicates that the
composite defines the direction suffix component of an aggregate feature
name, such as the South
in 2nd
St South
. Composites of this class are used in geocoding.
indicates that the
composite defines the names of features in the chains data, such as Central
Park
, or the name component of an aggregate feature
name, such as the Main
in E
Main St
. Composites of this class are used in geocoding.
indicates that the composite defines extended postal delivery codes (U.S. ZIP+4) in the chains data. Composites of this class are used in address matching.
indicates that the
composite defines the feature type component of an aggregate feature
name, such as the Ave
in N
Harrison Ave
. Composites of this class are used in
geocoding.
indicates that the composite defines the X coordinates for the nodes in the nodes data set.
indicates that the composite defines the Y coordinates for the nodes in the nodes data set.
indicates that the composite defines postal delivery codes in the chains data. Composites of this class are used in geocoding.
Default | CLASSIFICATION |
The VAR= argument is required when you use the CREATE or REPLACE operations, except in the following circumstances:
composite create cfcc; composite create cfcc / var=cfcc class=classification;
L
and R
are
added to the composite-name value
to form the variable name pair for the association. For example, the
following statements are equivalent:composite create state / class=state; composite create state / class=state var=(statel stater);
The association-declaration argument for the VAR= option can be one of the following, depending on the class-type values that are specified in the CLASS= option:
declares a composite consisting of a single SAS variable. Use this form for single-variable association classes such as CLASSIFICATION, DIRECTION_PREFIX, DIRECTION_SUFFIX, NAME, TYPE, X, and Y.
declares a composite consisting of two variables that represent the left and right sides of a feature. Association declarations of this form can be used to define the boundaries between elements in the spatial data. Use this form for bilateral association classes such as AREA, CITY, COUNTRY, COUNTY, PLACE, STATE, ZIPCODE, and PLUS4.
declares a composite that consists of four variables that separately represent the beginning and end of the left and right sides of a feature. Association declarations of this form can be used to define the locations of specific addresses in the spatial data. Use this form for the ADDRESS class.