Previous Page | Next Page

The GMAP Procedure

Example 1: Producing a Simple Block Map


Procedure features:

ID statement

BLOCK statement option:

BLOCKSIZE=

RELZERO

Sample library member: GMPSIMPL

[Simple Block Map]

This example produces a block map that shows population of countries in Asia. 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.

 Note about code
goptions reset=all border;
 Note about code
title1 "Population in Asia";
footnote1 j=r "GMPSIMPL";
 Note about code
proc gmap data=sashelp.demographics(where=(cont=95))
          map=maps.asia all;
   id id;
   block pop / blocksize=1 relzero;
run;
quit;

Previous Page | Next Page | Top of Page