Click here to see the SAS code.
Click here to see the example.

---------------------------------------------------------------

With the concerns about global warming, and the possibility of 
more arctic ice melting and freeing up shipping possibilities,
I thought it would be good to have a sas/graph sample that 
shows how to map areas around the north pole / arctic.

It's a bit tougher than the the south pole (antarctica),
because antarctica has the land all on the inside, and
you can include the complete land-mass ... whereas the
north pole is all water, and then you have to use "proc gproject"
to "clip" the top edges of the land-masses to include.
And when you clip the land-masses, gmap just connects the
extremes of the clipped regions, which produces some 
undesireable "flat spots" along the southernmost/clipped
edges of the land.  

If you really want a nicer map, I guess you could do your own
clipping of the continents, and add extra points along the 
clipped edge -- therefore when gmap draws it, it will connect
all the points you inserted, rather than drawing a straight line
and making the long/flat spots.

But, this sample should get you pointed in the right direction,
at least! :-)


The main "tricks" used in this map are in the gproject - see 
comments below...

proc gproject data=combined out=combined dupok eastlong
  project=gnomon
  polelat=90 /* where to center the map */
  latmin=49.5 /* where to clip the map */
  ;
  id continent country;
run;


Also, here's an example of a South Pole map.


Back to Samples Index