1#!/bin/rc 2 3fn demo {proj=$1; shift; 4 label=$1; shift; 5 { echo 'o' 6 echo 'ra -8192 -8492 8192 8492' 7 echo 'e' 8 echo 'm -8192 8192' 9 echo t $type 10 echo 'm -8192 -8192' 11 echo t $proj - $label 12 MAP=world MAPDIR=/lib/map map $proj $* -s -d 5 13 } 14 sleep 5 15} 16 17rfork en 18{ 19type='Equatorial projections centered on long. 0. Parallels are straight lines.' 20 21demo mercator 'equally spaced straight meridians, conformal, straight compass courses' 22demo sinusoidal 'equally spaced parallels, equal-area, same as bonne(0)' 23demo cylequalarea 'equally spaced straight meridians, equal-area, true scale on Eq' 0 24demo cylindrical 'central projection on tangent cylinder' 25demo rectangular 'equally spaced parallels, equally spaced straight meridians, true scale on Eq' 0 26demo gall 'parallels spaced stereographically on prime meridian, equally spaced straight meridians, true scale on Eq' 0 27demo mollweide '(homalographic) equal-area, hemisphere is a circle' 28demo gilbert 'globe mapped conformally on hemisphere, viewed orthographically' 29 30type='Azimuthal: centered on the North Pole, Parallels are concentric circles, Meridians are equally spaced radial lines' 31 32demo azequidistant 'equally spaced parallels, true distances from pole' 33demo azequalarea 'equal area' 34demo gnomonic 'central projecton on tangent plane, straight great circles' 35demo perspective 'viewed along earth''s axis 2 earth radii from center of earth' 2 36demo orthographic 'viewed from infinity' 37demo stereographic 'conformal, projected from opposite pole' 38demo laue 'radius = tan(2\(mu colatitude ), used in xray crystallography' 39demo fisheye 'fisheye view of stereographic map, index of refraction 2' 2 -o 40.75 74 40demo newyorker 'New Yorker map from viewing pedestal of radius .5' .5 -o 40.75 74 41 42type='Polar conic projections symmetric about the Prime Meridian. Parallels are segments of concentric circles.' 43 44demo conic 'central projection on cone tangent at 40' 40 45demo simpleconic 'equally spaced parallels, true scale on 20 and 50' 20 50 46demo lambert 'conformal, true scale on 20 and 50' 20 50 47demo albers 'equal-area, true scale on 20 and 50' 20 50 48demo bonne 'equally spaced parallels, equal-area, parallel 40 developed from tangent cone' 40 49 50type='Projections with bilateral symmetry about the Prime Meridian and the equator.' 51 52demo polyconic 'parallels developed from tangent cones, equally spaced along Prime Meridian' 53demo aitoff 'equal-area projection of globe onto 2-to-1 ellipse, based on azequalarea' 54demo lagrange 'conformal, maps whole sphere into a circle' 55demo bicentric 'points plotted at true azimuth from two centers on the equator at longitudes +-40, great circles are straight lines' 40 56demo elliptic 'points are plotted at true distance from two centers on the equator at longitudes +-40' 40 57demo globular 'hemisphere is circle, circular meridians and parallels' 58demo vandergrinten 'sphere is circle, meridians as in globular, circular arc parallels resemble mercator' 59 60type='Doubly periodic conformal projections.' 61 62demo guyou 'W and E hemispheres are square' 63demo square 'World is square with Poles at diagonally opposite corners' 64demo tetra 'map on tetrahedron with edge tangent to Prime Meridian at S Pole, unfolded into equilateral triangle' 65demo hex 'world is hexagon centered on N Pole, N and S hemispheres are equilateral 66triangles' 67 68type='Retroazimuthal projections. Directions to center are true.' 69 70demo mecca 'equally spaced vertical meridians' 21.4 -o 90 -39.8 71demo homing 'distances to Mecca are true' 21.4 -o 90 -39.8 72 73type='Miscellaneous projections.' 74 75demo harrison 'oblique perspective from above the North Pole, 2 earth radii from the earth, looking along the Date Line 40 degrees off vertical' 2 40 76demo trapezoidal 'equally spaced parallels, straight meridians equally spaced along parallels, true scale at 20 and 50 on Prime Meridian' 20 50 77demo lune 'conformal, polar cap above Eq is 60-degree lune' 0 60 78 79type='Maps based on the spheroid' 80 81demo sp_mercator 'equally spaced straight meridians, conformal' 82demo sp_albers 'equal-area, true scale on 20 and 50' 20 50 83} | plot 84