Chapter Contents

Previous

Next
The GPROJECT Procedure

Example 2: Emphasizing Map Areas


Procedure features:
PROC GPROJECT options:
POLELAT=
POLELONG=
PROJECT=
Data set: REFLIB.US48
Sample library member: GR23N02

[IMAGE]

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
libname reflib 'SAS-data-library';
libname maps 'SAS-data-library';
goptions reset=global gunit=pct border cback=white
         colors=(black blue green red)
         ftext=swiss htitle=6 htext=3;
 Note about code
proc gproject data=reflib.us48
              out=reflib.skew
              project=gnomon
              polelong=160
              polelat=45;
   id state;
run;
 Note about code
title 'United States Map';
footnote j=r 'GR23N02 ';
 Note about code
pattern value=mempty repeat=49 color=blue;
 Note about code
proc gmap map=reflib.skew data=reflib.skew all;
   id state;
   choro state / nolegend;
run;
quit;


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.