Previous Page | Next Page

The GMAP Procedure

Example 7: Producing a Simple Prism Map


Procedure features:

ID statement

PRISM statement option:

CDEFAULT=

RELZERO

Sample library member: GMPPRISM

[Producing a Simple Prism Map]

This example produces a prism map of the population of countries in Africa. Since the DISCRETE option is not used, the response variable is assumed to have a continuous range of values. Because neither the LEVELS= nor MIDPOINTS= option is used, the GMAP procedure selects a number of levels based on the number of map areas and then calculates the appropriate response levels.

Since the XVIEW=, YVIEW=, and ZVIEW= options are not used, the default viewing position, above and to the east and south of the center of the map, is used. Since the XLIGHT= and YLIGHT= options are not used, none of the side polygons of the prisms are shadowed. The light source is the same as the viewing position.

 Note about code
goptions reset=all border;
 Note about code
title1 "Population in Africa";
footnote1 j=r "GMPPRISM";
 Note about code
proc gmap data=sashelp.demographics(where=(cont=94))
          map=maps.africa density=low all;
   id id;
   prism pop / cdefault=yellow relzero;
run;
quit;

Previous Page | Next Page | Top of Page