Chapter Contents

Previous

Next
Using Spatial Data with SAS/GIS Software

Importing SAS/GRAPH Map Data Sets

To import spatial data in SAS/GRAPH format by using the GIS Spatial Data Importing window:

  1. Select SASGRAPH using the Import Type pull-down control.

    The title of the filename field in the Input area changes to SAS/GRAPH data set.

  2. Specify the library and data set name of the desired SAS/GRAPH data, either by typing the data set name in the data set name field or by using the pull-out control to display a Select A Member window, and then by selecting the data set from that window.

  3. Select the variables in the input data set that you want to use as ID variables by selecting them in the ID Vars field. ID variables are variables whose values uniquely identify unit areas in the map. Typical ID variables in SAS/GRAPH maps are COUNTRY, ID, STATE, and COUNTY. A separate layer is created for each ID variable. The ID variables must be selected in hierarchical order. For example, if the data set contains both STATE and COUNTY variables, then STATE must be selected before COUNTY.

  4. Modify the destination information for the catalog and the spatial data sets, if needed.

  5. Modify the default layers and composites, if needed. See Common Importing Procedures for more information.

  6. Select [Import] to import the data. When the import process is complete, a message is displayed in the window message bar to indicate whether the import was successful. You can proceed with another import or close the window to display the newly imported map.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.