Previous Page | Next Page

The GPROJECT Procedure

Example 2: Emphasizing Map Areas


Procedure features:

PROC GPROJECT options:

POLELAT=

POLELONG=

PROJECT=

Sample library member: GPJEMPHS

[Sample library member: GPJEMPHS]

This example uses the gnomonic projection method to create a map in which the east coast of the United States appears disproportionately large compared to the west coast.

 Note about code
goptions reset=all border;
 Note about code
data us48;
   set maps.states;
   if state ne 2 and state ne 15 and state ne 72;
   if density<4;
run;
 Note about code
proc gproject data=us48
              out=skew
              project=gnomon
              polelong=160
              polelat=45;
   id state;
run;
 Note about code
title "United States Map";
footnote j=r "GPJEMPHS ";
 Note about code
pattern value=mempty color=blue;
 Note about code
proc gmap map=skew data=skew all;
   id state;
   choro state / nolegend levels=1;
run;
quit;

Previous Page | Next Page | Top of Page