IDL's MAP function allows you to view more than 30 different map projections. This topic shows how to use the MAP function to view projections, and how to warp a map image to a map projection.
Map Projections Example
The following graphics are a sample of the map projections available in IDL.
The code shown below creates the maps shown above. You can copy the entire block and paste it into the IDL command line to run it.
mMoll = MAP('Mollweide', FILL_COLOR='light blue', $
TITLE='Mollweide Projection')
mSinusoid = MAP('Sinusoidal', FILL_COLOR='light blue', $
TITLE='Sinusoidal Projection')
mPolStereo = MAP('PolarStereographic', FILL_COLOR='light blue', $
TITLE='Polar Stereographic', LIMIT=[-90,-180,-60,180])
mc = MAPCONTINENTS(/FILL_BACKGROUND, FILL_COLOR='gray')
mGoode = MAP('Interrupted Goode', FILL_COLOR='light blue', $
HORIZON_COLOR='dark blue', HORIZON_THICK=2, TITLE='Interrupted Goode')
mc = MAPCONTINENTS(/FILL_BACKGROUND, FILL_COLOR='gray')
Resources