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