|
2 | 2 |
|
3 | 3 | // projection names to d3 function name
|
4 | 4 | exports.projNames = {
|
5 |
| - 'equirectangular': 'equirectangular', |
6 |
| - 'mercator': 'mercator', |
7 |
| - 'orthographic': 'orthographic', |
8 |
| - 'natural earth': 'naturalEarth', |
9 |
| - 'kavrayskiy7': 'kavrayskiy7', |
10 |
| - 'miller': 'miller', |
11 |
| - 'robinson': 'robinson', |
12 |
| - 'eckert4': 'eckert4', |
13 |
| - 'azimuthal equal area': 'azimuthalEqualArea', |
14 |
| - 'azimuthal equidistant': 'azimuthalEquidistant', |
15 |
| - 'conic equal area': 'conicEqualArea', |
16 |
| - 'conic conformal': 'conicConformal', |
17 |
| - 'conic equidistant': 'conicEquidistant', |
18 |
| - 'gnomonic': 'gnomonic', |
19 |
| - 'stereographic': 'stereographic', |
20 |
| - 'mollweide': 'mollweide', |
21 |
| - 'hammer': 'hammer', |
22 |
| - 'transverse mercator': 'transverseMercator', |
23 |
| - 'albers usa': 'albersUsa', |
24 |
| - 'winkel tripel': 'winkel3', |
25 |
| - 'aitoff': 'aitoff', |
26 |
| - 'sinusoidal': 'sinusoidal', |
27 |
| -/* |
28 |
| - // potential projections that could be added to the API |
29 |
| -
|
30 | 5 | 'airy': 'airy',
|
31 |
| - // 'albers': 'albers', |
32 |
| - 'armadillo': 'armadillo', |
| 6 | + 'aitoff': 'aitoff', |
| 7 | + 'albers usa': 'albersUsa', |
| 8 | + 'albers': 'albers', |
| 9 | + // 'armadillo': 'armadillo', |
33 | 10 | 'august': 'august',
|
| 11 | + 'azimuthal equal area': 'azimuthalEqualArea', |
| 12 | + 'azimuthal equidistant': 'azimuthalEquidistant', |
34 | 13 | 'baker': 'baker',
|
35 |
| - 'berghaus': 'berghaus', |
| 14 | + // 'berghaus': 'berghaus', |
36 | 15 | 'bertin1953': 'bertin1953',
|
37 | 16 | 'boggs': 'boggs',
|
38 | 17 | 'bonne': 'bonne',
|
39 | 18 | 'bottomley': 'bottomley',
|
40 | 19 | 'bromley': 'bromley',
|
| 20 | + // 'chamberlin africa': 'chamberlinAfrica', |
41 | 21 | // 'chamberlin': 'chamberlin',
|
42 |
| - 'chamberlin africa': 'chamberlinAfrica', |
43 | 22 | 'collignon': 'collignon',
|
| 23 | + 'conic conformal': 'conicConformal', |
| 24 | + 'conic equal area': 'conicEqualArea', |
| 25 | + 'conic equidistant': 'conicEquidistant', |
44 | 26 | 'craig': 'craig',
|
45 | 27 | 'craster': 'craster',
|
46 | 28 | 'cylindrical equal area': 'cylindricalEqualArea',
|
47 | 29 | 'cylindrical stereographic': 'cylindricalStereographic',
|
48 | 30 | 'eckert1': 'eckert1',
|
49 | 31 | 'eckert2': 'eckert2',
|
50 | 32 | 'eckert3': 'eckert3',
|
| 33 | + 'eckert4': 'eckert4', |
51 | 34 | 'eckert5': 'eckert5',
|
52 | 35 | 'eckert6': 'eckert6',
|
53 | 36 | 'eisenlohr': 'eisenlohr',
|
| 37 | + 'equirectangular': 'equirectangular', |
54 | 38 | 'fahey': 'fahey',
|
55 |
| - 'foucaut': 'foucaut', |
56 | 39 | 'foucaut sinusoidal': 'foucautSinusoidal',
|
57 |
| - 'gilbert': 'gilbert', |
58 |
| - 'gingery': 'gingery', |
| 40 | + 'foucaut': 'foucaut', |
| 41 | + // 'gilbert': 'gilbert', |
| 42 | + // 'gingery': 'gingery', |
59 | 43 | 'ginzburg4': 'ginzburg4',
|
60 | 44 | 'ginzburg5': 'ginzburg5',
|
61 | 45 | 'ginzburg6': 'ginzburg6',
|
62 | 46 | 'ginzburg8': 'ginzburg8',
|
63 | 47 | 'ginzburg9': 'ginzburg9',
|
| 48 | + 'gnomonic': 'gnomonic', |
| 49 | + 'gringorten quincuncial': 'gringortenQuincuncial', |
64 | 50 | 'gringorten': 'gringorten',
|
65 | 51 | 'guyou': 'guyou',
|
66 |
| - 'hammer retroazimuthal': 'hammerRetroazimuthal', |
67 |
| - 'healpix': 'healpix', |
| 52 | + // 'hammer retroazimuthal': 'hammerRetroazimuthal', |
| 53 | + 'hammer': 'hammer', |
| 54 | + // 'healpix': 'healpix', |
68 | 55 | 'hill': 'hill',
|
69 | 56 | 'homolosine': 'homolosine',
|
70 | 57 | 'hufnagel': 'hufnagel',
|
71 | 58 | 'hyperelliptical': 'hyperelliptical',
|
| 59 | + // 'interrupted boggs': 'interruptedBoggs', |
| 60 | + // 'interrupted homolosine': 'interruptedHomolosine', |
| 61 | + // 'interrupted mollweide hemispheres': 'interruptedMollweideHemispheres', |
| 62 | + // 'interrupted mollweide': 'interruptedMollweide', |
| 63 | + // 'interrupted quartic authalic': 'interruptedQuarticAuthalic', |
| 64 | + // 'interrupted sinu mollweide': 'interruptedSinuMollweide', |
| 65 | + // 'interrupted sinusoidal': 'interruptedSinusoidal', |
| 66 | + 'kavrayskiy7': 'kavrayskiy7', |
72 | 67 | 'lagrange': 'lagrange',
|
73 | 68 | 'larrivee': 'larrivee',
|
74 | 69 | 'laskowski': 'laskowski',
|
75 |
| - 'littrow': 'littrow', |
| 70 | + // 'littrow': 'littrow', |
76 | 71 | 'loximuthal': 'loximuthal',
|
| 72 | + 'mercator': 'mercator', |
| 73 | + 'miller': 'miller', |
| 74 | + // 'modified stereographic alaska': 'modifiedStereographicAlaska', |
| 75 | + // 'modified stereographic gs48': 'modifiedStereographicGs48', |
| 76 | + // 'modified stereographic gs50': 'modifiedStereographicGs50', |
| 77 | + // 'modified stereographic lee': 'modifiedStereographicLee', |
| 78 | + // 'modified stereographic miller': 'modifiedStereographicMiller', |
77 | 79 | // 'modified stereographic': 'modifiedStereographic',
|
78 |
| - 'modified stereographic alaska': 'modifiedStereographicAlaska', |
79 |
| - 'modified stereographic gs48': 'modifiedStereographicGs48', |
80 |
| - 'modified stereographic gs50': 'modifiedStereographicGs50', |
81 |
| - 'modified stereographic miller': 'modifiedStereographicMiller', |
82 |
| - 'modified stereographic lee': 'modifiedStereographicLee', |
| 80 | + 'mollweide': 'mollweide', |
83 | 81 | 'mt flat polar parabolic': 'mtFlatPolarParabolic',
|
84 | 82 | 'mt flat polar quartic': 'mtFlatPolarQuartic',
|
85 | 83 | 'mt flat polar sinusoidal': 'mtFlatPolarSinusoidal',
|
| 84 | + 'natural earth': 'naturalEarth', |
86 | 85 | 'natural earth1': 'naturalEarth1',
|
87 | 86 | 'natural earth2': 'naturalEarth2',
|
88 | 87 | 'nell hammer': 'nellHammer',
|
89 | 88 | 'nicolosi': 'nicolosi',
|
| 89 | + 'orthographic': 'orthographic', |
90 | 90 | 'patterson': 'patterson',
|
| 91 | + 'peirce quincuncial': 'peirceQuincuncial', |
91 | 92 | 'polyconic': 'polyconic',
|
| 93 | + // 'polyhedral butterfly': 'polyhedralButterfly', |
| 94 | + // 'polyhedral collignon': 'polyhedralCollignon', |
| 95 | + // 'polyhedral waterman': 'polyhedralWaterman', |
92 | 96 | 'rectangular polyconic': 'rectangularPolyconic',
|
| 97 | + 'robinson': 'robinson', |
93 | 98 | 'satellite': 'satellite',
|
94 | 99 | 'sinu mollweide': 'sinuMollweide',
|
| 100 | + 'sinusoidal': 'sinusoidal', |
| 101 | + 'stereographic': 'stereographic', |
95 | 102 | 'times': 'times',
|
96 |
| - // 'two point azimuthal': 'twoPointAzimuthal', |
| 103 | + 'transverse mercator': 'transverseMercator', |
97 | 104 | // 'two point azimuthalUsa': 'twoPointAzimuthalUsa',
|
98 |
| - // 'two point equidistant': 'twoPointEquidistant', |
| 105 | + // 'two point azimuthal': 'twoPointAzimuthal', |
99 | 106 | // 'two point equidistantUsa': 'twoPointEquidistantUsa',
|
| 107 | + // 'two point equidistant': 'twoPointEquidistant', |
100 | 108 | 'van der grinten': 'vanDerGrinten',
|
101 | 109 | 'van der grinten2': 'vanDerGrinten2',
|
102 | 110 | 'van der grinten3': 'vanDerGrinten3',
|
103 | 111 | 'van der grinten4': 'vanDerGrinten4',
|
104 |
| - // 'wagner': 'wagner', |
105 | 112 | 'wagner4': 'wagner4',
|
106 | 113 | 'wagner6': 'wagner6',
|
107 | 114 | // 'wagner7': 'wagner7',
|
| 115 | + // 'wagner': 'wagner', |
108 | 116 | 'wiechel': 'wiechel',
|
| 117 | + 'winkel tripel': 'winkel3', |
109 | 118 | 'winkel3': 'winkel3',
|
110 |
| -
|
111 |
| - // 'interrupt': 'interrupt', |
112 |
| - 'interrupted homolosine': 'interruptedHomolosine', |
113 |
| - 'interrupted sinusoidal': 'interruptedSinusoidal', |
114 |
| - 'interrupted boggs': 'interruptedBoggs', |
115 |
| - 'interrupted sinu mollweide': 'interruptedSinuMollweide', |
116 |
| - 'interrupted mollweide': 'interruptedMollweide', |
117 |
| - 'interrupted mollweide hemispheres': 'interruptedMollweideHemispheres', |
118 |
| - 'interrupted quartic authalic': 'interruptedQuarticAuthalic', |
119 |
| -
|
120 |
| - 'polyhedral butterfly': 'polyhedralButterfly', |
121 |
| - 'polyhedral collignon': 'polyhedralCollignon', |
122 |
| - 'polyhedral waterman': 'polyhedralWaterman', |
123 |
| -
|
124 |
| - 'gringorten quincuncial': 'gringortenQuincuncial', |
125 |
| - 'peirce quincuncial': 'peirceQuincuncial', |
126 |
| -*/ |
127 | 119 | };
|
128 | 120 |
|
129 | 121 | // name of the axes
|
|
0 commit comments