1
0

mapdemo 4.0 KB

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