Chapter Contents

Previous

Next
The GMAP Procedure

Example 9: Producing a Simple Surface Map


Procedure features:
SURFACE statement
Data set: REFLIB.SITES
Sample library member: GR19N09

[IMAGE]

This example produces a surface map that shows the total number of hazardous waste sites in each state in 1997. Because the CONSTANT= and NLINES= options are not used, the GMAP procedure draws a surface that consists of 50 lines and uses the default decay function to calculate spike height and base width. And because the ROTATE= and TILT= options are not used, the map is rotated 70 degrees around the Z axis and tilted 70 degrees with respect to the X axis.
 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
title1 'Hazardous Waste Site Installations (1997)';
footnote1 j=r 'GR19N09 ';
 Note about code
proc gmap map=maps.us data=reflib.sites;
   id state;
   surface sites;
run;
quit;


Chapter Contents

Previous

Next

Top of Page

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