Chapter Contents

Previous

Next
Using Spatial Data with SAS/GIS Software

The GIS Spatial Data Importing Window

The GIS Spatial Data Importing window provides an interactive facility for importing spatial data from other formats into SAS/GIS spatial databases. Use the GIS Spatial Data Importing window to specify the type of spatial data to import. To open the GIS Spatial Data Importing window, select:

File
[arrow]
Import...
from the GIS Map window's menu bar, or select Import... from the map pop-up menu when no map is displayed.

GIS Spatial Data Importing window shows the GIS Spatial Data Importing window.

GIS Spatial Data Importing window

[IMAGE]


Elements of the Importing Window

The GIS Spatial Data Importing window is divided into the following areas:


The Import Type Area

Use the Import Type field to specify the type of data you want to import. Click on the pull-down control to the right of the Import Type field to display a list of available data types. Select a data type from this list to display it in the field.

The Input Area

Use the Input area of the window to specify the location of the spatial data files that you want to import. Additional information about each type of data is presented later in this chapter.

The Input area contains three elements:


The Output Area

The Output area of the window contains the following two sections:

Map Entries
Specify the storage location of the spatial database in this area.

The Library field contains the name of the libref that you want to contain the catalog and its entries. You can type the name of an existing libref in the field, use the pull-down menu to select an existing libref, or use the pull-out menu to assign a new libref.

The Catalog field contains the name of the SAS catalog that you want to contain the spatial database entries. You can type the name of a new catalog to be created, type the name of an existing catalog, or use the pull-down control to select an existing catalog.

The Name field contains the name for the GIS map. By default, the Name field contains the name of the spatial data import type, for example, TIGER, ARC, DXF, and so forth. You can supply your own GIS map name in the Name field. This name also is used for the coverage entry and as the base name of the polygonal index data set by using the first three letters of the name, and then by adding the first five (up to five) letters of the layer name.

The Action field lets you select options regarding the catalog entries. The pull-down control to the right of the field contains the following options:

CREATE
Creates new catalog entries.

REPLACE
Overwrites existing catalog entries. REPLACE will create new catalog entries if no entries exist for it to overwrite.

UPDATE
Updates existing catalog entries.

Spatial Data Sets
Specify the name of the SAS data library in which the chains, nodes, details, and polygonal index data sets are stored along with the base name for the data sets and spatial entry.

The Library field contains the name of the libref that you want to contain the data sets. You can type the name of an existing libref in the field, use the pull-down control to select an existing libref, or use the pull-out control to assign a new libref.

The Name field contains the base name of the data sets. The chains, nodes, and details data set names are formed by adding a C, N, or D, respectively, to this base name. The base name is also used as the name for the spatial entry in the catalog.

The Action field lets you select options regarding the data sets. The pull-down control to the right of the field contains the following options:

CREATE
Creates new data sets.

REPLACE
Overwrites existing data sets. REPLACE creates new data sets if no data sets exist for it to overwrite.

APPEND
Appends to existing data sets.


Command Buttons

The command buttons appear in a row along the lower edge of the GIS Spatial Data Importing window. Use these buttons to perform actions on your data sets, open the SAS/GIS online help, or close the window. The following list describes the different functions of the command buttons:

Import
Starts the importing process, provided that all required information has been supplied.

Modify Composites
Opens a window to view and modify the default composites that are created during the import.

Modify Layers
Opens a window to view and modify the default layer definitions that are created during the import.

Close
Closes the GIS Spatial Data Importing window and returns to the GIS Map window with the imported map displayed.

Cancel
Closes the GIS Spatial Data Importing window. If a map was imported, it is not displayed in the GIS Map window.

Help
Opens the online Help facility for the GIS Spatial Data Importing window. The Help provides details on the steps for importing the corresponding type of spatial data.


Chapter Contents

Previous

Next

Top of Page

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