2
2
3
3
// projection names to d3 function name
4
4
exports . projNames = {
5
- // d3.geo.projection
6
5
'equirectangular' : 'equirectangular' ,
7
6
'mercator' : 'mercator' ,
8
7
'orthographic' : 'orthographic' ,
@@ -24,7 +23,107 @@ exports.projNames = {
24
23
'albers usa' : 'albersUsa' ,
25
24
'winkel tripel' : 'winkel3' ,
26
25
'aitoff' : 'aitoff' ,
27
- 'sinusoidal' : 'sinusoidal'
26
+ 'sinusoidal' : 'sinusoidal' ,
27
+ /*
28
+ // potential projections that could be added to the API
29
+
30
+ 'airy': 'airy',
31
+ // 'albers': 'albers',
32
+ 'armadillo': 'armadillo',
33
+ 'august': 'august',
34
+ 'baker': 'baker',
35
+ 'berghaus': 'berghaus',
36
+ 'bertin1953': 'bertin1953',
37
+ 'boggs': 'boggs',
38
+ 'bonne': 'bonne',
39
+ 'bottomley': 'bottomley',
40
+ 'bromley': 'bromley',
41
+ // 'chamberlin': 'chamberlin',
42
+ 'chamberlin africa': 'chamberlinAfrica',
43
+ 'collignon': 'collignon',
44
+ 'craig': 'craig',
45
+ 'craster': 'craster',
46
+ 'cylindrical equal area': 'cylindricalEqualArea',
47
+ 'cylindrical stereographic': 'cylindricalStereographic',
48
+ 'eckert1': 'eckert1',
49
+ 'eckert2': 'eckert2',
50
+ 'eckert3': 'eckert3',
51
+ 'eckert5': 'eckert5',
52
+ 'eckert6': 'eckert6',
53
+ 'eisenlohr': 'eisenlohr',
54
+ 'fahey': 'fahey',
55
+ 'foucaut': 'foucaut',
56
+ 'foucaut sinusoidal': 'foucautSinusoidal',
57
+ 'gilbert': 'gilbert',
58
+ 'gingery': 'gingery',
59
+ 'ginzburg4': 'ginzburg4',
60
+ 'ginzburg5': 'ginzburg5',
61
+ 'ginzburg6': 'ginzburg6',
62
+ 'ginzburg8': 'ginzburg8',
63
+ 'ginzburg9': 'ginzburg9',
64
+ 'gringorten': 'gringorten',
65
+ 'guyou': 'guyou',
66
+ 'hammer retroazimuthal': 'hammerRetroazimuthal',
67
+ 'healpix': 'healpix',
68
+ 'hill': 'hill',
69
+ 'homolosine': 'homolosine',
70
+ 'hufnagel': 'hufnagel',
71
+ 'hyperelliptical': 'hyperelliptical',
72
+ 'lagrange': 'lagrange',
73
+ 'larrivee': 'larrivee',
74
+ 'laskowski': 'laskowski',
75
+ 'littrow': 'littrow',
76
+ 'loximuthal': 'loximuthal',
77
+ // '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',
83
+ 'mt flat polar parabolic': 'mtFlatPolarParabolic',
84
+ 'mt flat polar quartic': 'mtFlatPolarQuartic',
85
+ 'mt flat polar sinusoidal': 'mtFlatPolarSinusoidal',
86
+ 'natural earth1': 'naturalEarth1',
87
+ 'natural earth2': 'naturalEarth2',
88
+ 'nell hammer': 'nellHammer',
89
+ 'nicolosi': 'nicolosi',
90
+ 'patterson': 'patterson',
91
+ 'polyconic': 'polyconic',
92
+ 'rectangular polyconic': 'rectangularPolyconic',
93
+ 'satellite': 'satellite',
94
+ 'sinu mollweide': 'sinuMollweide',
95
+ 'times': 'times',
96
+ // 'two point azimuthal': 'twoPointAzimuthal',
97
+ // 'two point azimuthalUsa': 'twoPointAzimuthalUsa',
98
+ // 'two point equidistant': 'twoPointEquidistant',
99
+ // 'two point equidistantUsa': 'twoPointEquidistantUsa',
100
+ 'van der grinten': 'vanDerGrinten',
101
+ 'van der grinten2': 'vanDerGrinten2',
102
+ 'van der grinten3': 'vanDerGrinten3',
103
+ 'van der grinten4': 'vanDerGrinten4',
104
+ // 'wagner': 'wagner',
105
+ 'wagner4': 'wagner4',
106
+ 'wagner6': 'wagner6',
107
+ // 'wagner7': 'wagner7',
108
+ 'wiechel': 'wiechel',
109
+ '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
+ */
28
127
} ;
29
128
30
129
// name of the axes
0 commit comments