Chapter Contents |
Previous |
Next |
Using Spatial Data with SAS/GIS Software |
The following composite CLASS values identify elements of the address information:
Main
in the address 101 N Main Ave
.Ave
in the address, 101 N Main Ave
.101
in the address, 101 N Main Ave
.
A chain has four values to define the address range for each side:
FROMLEFT | Beginning address on the left side |
TOLEFT | Ending address on the left side |
FROMRIGHT | Beginning address on the right side |
TORIGHT | Ending address on the right side. |
N
in the address 101 N Main
Ave
.W
in the address 1141 First St W
.To perform geocoding, you must set up your spatial database to contain composites for CITY and ADDRESS at the minimum. Composites that are defined with additional CLASS values will help to improve the accuracy of the geocoding.
You can use the SPATIAL CONTENTS statement of PROC GIS to determine whether your spatial database contains the minimum composites that are necessary to perform geocoding. Submit the following statements in the SAS Program Editor for the spatial entry that you wish to geocode against:
proc gis catalog=libref.catalog; spatial contents spatial-entry; run; quit;
The output that is produced by the SPATIAL CONTENTS statement will include a list of all of the composites that are defined for the specified spatial entry. If the spatial database includes address information, this list will include some or all of the composites that are defined with the required CLASS values for address information.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.