Procedure features: |
PROC GPROJECT
options:
|
|
POLELAT= |
|
POLELONG= |
|
PROJECT= | | |
|
Sample library member: |
GPJEMPHS
|
![[Sample library member: GPJEMPHS]](images/gpjemphs.gif)
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](../../../../common/63294/HTML/default/images/snbut.gif) |
goptions reset=all border; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
data us48;
set maps.states;
if state ne 2 and state ne 15 and state ne 72;
if density<4;
run; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
proc gproject data=us48
out=skew
project=gnomon
polelong=160
polelat=45;
id state;
run; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
title "United States Map";
footnote j=r "GPJEMPHS "; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
pattern value=mempty color=blue; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
proc gmap map=skew data=skew all;
id state;
choro state / nolegend levels=1;
run;
quit; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.