Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
Note that this technique is included in the book SAS/Graph: Beyond the Basics,
and all the 'tricks' used to create it are described in great detail!
---------------------------------------------------------------
This one is especially interesting in that I've *never* seen
anything like this done in sas before :)
A customer asked if there was a way to take a gif image of a map
and use that map in sas - this is what I came up with...
I take the image of a geographical map or floorplan,
I find the number of pixels in the x & y directions (by viewing the 'properties' in IE, etc)
and use that as the "coordinate system" for a SAS map.
I then create a sas/graph map dataset containing 1 single map area,
with corners at the same x/y coordinates as the map/image
so that my map area/coordinates have the same proportions as the
map/image. And I annotate points-of-interest on the map,
by finding the X/Y coordinates of those points by mousing-over
the original map in Paint, and then annotating things onto the
map at those coordinates (with html hotspots/drilldowns).
I set up drilldown/hotspots (using the annotate "html" variable, with
html title= charttip/flyover-text and href= drilldown).
Here are several examples that use this technique:
PNC Center Stadium
Senate Floor Voting
Theater Seating Map
Mexico Geographical Map
Canoeing Locations onto Google Map Snapshot
Housing Project #2 onto Google Map Snapshot
Or, taking things up-a-notch on the geographical maps...
here are some examples where I actually devise ways to line
up images of maps onto a sas map, or annotate lat/longs onto
a map image:
Lat/Long markers & map borders onto Geological Features image
Lat/Long markers & map borders onto Topographical Features image
Lat/Long markers & map borders onto Topographical Features image (dams)
Housing Project onto Google Map Snapshot
Peru w/ Geological Map Images
Peru w/ Satellite Images
Back to Samples Index