![]() Chapter Contents |
![]() Previous |
![]() Next |
| Working with Spatial Data Using SAS/GIS Software |
| COMPOSITE operation composite-name </ arguments>; |
| Description |
Note: You can use
the SPATIAL CONTENTS statement to view the composites for a spatial entry.
| COMPOSITE Statement Operations |
In a COMPOSITE statement, the operation can be one of the following:
The following list contains descriptions of the COMPOSITE statement operations:
_ALL_ keyword.
![[cautend]](../common/images/cautend.gif)
The composite-name value must conform to the rules for SAS names:
| Optional Arguments |
Note: Separate
the list of options
from the composite-name with a slash (/).
The following list contains descriptions of the additional COMPOSITE statement options:
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);
Note: BILATERAL composites are used to define polygonal layers in a LAYER statement.
![[cautend]](../common/images/cautend.gif)
composite create cfcc; composite create cfcc / var=cfcc class=classification;
L and R are added to the composite-name
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);
| CLASS=Class-type |
The class-type for the CLASS= option can be one of the following:
The following list contains descriptions of the CLASS=Class-type arguments:
VAR=(<FROMLEFT=>variable,
<FROMRIGHT=>variable,
|
| VAR=(<LEFT=>variable, <RIGHT=>variable) |
composite create towns / var=(cityl cityr) class=(city area);
North in North Main Ave.
South in 2nd St South.
Central Park, or the name component of an aggregate feature name, such
as the Main in E Main St.
composite create zip4 / var=(zip4l zip4r) class=(area plus4);
Ave in N Harrison
Ave.
composite create zip / var=(zipl zipr) class=(zipcode area);
| COMPOSITE Statement Examples |
composite create latitude / var=LAT class=y; run;
composite create state / var=(left=statel,right=stater) class=area; run;
composite create state/
bilateral
class=area;
run;
composite create custadd /
var=(fromleft=elmbegl,fromright=elmbegr,
toleft=elmendl,toright=elmendr)
class=address;
run;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.