My favorites | Sign in
Project Home Source
Checkout   Browse   Changes  
Changes to /trunk/gpsbabel/jeeps/gpsdatum.h
r4077 vs. r4200 Compare: vs.  Format:
Revision r4200
Go to: 
/trunk/gpsbabel/jeeps/gpsdatum.h   r4077 /trunk/gpsbabel/jeeps/gpsdatum.h   r4200
1 #ifdef __cplusplus 1 #ifdef __cplusplus
2 extern "C" 2 extern "C"
3 { 3 {
4 #endif 4 #endif
5 5
6 #ifndef gpsdatum_h 6 #ifndef gpsdatum_h
7 #define gpsdatum_h 7 #define gpsdatum_h
8 8
9 9
10 10
11 typedef struct GPS_SEllipse { 11 typedef struct GPS_SEllipse {
12 char* name; 12 const char* name;
13 double a; 13 double a;
14 double invf; 14 double invf;
15 } GPS_OEllipse, *GPS_PEllipse; 15 } GPS_OEllipse, *GPS_PEllipse;
16 16
17 GPS_OEllipse GPS_Ellipse[]= { 17 GPS_OEllipse GPS_Ellipse[]= {
18 { "Airy 1830", 6377563.396, 299.3249646 }, 18 { "Airy 1830", 6377563.396, 299.3249646 },
19 { "Airy 1830 Modified", 6377340.189, 299.3249646 }, 19 { "Airy 1830 Modified", 6377340.189, 299.3249646 },
20 { "Australian National", 6378160.000, 298.25 }, 20 { "Australian National", 6378160.000, 298.25 },
21 { "Bessel 1841 (Namibia)", 6377483.865, 299.1528128 }, 21 { "Bessel 1841 (Namibia)", 6377483.865, 299.1528128 },
22 { "Bessel 1841", 6377397.155, 299.1528128 }, 22 { "Bessel 1841", 6377397.155, 299.1528128 },
23 { "Clarke 1866", 6378206.400, 294.9786982 }, 23 { "Clarke 1866", 6378206.400, 294.9786982 },
24 { "Clarke 1880", 6378249.145, 293.465 }, 24 { "Clarke 1880", 6378249.145, 293.465 },
25 { "Everest (India 1830)", 6377276.345, 300.8017 }, 25 { "Everest (India 1830)", 6377276.345, 300.8017 },
26 { "Everest (Sabah Sarawak)", 6377298.556, 300.8017 }, 26 { "Everest (Sabah Sarawak)", 6377298.556, 300.8017 },
27 { "Everest (India 1956)", 6377301.243, 300.8017 }, 27 { "Everest (India 1956)", 6377301.243, 300.8017 },
28 { "Everest (Malaysia 1969)", 6377295.664, 300.8017 }, 28 { "Everest (Malaysia 1969)", 6377295.664, 300.8017 },
29 { "Everest (Malay & Sing)", 6377304.063, 300.8017 }, 29 { "Everest (Malay & Sing)", 6377304.063, 300.8017 },
30 { "Everest (Pakistan)", 6377309.613, 300.8017 }, 30 { "Everest (Pakistan)", 6377309.613, 300.8017 },
31 { "Modified Fischer 1960", 6378155.000, 298.3 }, 31 { "Modified Fischer 1960", 6378155.000, 298.3 },
32 { "Helmert 1906", 6378200.000, 298.3 }, 32 { "Helmert 1906", 6378200.000, 298.3 },
33 { "Hough 1960", 6378270.000, 297.0 }, 33 { "Hough 1960", 6378270.000, 297.0 },
34 { "Indonesian 1974", 6378160.000, 298.247 }, 34 { "Indonesian 1974", 6378160.000, 298.247 },
35 { "International 1924", 6378388.000, 297.0 }, 35 { "International 1924", 6378388.000, 297.0 },
36 { "Krassovsky 1940", 6378245.000, 298.3 }, 36 { "Krassovsky 1940", 6378245.000, 298.3 },
37 { "GRS67", 6378160.000, 6356774.516 }, 37 { "GRS67", 6378160.000, 6356774.516 },
38 { "GRS75", 6378140.000, 6356755.288 }, 38 { "GRS75", 6378140.000, 6356755.288 },
39 { "GRS80", 6378137.000, 298.257222101 }, 39 { "GRS80", 6378137.000, 298.257222101 },
40 { "S. American 1969", 6378160.000, 298.25 }, 40 { "S. American 1969", 6378160.000, 298.25 },
41 { "WGS60", 6378165.000, 298.3 }, 41 { "WGS60", 6378165.000, 298.3 },
42 { "WGS66", 6378145.000, 298.25 }, 42 { "WGS66", 6378145.000, 298.25 },
43 { "WGS72", 6378135.000, 298.26 }, 43 { "WGS72", 6378135.000, 298.26 },
44 { "WGS84", 6378137.000, 298.257223563 }, 44 { "WGS84", 6378137.000, 298.257223563 },
45 { "Clarke 1880 (Benoit)", 6378300.789, 293.466 }, 45 { "Clarke 1880 (Benoit)", 6378300.789, 293.466 },
46 }; 46 };
47 47
48 48
49 49
50 typedef struct GPS_SDatum { 50 typedef struct GPS_SDatum {
51 char* name; 51 const char* name;
52 int ellipse; 52 int ellipse;
53 double dx; 53 double dx;
54 double dy; 54 double dy;
55 double dz; 55 double dz;
56 } GPS_ODatum, *GPS_PDatum; 56 } GPS_ODatum, *GPS_PDatum;
57 57
58 GPS_ODatum GPS_Datum[]= { 58 GPS_ODatum GPS_Datum[]= {
59 /* 000 */ { "Adindan", 6, -166, -15, 204 }, 59 /* 000 */ { "Adindan", 6, -166, -15, 204 },
60 /* 001 */ { "AFG", 18, -43, -163, 45 }, 60 /* 001 */ { "AFG", 18, -43, -163, 45 },
61 /* 002 */ { "Ain-El-Abd", 17, -150, -251, -2 }, 61 /* 002 */ { "Ain-El-Abd", 17, -150, -251, -2 },
62 /* 003 */ { "Alaska-NAD27", 5, -5, 135, 172 }, 62 /* 003 */ { "Alaska-NAD27", 5, -5, 135, 172 },
63 /* 004 */ { "Alaska-Canada", 6, -9, 151, 185 }, 63 /* 004 */ { "Alaska-Canada", 6, -9, 151, 185 },
64 /* 005 */ { "Anna-1-Astro", 2, -491, -22, 435 }, 64 /* 005 */ { "Anna-1-Astro", 2, -491, -22, 435 },
65 /* 006 */ { "ARC 1950 Mean", 6, -143, -90, -294 }, 65 /* 006 */ { "ARC 1950 Mean", 6, -143, -90, -294 },
66 /* 007 */ { "ARC 1960 Mean", 6, -160, -8, -300 }, 66 /* 007 */ { "ARC 1960 Mean", 6, -160, -8, -300 },
67 /* 008 */ { "Asc Island 58", 17, -207, 107, 52 }, 67 /* 008 */ { "Asc Island 58", 17, -207, 107, 52 },
68 /* 009 */ { "Astro B4", 17, 114, -116, -333 }, 68 /* 009 */ { "Astro B4", 17, 114, -116, -333 },
69 /* 010 */ { "Astro Beacon E", 17, 145, 75, -272 }, 69 /* 010 */ { "Astro Beacon E", 17, 145, 75, -272 },
70 /* 011 */ { "Astro pos 71/4", 17, -320, 550, -494 }, 70 /* 011 */ { "Astro pos 71/4", 17, -320, 550, -494 },
71 /* 012 */ { "Astro stn 52", 17, 124, -234, -25 }, 71 /* 012 */ { "Astro stn 52", 17, 124, -234, -25 },
72 /* 013 */ { "Australia Geo 1984", 2, -134, -48, 149 }, 72 /* 013 */ { "Australia Geo 1984", 2, -134, -48, 149 },
73 /* 014 */ { "Bahamas NAD27", 6, -4, 154, 178 }, 73 /* 014 */ { "Bahamas NAD27", 6, -4, 154, 178 },
74 /* 015 */ { "Bellevue IGN", 17, -127, -769, 472 }, 74 /* 015 */ { "Bellevue IGN", 17, -127, -769, 472 },
75 /* 016 */ { "Bermuda 1957", 6, -73, 213, 296 }, 75 /* 016 */ { "Bermuda 1957", 6, -73, 213, 296 },
76 /* 017 */ { "Bukit Rimpah", 4, -384, 664, -48 }, 76 /* 017 */ { "Bukit Rimpah", 4, -384, 664, -48 },
77 /* 018 */ { "Camp_Area_Astro", 17, -104, -129, 239 }, 77 /* 018 */ { "Camp_Area_Astro", 17, -104, -129, 239 },
78 /* 019 */ { "Campo_Inchauspe", 17, -148, 136, 90 }, 78 /* 019 */ { "Campo_Inchauspe", 17, -148, 136, 90 },
79 /* 020 */ { "Canada_Mean(NAD27)", 5, -10, 158, 187 }, 79 /* 020 */ { "Canada_Mean(NAD27)", 5, -10, 158, 187 },
80 /* 021 */ { "Canal_Zone_(NAD27)", 5, 0, 125, 201 }, 80 /* 021 */ { "Canal_Zone_(NAD27)", 5, 0, 125, 201 },
81 /* 022 */ { "Canton_Island_1966", 17, 298, -304, -375 }, 81 /* 022 */ { "Canton_Island_1966", 17, 298, -304, -375 },
82 /* 023 */ { "Cape", 6, -136, -108, -292 }, 82 /* 023 */ { "Cape", 6, -136, -108, -292 },
83 /* 024 */ { "Cape_Canaveral_mean", 5, -2, 150, 181 }, 83 /* 024 */ { "Cape_Canaveral_mean", 5, -2, 150, 181 },
84 /* 025 */ { "Carribean NAD27", 5, -7, 152, 178 }, 84 /* 025 */ { "Carribean NAD27", 5, -7, 152, 178 },
85 /* 026 */ { "Carthage", 6, -263, 6, 431 }, 85 /* 026 */ { "Carthage", 6, -263, 6, 431 },
86 /* 027 */ { "Cent America NAD27", 5 , 0, 125, 194 }, 86 /* 027 */ { "Cent America NAD27", 5 , 0, 125, 194 },
87 /* 028 */ { "Chatham 1971", 17, 175, -38, 113 }, 87 /* 028 */ { "Chatham 1971", 17, 175, -38, 113 },
88 /* 029 */ { "Chua Astro", 17, -134, 229, -29 }, 88 /* 029 */ { "Chua Astro", 17, -134, 229, -29 },
89 /* 030 */ { "Corrego Alegre", 17, -206, 172, -6 }, 89 /* 030 */ { "Corrego Alegre", 17, -206, 172, -6 },
90 /* 031 */ { "Cuba NAD27", 5, -9, 152, 178 }, 90 /* 031 */ { "Cuba NAD27", 5, -9, 152, 178 },
91 /* 032 */ { "Cyprus", 17, -104, -101, -140 }, 91 /* 032 */ { "Cyprus", 17, -104, -101, -140 },
92 /* 033 */ { "Djakarta(Batavia)", 4, -377, 681, -50 }, 92 /* 033 */ { "Djakarta(Batavia)", 4, -377, 681, -50 },
93 /* 034 */ { "DOS 1968", 17, 230, -199, -752 }, 93 /* 034 */ { "DOS 1968", 17, 230, -199, -752 },
94 /* 035 */ { "Easter lsland 1967", 17, 211, 147, 111 }, 94 /* 035 */ { "Easter lsland 1967", 17, 211, 147, 111 },
95 /* 036 */ { "Egypt", 17, -130, -117, -151 }, 95 /* 036 */ { "Egypt", 17, -130, -117, -151 },
96 /* 037 */ { "European 1950", 17, -87, -96, -120 }, 96 /* 037 */ { "European 1950", 17, -87, -96, -120 },
97 /* 038 */ { "European 1950 mean", 17, -87, -98, -121 }, 97 /* 038 */ { "European 1950 mean", 17, -87, -98, -121 },
98 /* 039 */ { "European 1979 mean", 17, -86, -98, -119 }, 98 /* 039 */ { "European 1979 mean", 17, -86, -98, -119 },
99 /* 040 */ { "Finnish Nautical", 17, -78, -231, -97 }, 99 /* 040 */ { "Finnish Nautical", 17, -78, -231, -97 },
100 /* 041 */ { "Gandajika Base", 17, -133, -321, 50 }, 100 /* 041 */ { "Gandajika Base", 17, -133, -321, 50 },
101 /* 042 */ { "Geodetic Datum 49", 17, 84, -22, 209 }, 101 /* 042 */ { "Geodetic Datum 49", 17, 84, -22, 209 },
102 /* 043 */ { "Ghana", 26, 0, 0, 0 }, 102 /* 043 */ { "Ghana", 26, 0, 0, 0 },
103 /* 044 */ { "Greenland NAD27", 5, 11, 114, 195 }, 103 /* 044 */ { "Greenland NAD27", 5, 11, 114, 195 },
104 /* 045 */ { "Guam 1963", 5, -100, -248, 259 }, 104 /* 045 */ { "Guam 1963", 5, -100, -248, 259 },
105 /* 046 */ { "Gunung Segara", 4, -403, 684, 41 }, 105 /* 046 */ { "Gunung Segara", 4, -403, 684, 41 },
106 /* 047 */ { "Gunung Serindung 1962", 26, 0, 0, 0 }, 106 /* 047 */ { "Gunung Serindung 1962", 26, 0, 0, 0 },
107 /* 048 */ { "GUX1 Astro", 17, 252, -209, -751 }, 107 /* 048 */ { "GUX1 Astro", 17, 252, -209, -751 },
108 /* 049 */ { "Herat North", 17, -333, -222, 114 }, 108 /* 049 */ { "Herat North", 17, -333, -222, 114 },
109 /* 050 */ { "Hjorsey 1955", 17, -73, 46, 86 }, 109 /* 050 */ { "Hjorsey 1955", 17, -73, 46, 86 },
110 /* 051 */ { "Hong Kong 1963", 17, -156, -271, -189 }, 110 /* 051 */ { "Hong Kong 1963", 17, -156, -271, -189 },
111 /* 052 */ { "Hu-Tzu-Shan", 17, -634, -549, -201 }, 111 /* 052 */ { "Hu-Tzu-Shan", 17, -634, -549, -201 },
112 /* 053 */ { "Indian", 9, 289, 734, 257 }, 112 /* 053 */ { "Indian", 9, 289, 734, 257 },
113 /* 054 */ { "Iran", 17, -117, -132, -164 }, 113 /* 054 */ { "Iran", 17, -117, -132, -164 },
114 /* 055 */ { "Ireland 1965", 1, 506, -122, 611 }, 114 /* 055 */ { "Ireland 1965", 1, 506, -122, 611 },
115 /* 056 */ { "ISTS 073 Astro 69", 17, 208, -435, -229 }, 115 /* 056 */ { "ISTS 073 Astro 69", 17, 208, -435, -229 },
116 /* 057 */ { "Johnston Island 61", 17, 191, -77, -204 }, 116 /* 057 */ { "Johnston Island 61", 17, 191, -77, -204 },
117 /* 058 */ { "Kandawala", 7, -97, 787, 86 }, 117 /* 058 */ { "Kandawala", 7, -97, 787, 86 },
118 /* 059 */ { "Kerguelen Island", 17, 145, -187, 103 }, 118 /* 059 */ { "Kerguelen Island", 17, 145, -187, 103 },
119 /* 060 */ { "Kertau 48", 11, -11, 851, 5 }, 119 /* 060 */ { "Kertau 48", 11, -11, 851, 5 },
120 /* 061 */ { "L.C. 5 Astro", 5, 42, 124, 147 }, 120 /* 061 */ { "L.C. 5 Astro", 5, 42, 124, 147 },
121 /* 062 */ { "La Reunion", 17, 94, -948, -1262 }, 121 /* 062 */ { "La Reunion", 17, 94, -948, -1262 },
122 /* 063 */ { "Liberia 1964", 6, -90, 40, 88 }, 122 /* 063 */ { "Liberia 1964", 6, -90, 40, 88 },
123 /* 064 */ { "Luzon", 5, -133, -77, -51 }, 123 /* 064 */ { "Luzon", 5, -133, -77, -51 },
124 /* 065 */ { "Mahe 1971", 6, 41, -220, -134 }, 124 /* 065 */ { "Mahe 1971", 6, 41, -220, -134 },
125 /* 066 */ { "Marco Astro", 17, -289, -124, 60 }, 125 /* 066 */ { "Marco Astro", 17, -289, -124, 60 },
126 /* 067 */ { "Masirah Is. Nahrwan", 6, -247, -148, 369 }, 126 /* 067 */ { "Masirah Is. Nahrwan", 6, -247, -148, 369 },
127 /* 068 */ { "Massawa", 4, 639, 405, 60 }, 127 /* 068 */ { "Massawa", 4, 639, 405, 60 },
128 /* 069 */ { "Merchich", 6, 31, 146, 47 }, 128 /* 069 */ { "Merchich", 6, 31, 146, 47 },
129 /* 070 */ { "Mexico NAD27", 5, -12, 130, 190 }, 129 /* 070 */ { "Mexico NAD27", 5, -12, 130, 190 },
130 /* 071 */ { "Midway Astro 61", 17, 912, -58, 1227 }, 130 /* 071 */ { "Midway Astro 61", 17, 912, -58, 1227 },
131 /* 072 */ { "Mindanao", 5, -133, -79, -72 }, 131 /* 072 */ { "Mindanao", 5, -133, -79, -72 },
132 /* 073 */ { "Minna", 6, -92, -93, 122 }, 132 /* 073 */ { "Minna", 6, -92, -93, 122 },
133 /* 074 */ { "Montjong Lowe", 26, 0, 0, 0 }, 133 /* 074 */ { "Montjong Lowe", 26, 0, 0, 0 },
134 /* 075 */ { "Nahrwan", 6, -231, -196, 482 }, 134 /* 075 */ { "Nahrwan", 6, -231, -196, 482 },
135 /* 076 */ { "Naparima BWI", 17, -2, 374, 172 }, 135 /* 076 */ { "Naparima BWI", 17, -2, 374, 172 },
136 /* 077 */ { "North America 83", 21, 0, 0, 0 }, 136 /* 077 */ { "North America 83", 21, 0, 0, 0 },
137 /* 078 */ { "N. America 1927 mean", 5, -8, 160, 176 }, 137 /* 078 */ { "N. America 1927 mean", 5, -8, 160, 176 },
138 /* 079 */ { "Observatorio 1966", 17, -425, -169, 81 }, 138 /* 079 */ { "Observatorio 1966", 17, -425, -169, 81 },
139 /* 080 */ { "Old Egyptian", 14, -130, 110, -13 }, 139 /* 080 */ { "Old Egyptian", 14, -130, 110, -13 },
140 /* 081 */ { "Old Hawaiian_mean", 5, 89, -279, -183 }, 140 /* 081 */ { "Old Hawaiian_mean", 5, 89, -279, -183 },
141 /* 082 */ { "Old Hawaiian Kauai", 5, 45, -290, -172 }, 141 /* 082 */ { "Old Hawaiian Kauai", 5, 45, -290, -172 },
142 /* 083 */ { "Old Hawaiian Maui", 5, 65, -290, -190 }, 142 /* 083 */ { "Old Hawaiian Maui", 5, 65, -290, -190 },
143 /* 084 */ { "Old Hawaiian Oahu", 5, 56, -284, -181 }, 143 /* 084 */ { "Old Hawaiian Oahu", 5, 56, -284, -181 },
144 /* 085 */ { "Oman", 6, -346, -1, 224 }, 144 /* 085 */ { "Oman", 6, -346, -1, 224 },
145 /* 086 */ { "OSGB36", 0, 375, -111, 431 }, 145 /* 086 */ { "OSGB36", 0, 375, -111, 431 },
146 /* 087 */ { "Pico De Las Nieves", 17, -307, -92, 127 }, 146 /* 087 */ { "Pico De Las Nieves", 17, -307, -92, 127 },
147 /* 088 */ { "Pitcairn Astro 67", 17, 185, 165, 42 }, 147 /* 088 */ { "Pitcairn Astro 67", 17, 185, 165, 42 },
148 /* 089 */ { "S. Am. 1956 mean(P)", 17, -288, 175, -376 }, 148 /* 089 */ { "S. Am. 1956 mean(P)", 17, -288, 175, -376 },
149 /* 090 */ { "S. Chilean 1963 (P)", 17, 16, 196, 93 }, 149 /* 090 */ { "S. Chilean 1963 (P)", 17, 16, 196, 93 },
150 /* 091 */ { "Puerto Rico", 5, 11, 72, -101 }, 150 /* 091 */ { "Puerto Rico", 5, 11, 72, -101 },
151 /* 092 */ { "Pulkovo 1942", 18, 28, -130, -95 }, 151 /* 092 */ { "Pulkovo 1942", 18, 28, -130, -95 },
152 /* 093 */ { "Qornoq", 17, 164, 138, -189 }, 152 /* 093 */ { "Qornoq", 17, 164, 138, -189 },
153 /* 094 */ { "Quatar National", 17, -128, -283, 22 }, 153 /* 094 */ { "Quatar National", 17, -128, -283, 22 },
154 /* 095 */ { "Rome 1940", 17, -225, -65, 9 }, 154 /* 095 */ { "Rome 1940", 17, -225, -65, 9 },
155 /* 096 */ { "S-42(Pulkovo1942)", 18, 28, -121, -77 }, 155 /* 096 */ { "S-42(Pulkovo1942)", 18, 28, -121, -77 },
156 /* 097 */ { "S.E.Asia_(Indian)", 7, 173, 750, 264 }, 156 /* 097 */ { "S.E.Asia_(Indian)", 7, 173, 750, 264 },
157 /* 098 */ { "SAD-69/Brazil", 22, -60, -2, -41 }, 157 /* 098 */ { "SAD-69/Brazil", 22, -60, -2, -41 },
158 /* 099 */ { "Santa Braz", 17, -203, 141, 53 }, 158 /* 099 */ { "Santa Braz", 17, -203, 141, 53 },
159 /* 100 */ { "Santo (DOS)", 17, 170, 42, 84 }, 159 /* 100 */ { "Santo (DOS)", 17, 170, 42, 84 },
160 /* 101 */ { "Sapper Hill 43", 17, -355, 16, 74 }, 160 /* 101 */ { "Sapper Hill 43", 17, -355, 16, 74 },
161 /* 102 */ { "Schwarzeck", 3, 616, 97, -251 }, 161 /* 102 */ { "Schwarzeck", 3, 616, 97, -251 },
162 /* 103 */ { "Sicily", 17, -97, -88, -135 }, 162 /* 103 */ { "Sicily", 17, -97, -88, -135 },
163 /* 104 */ { "Sierra Leone 1960", 26, 0, 0, 0 }, 163 /* 104 */ { "Sierra Leone 1960", 26, 0, 0, 0 },
164 /* 105 */ { "S. Am. 1969 mean", 22, -57, 1, -41 }, 164 /* 105 */ { "S. Am. 1969 mean", 22, -57, 1, -41 },
165 /* 106 */ { "South Asia", 13, 7, -10, -26 }, 165 /* 106 */ { "South Asia", 13, 7, -10, -26 },
166 /* 107 */ { "Southeast Base", 17, -499, -249, 314 }, 166 /* 107 */ { "Southeast Base", 17, -499, -249, 314 },
167 /* 108 */ { "Southwest Base", 17, -104, 167, -38 }, 167 /* 108 */ { "Southwest Base", 17, -104, 167, -38 },
168 /* 109 */ { "Tananarive Obs 25", 17, -189, -242, -91 }, 168 /* 109 */ { "Tananarive Obs 25", 17, -189, -242, -91 },
169 /* 110 */ { "Thai/Viet (Indian)", 7, 214, 836, 303 }, 169 /* 110 */ { "Thai/Viet (Indian)", 7, 214, 836, 303 },
170 /* 111 */ { "Timbalai 1948", 7, -689, 691, -45 }, 170 /* 111 */ { "Timbalai 1948", 7, -689, 691, -45 },
171 /* 112 */ { "Tokyo mean", 4, -128, 481, 664 }, 171 /* 112 */ { "Tokyo mean", 4, -128, 481, 664 },
172 /* 113 */ { "Tristan Astro 1968", 17, -632, 438, -609 }, 172 /* 113 */ { "Tristan Astro 1968", 17, -632, 438, -609 },
173 /* 114 */ { "United Arab Emirates", 6, -249, -156, 381 }, 173 /* 114 */ { "United Arab Emirates", 6, -249, -156, 381 },
174 /* 115 */ { "Viti Levu 1916", 6, 51, 391, -36 }, 174 /* 115 */ { "Viti Levu 1916", 6, 51, 391, -36 },
175 /* 116 */ { "Wake Eniwetok 60", 15, 101, 52, -39 }, 175 /* 116 */ { "Wake Eniwetok 60", 15, 101, 52, -39 },
176 /* 117 */ { "WGS 72", 25, 0, 0, 5 }, 176 /* 117 */ { "WGS 72", 25, 0, 0, 5 },
177 /* 118 */ { "WGS 84", 26, 0, 0, 0 }, 177 /* 118 */ { "WGS 84", 26, 0, 0, 0 },
178 /* 119 */ { "Yacare", 17, -155, 171, 37 }, 178 /* 119 */ { "Yacare", 17, -155, 171, 37 },
179 /* 120 */ { "Zanderij", 17, -265, 120, -358 }, 179 /* 120 */ { "Zanderij", 17, -265, 120, -358 },
180 /* 121 */ { "Sweden", 4, 424.3, -80.5, 613.1 }, 180 /* 121 */ { "Sweden", 4, 424.3, -80.5, 613.1 },
181 /* 122 */ { "GDA 94", 21, 0, 0, 0 }, 181 /* 122 */ { "GDA 94", 21, 0, 0, 0 },
182 /* 123 */ { "CH-1903", 4, 674, 15, 405 }, 182 /* 123 */ { "CH-1903", 4, 674, 15, 405 },
183 /* 124 */ { "Palestine 1923", 27, -235, -85, 264 }, 183 /* 124 */ { "Palestine 1923", 27, -235, -85, 264 },
184 /* 125 */ { "ITM (Israeli New)", 21, -48, 55, -52 }, 184 /* 125 */ { "ITM (Israeli New)", 21, -48, 55, -52 },
185 { NULL, 0, 0, 0, 0 } 185 { NULL, 0, 0, 0, 0 }
186 }; 186 };
187 187
188 188
189 typedef struct GPS_SDatum_Alias { 189 typedef struct GPS_SDatum_Alias {
190 char* alias; 190 const char* alias;
191 const int datum; 191 const int datum;
192 } GPS_ODatum_Alias, *GPS_PDatum_Alias; 192 } GPS_ODatum_Alias, *GPS_PDatum_Alias;
193 193
194 GPS_ODatum_Alias GPS_DatumAlias[] = { 194 GPS_ODatum_Alias GPS_DatumAlias[] = {
195 { "Australian GDA94", 122 }, 195 { "Australian GDA94", 122 },
196 { "Australian Geocentric 1994 (GDA94)", 122}, /* Observed in Ozi */ 196 { "Australian Geocentric 1994 (GDA94)", 122}, /* Observed in Ozi */
197 { "GDA94", 122 }, 197 { "GDA94", 122 },
198 { "GDA-94", 122 }, 198 { "GDA-94", 122 },
199 { "CH1903", 123 }, 199 { "CH1903", 123 },
200 { "CH 1903", 123 }, 200 { "CH 1903", 123 },
201 { "European 1950 (Spain and Portugal)", 38 }, 201 { "European 1950 (Spain and Portugal)", 38 },
202 { "Geodetic Datum 1949", 42 }, 202 { "Geodetic Datum 1949", 42 },
203 { "NAD27 Alaska", 3 }, 203 { "NAD27 Alaska", 3 },
204 { "NAD27 Bahamas", 14 }, 204 { "NAD27 Bahamas", 14 },
205 { "NAD27 Canada", 4 }, 205 { "NAD27 Canada", 4 },
206 { "NAD27 Canal Zone", 21 }, 206 { "NAD27 Canal Zone", 21 },
207 { "NAD27 Caribbean", 25 }, 207 { "NAD27 Caribbean", 25 },
208 { "NAD27 Central", 27 }, 208 { "NAD27 Central", 27 },
209 { "NAD27 CONUS", 78 }, 209 { "NAD27 CONUS", 78 },
210 { "NAD27 Cuba", 31 }, 210 { "NAD27 Cuba", 31 },
211 { "NAD27 Greenland", 44 }, 211 { "NAD27 Greenland", 44 },
212 { "NAD27 Mexico", 70 }, 212 { "NAD27 Mexico", 70 },
213 { "NAD83", 77 }, 213 { "NAD83", 77 },
214 { "NAD 83", 77 }, 214 { "NAD 83", 77 },
215 { "NAD-83", 77 }, 215 { "NAD-83", 77 },
216 { "OSGB 36", 86 }, 216 { "OSGB 36", 86 },
217 { "OSGB-36", 86 }, 217 { "OSGB-36", 86 },
218 { "Wake-Eniwetok 1960", 116 }, 218 { "Wake-Eniwetok 1960", 116 },
219 { "WGS72", 117 }, 219 { "WGS72", 117 },
220 { "WGS-72", 117 }, 220 { "WGS-72", 117 },
221 { "WGS84", 118 }, 221 { "WGS84", 118 },
222 { "WGS-84", 118 }, 222 { "WGS-84", 118 },
223 { "Israeli", 124 }, 223 { "Israeli", 124 },
224 { "D_Israel_new", 125 }, 224 { "D_Israel_new", 125 },
225 { NULL, -1 } 225 { NULL, -1 }
226 }; 226 };
227 227
228 228
229 /* UK Ordnance Survey Nation Grid Map Codes */ 229 /* UK Ordnance Survey Nation Grid Map Codes */
230 static char* UKNG[]= { 230 static const char* UKNG[]= {
231 "SV","SW","SX","SY","SZ","TV","TW","SQ","SR","SS","ST","SU","TQ","TR", 231 "SV","SW","SX","SY","SZ","TV","TW","SQ","SR","SS","ST","SU","TQ","TR",
232 "SL","SM","SN","SO","SP","TL","TM","SF","SG","SH","SJ","SK","TF","TG", 232 "SL","SM","SN","SO","SP","TL","TM","SF","SG","SH","SJ","SK","TF","TG",
233 "SA","SB","SC","SD","SE","TA","TB","NV","NW","NX","NY","NZ","OV","OW", 233 "SA","SB","SC","SD","SE","TA","TB","NV","NW","NX","NY","NZ","OV","OW",
234 "NQ","NR","NS","NT","NU","OQ","OR","NL","NM","NN","NO","NP","OL","OM", 234 "NQ","NR","NS","NT","NU","OQ","OR","NL","NM","NN","NO","NP","OL","OM",
235 "NF","NG","NH","NJ","NK","OF","OG","NA","NB","NC","ND","NE","OA","OB", 235 "NF","NG","NH","NJ","NK","OF","OG","NA","NB","NC","ND","NE","OA","OB",
236 "HV","HW","HX","HY","HZ","JV","JW","HQ","HR","HS","HT","HU","JQ","JR", 236 "HV","HW","HX","HY","HZ","JV","JW","HQ","HR","HS","HT","HU","JQ","JR",
237 "HL","HM","HN","HO","HP","JL","JM","" 237 "HL","HM","HN","HO","HP","JL","JM",""
238 }; 238 };
239 239
240 240
241 241
242 #endif 242 #endif
243 243
244 #ifdef __cplusplus 244 #ifdef __cplusplus
245 } 245 }
246 #endif 246 #endif
Powered by Google Project Hosting