You might be able to
purchase appropriate spatial data that has already been prepared in
SAS/GIS format by a commercial data vendor. Contact SAS Technical
Support for information about sources for spatial data in
SAS/GIS
format.
The other way to acquire
spatial data for use with
SAS/GIS software is to import it from other
formats. One readily accessible source of maps for importing is the
map data sets that are provided with
SAS/GRAPH software. However,
these maps provide only political boundaries and not other physical
features such as rivers and major highways. Other sources for spatial
data that you can import include the following:
-
Governmental agencies. For example,
SAS/GIS software can import spatial data from TIGER/Line files produced
by the U.S. Census Bureau and from DLG files produced by the U.S. Geological Survey.
-
Drawing and computer-aided design
(CAD) packages.
SAS/GIS software can import the DXF interchange format
that is supported by products from various vendors.
-
Tele Atlas N.V.
SAS/GIS can import
the Dynamap files.
-
MapInfo Corporation.
SAS/GIS can
import MapInfo MIF and MID files.
-
ArcInfo software by ESRI.
SAS/GIS
can import uncompressed ArcInfo interchange (E00) files.
-
User-created files. If no other
source is available, you can use SAS programming statements to convert
your spatial data into the required generic format, which
SAS/GIS
software can then import.
Whatever the source,
the spatial data must have at least one variable with values that
match values in the attribute data that you want to analyze. If necessary,
you can use SAS to process either the attribute data or the spatial
data. For example, if your attribute data contains state names and
your spatial data contains state codes, you can use SAS programming
statements to generate corresponding codes for the names. Likewise,
if your attribute data and spatial data both have codes to identify
areas in the map, but the two sets of data use different codes for
the same areas, then you can use SAS programming statements to translate
the coding schemes.