Skip to content

Commit 8dd4ba0

Browse files
committed
add comment about the potential projections to add
1 parent 7730d43 commit 8dd4ba0

File tree

1 file changed

+101
-2
lines changed

1 file changed

+101
-2
lines changed

Diff for: src/plots/geo/constants.js

+101-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

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

38137
// name of the axes

0 commit comments

Comments
 (0)