A map data set is
a data set supplied by SAS that contains variables whose values are
coordinates. These coordinates define the boundaries of map areas,
such as a state or country.
Map data sets are used
in the GMAP procedure. Map data sets store spatial information across
multiple observations. Each observation contains multiple variables
with their specific data values. Map data sets supplied by SAS contain
all the variables expected by the GMAP procedure. Map data sets that
are not provided by SAS must contain X and Y boundary point coordinate
variables as well as one or more map area identification variables.
If these variables are missing the procedure stops and outputs an
error message to the SAS log. The GMAP procedure can take as input
a map data set and a response data set, provided that both data sets
contain the same
id-variable.
Alternatively, you can use a single data set as input if it contains
either the map data or a variable that references a map data set.
There are two types
of data sets that are provided with
SAS/GRAPH for mapping. Starting with the second maintenance
release of SAS 9.3, GfK GeoMarketing digital, vector-based map data
sets are available for use. These are in addition to the traditional
map data sets that have been available with SAS 9.3 and earlier releases.
All of the content in the traditional map data sets are represented
in the GfK map data, and GfK also provides additional data. SAS licensed
the map data from GfK GeoMarketing GmbH, and then converted the data
into a SAS map data set format. The GfK map data sets are uniform
and accurate for the whole world, and are intended to eventually replace
the traditional map data sets.
SAS/GRAPH software includes a number of predefined map data
sets.
The traditional data sets are described in The METAMAPS Data Set.