001    //$HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/base/branches/2.5_testing/src/org/deegree/io/geotiff/Geographic_CS_Codes.java $
002    /*----------------------------------------------------------------------------
003     This file is part of deegree, http://deegree.org/
004     Copyright (C) 2001-2009 by:
005       Department of Geography, University of Bonn
006     and
007       lat/lon GmbH
008    
009     This library is free software; you can redistribute it and/or modify it under
010     the terms of the GNU Lesser General Public License as published by the Free
011     Software Foundation; either version 2.1 of the License, or (at your option)
012     any later version.
013     This library is distributed in the hope that it will be useful, but WITHOUT
014     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
015     FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
016     details.
017     You should have received a copy of the GNU Lesser General Public License
018     along with this library; if not, write to the Free Software Foundation, Inc.,
019     59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020    
021     Contact information:
022    
023     lat/lon GmbH
024     Aennchenstr. 19, 53177 Bonn
025     Germany
026     http://lat-lon.de/
027    
028     Department of Geography, University of Bonn
029     Prof. Dr. Klaus Greve
030     Postfach 1147, 53001 Bonn
031     Germany
032     http://www.geographie.uni-bonn.de/deegree/
033    
034     e-mail: info@deegree.org
035    ----------------------------------------------------------------------------*/
036    package org.deegree.io.geotiff;
037    
038    import java.util.HashMap;
039    
040    /**
041     * Description of the class or interface. Should answer the questions: What is this class/interface
042     * for? How to use? How is the lifecycle of an instance of this class? How to instantiate this
043     * class? And more ...
044     *
045     * @author <a href="mailto:schaefer@lat-lon.de">Axel Schaefer </A>
046     * @author last edited by: $Author: mschneider $
047     * @version 2.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
048     * @since 2.0
049     */
050    public class Geographic_CS_Codes {
051    
052        private static HashMap<String, Integer> geographic_cs_type_codes = null;
053    
054        private static HashMap<String, Integer> ellipsoid_only_GCS = null;
055    
056        private static HashMap<String, Integer> geodectic_datum_code = null;
057    
058        private static HashMap<String, Integer> ellipsoid_only_datum = null;
059    
060        private static HashMap<String, Integer> ellipsoid_codes = null;
061    
062        private static HashMap<String, Integer> prime_meridian_codes = null;
063    
064        /**
065         * private constructor. static initializer
066         */
067        private Geographic_CS_Codes() {
068        }
069    
070        /**
071         * static initializer
072         */
073        static {
074            geographic_cs_type_codes = new HashMap<String, Integer>( 300 );
075            ellipsoid_only_GCS = new HashMap<String, Integer>( 300 );
076            geodectic_datum_code = new HashMap<String, Integer>( 300 );
077            ellipsoid_only_datum = new HashMap<String, Integer>( 300 );
078            ellipsoid_codes = new HashMap<String, Integer>( 300 );
079            prime_meridian_codes = new HashMap<String, Integer>( 300 );
080    
081            // Geographic CS Type Codes
082            geographic_cs_type_codes.put( "Adindan", new Integer( 4201 ) );
083            geographic_cs_type_codes.put( "AGD66", new Integer( 4202 ) );
084            geographic_cs_type_codes.put( "AGD84", new Integer( 4203 ) );
085            geographic_cs_type_codes.put( "Ain_el_Abd", new Integer( 4204 ) );
086            geographic_cs_type_codes.put( "Ain el Abd", new Integer( 4204 ) );
087            geographic_cs_type_codes.put( "AinelAbd", new Integer( 4204 ) );
088            geographic_cs_type_codes.put( "Afgooye", new Integer( 4205 ) );
089            geographic_cs_type_codes.put( "Agadez", new Integer( 4206 ) );
090            geographic_cs_type_codes.put( "Lisbon", new Integer( 4207 ) );
091            geographic_cs_type_codes.put( "Aratu", new Integer( 4208 ) );
092            geographic_cs_type_codes.put( "Arc_1950", new Integer( 4209 ) );
093            geographic_cs_type_codes.put( "Arc 1950", new Integer( 4209 ) );
094            geographic_cs_type_codes.put( "Arc1950", new Integer( 4209 ) );
095            geographic_cs_type_codes.put( "Arc_1960", new Integer( 4210 ) );
096            geographic_cs_type_codes.put( "Arc 1960", new Integer( 4210 ) );
097            geographic_cs_type_codes.put( "Arc1960", new Integer( 4210 ) );
098            geographic_cs_type_codes.put( "Batavia", new Integer( 4211 ) );
099            geographic_cs_type_codes.put( "Barbados", new Integer( 4212 ) );
100            geographic_cs_type_codes.put( "Beduaram", new Integer( 4213 ) );
101            geographic_cs_type_codes.put( "Beijing_1954", new Integer( 4214 ) );
102            geographic_cs_type_codes.put( "Beijing 1954", new Integer( 4214 ) );
103            geographic_cs_type_codes.put( "Beijing1954", new Integer( 4214 ) );
104            geographic_cs_type_codes.put( "Belge_1950", new Integer( 4215 ) );
105            geographic_cs_type_codes.put( "Belge 1950", new Integer( 4215 ) );
106            geographic_cs_type_codes.put( "Belge1950", new Integer( 4215 ) );
107            geographic_cs_type_codes.put( "Bermuda_1957", new Integer( 4216 ) );
108            geographic_cs_type_codes.put( "Bermuda 1957", new Integer( 4216 ) );
109            geographic_cs_type_codes.put( "Bermuda1957", new Integer( 4216 ) );
110            geographic_cs_type_codes.put( "Bern_1898", new Integer( 4217 ) );
111            geographic_cs_type_codes.put( "Bern 1898", new Integer( 4217 ) );
112            geographic_cs_type_codes.put( "Bern1898", new Integer( 4217 ) );
113            geographic_cs_type_codes.put( "Bogota", new Integer( 4218 ) );
114            geographic_cs_type_codes.put( "Bukit_Rimpah", new Integer( 4219 ) );
115            geographic_cs_type_codes.put( "Bukit Rimpah", new Integer( 4219 ) );
116            geographic_cs_type_codes.put( "BukitRimpah", new Integer( 4219 ) );
117            geographic_cs_type_codes.put( "Camacupa", new Integer( 4220 ) );
118            geographic_cs_type_codes.put( "Campo_Inchauspe", new Integer( 4221 ) );
119            geographic_cs_type_codes.put( "Campo Inchauspe", new Integer( 4221 ) );
120            geographic_cs_type_codes.put( "CampoInchauspe", new Integer( 4221 ) );
121            geographic_cs_type_codes.put( "Cape", new Integer( 4222 ) );
122            geographic_cs_type_codes.put( "Carthage", new Integer( 4223 ) );
123            geographic_cs_type_codes.put( "Chua", new Integer( 4224 ) );
124            geographic_cs_type_codes.put( "Corrego_Alegre", new Integer( 4225 ) );
125            geographic_cs_type_codes.put( "Corrego Alegre", new Integer( 4225 ) );
126            geographic_cs_type_codes.put( "CorregoAlegre", new Integer( 4225 ) );
127            geographic_cs_type_codes.put( "Cote_d_Ivoire", new Integer( 4226 ) );
128            geographic_cs_type_codes.put( "Cote d Ivoire", new Integer( 4226 ) );
129            geographic_cs_type_codes.put( "CotedIvoire", new Integer( 4226 ) );
130            geographic_cs_type_codes.put( "Deir_ez_Zor", new Integer( 4227 ) );
131            geographic_cs_type_codes.put( "Deir ez Zor", new Integer( 4227 ) );
132            geographic_cs_type_codes.put( "DeirezZor", new Integer( 4227 ) );
133            geographic_cs_type_codes.put( "Douala", new Integer( 4228 ) );
134            geographic_cs_type_codes.put( "Egypt_1907", new Integer( 4229 ) );
135            geographic_cs_type_codes.put( "Egypt 1907", new Integer( 4229 ) );
136            geographic_cs_type_codes.put( "Egypt1907", new Integer( 4229 ) );
137            geographic_cs_type_codes.put( "ED50", new Integer( 4230 ) );
138            geographic_cs_type_codes.put( "ED87", new Integer( 4231 ) );
139            geographic_cs_type_codes.put( "Fahud", new Integer( 4232 ) );
140            geographic_cs_type_codes.put( "Gandajika_1970", new Integer( 4233 ) );
141            geographic_cs_type_codes.put( "Gandajika 1970", new Integer( 4233 ) );
142            geographic_cs_type_codes.put( "Gandajika1970", new Integer( 4233 ) );
143            geographic_cs_type_codes.put( "Garoua", new Integer( 4234 ) );
144            geographic_cs_type_codes.put( "Guyane_Francaise", new Integer( 4235 ) );
145            geographic_cs_type_codes.put( "Guyane Francaise", new Integer( 4235 ) );
146            geographic_cs_type_codes.put( "GuyaneFrancaise", new Integer( 4235 ) );
147            geographic_cs_type_codes.put( "Hu_Tzu_Shan", new Integer( 4236 ) );
148            geographic_cs_type_codes.put( "Hu Tzu Shan", new Integer( 4236 ) );
149            geographic_cs_type_codes.put( "HuTzuShan", new Integer( 4236 ) );
150            geographic_cs_type_codes.put( "HD72", new Integer( 4237 ) );
151            geographic_cs_type_codes.put( "ID74", new Integer( 4238 ) );
152            geographic_cs_type_codes.put( "Indian_1954", new Integer( 4239 ) );
153            geographic_cs_type_codes.put( "Indian 1954", new Integer( 4239 ) );
154            geographic_cs_type_codes.put( "Indian1954", new Integer( 4239 ) );
155            geographic_cs_type_codes.put( "Indian_1975", new Integer( 4240 ) );
156            geographic_cs_type_codes.put( "Indian 1975", new Integer( 4240 ) );
157            geographic_cs_type_codes.put( "Indian1975", new Integer( 4240 ) );
158            geographic_cs_type_codes.put( "Jamaica_1875", new Integer( 4241 ) );
159            geographic_cs_type_codes.put( "Jamaica 1875", new Integer( 4241 ) );
160            geographic_cs_type_codes.put( "Jamaica1875", new Integer( 4241 ) );
161            geographic_cs_type_codes.put( "JAD69", new Integer( 4242 ) );
162            geographic_cs_type_codes.put( "Kalianpur", new Integer( 4243 ) );
163            geographic_cs_type_codes.put( "Kandawala", new Integer( 4244 ) );
164            geographic_cs_type_codes.put( "Kertau", new Integer( 4245 ) );
165            geographic_cs_type_codes.put( "KOC", new Integer( 4246 ) );
166            geographic_cs_type_codes.put( "La_Canoa", new Integer( 4247 ) );
167            geographic_cs_type_codes.put( "La Canoa", new Integer( 4247 ) );
168            geographic_cs_type_codes.put( "LaCanoa", new Integer( 4247 ) );
169            geographic_cs_type_codes.put( "PSAD56", new Integer( 4248 ) );
170            geographic_cs_type_codes.put( "Lake", new Integer( 4249 ) );
171            geographic_cs_type_codes.put( "Leigon", new Integer( 4250 ) );
172            geographic_cs_type_codes.put( "Liberia_1964", new Integer( 4251 ) );
173            geographic_cs_type_codes.put( "Liberia 1964", new Integer( 4251 ) );
174            geographic_cs_type_codes.put( "Liberia1964", new Integer( 4251 ) );
175            geographic_cs_type_codes.put( "Lome", new Integer( 4252 ) );
176            geographic_cs_type_codes.put( "Luzon_1911", new Integer( 4253 ) );
177            geographic_cs_type_codes.put( "Luzon 1911", new Integer( 4253 ) );
178            geographic_cs_type_codes.put( "Luzon1911", new Integer( 4253 ) );
179            geographic_cs_type_codes.put( "Hito_XVIII_1963", new Integer( 4254 ) );
180            geographic_cs_type_codes.put( "Hito XVIII 1963", new Integer( 4254 ) );
181            geographic_cs_type_codes.put( "HitoXVIII1963", new Integer( 4254 ) );
182            geographic_cs_type_codes.put( "Herat_North", new Integer( 4255 ) );
183            geographic_cs_type_codes.put( "Herat North", new Integer( 4255 ) );
184            geographic_cs_type_codes.put( "HeratNorth", new Integer( 4255 ) );
185            geographic_cs_type_codes.put( "Mahe_1971", new Integer( 4256 ) );
186            geographic_cs_type_codes.put( "Mahe 1971", new Integer( 4256 ) );
187            geographic_cs_type_codes.put( "Mahe1971", new Integer( 4256 ) );
188            geographic_cs_type_codes.put( "Makassar", new Integer( 4257 ) );
189            geographic_cs_type_codes.put( "EUREF89", new Integer( 4258 ) );
190            geographic_cs_type_codes.put( "Malongo_1987", new Integer( 4259 ) );
191            geographic_cs_type_codes.put( "Malongo 1987", new Integer( 4259 ) );
192            geographic_cs_type_codes.put( "Malongo1987", new Integer( 4259 ) );
193            geographic_cs_type_codes.put( "Manoca", new Integer( 4260 ) );
194            geographic_cs_type_codes.put( "Merchich", new Integer( 4261 ) );
195            geographic_cs_type_codes.put( "Massawa", new Integer( 4262 ) );
196            geographic_cs_type_codes.put( "Minna", new Integer( 4263 ) );
197            geographic_cs_type_codes.put( "Mhast", new Integer( 4264 ) );
198            geographic_cs_type_codes.put( "Monte_Mario", new Integer( 4265 ) );
199            geographic_cs_type_codes.put( "Monte Mario", new Integer( 4265 ) );
200            geographic_cs_type_codes.put( "MonteMario", new Integer( 4265 ) );
201            geographic_cs_type_codes.put( "M_poraloko", new Integer( 4266 ) );
202            geographic_cs_type_codes.put( "M poraloko", new Integer( 4266 ) );
203            geographic_cs_type_codes.put( "Mporaloko", new Integer( 4266 ) );
204            geographic_cs_type_codes.put( "NAD27", new Integer( 4267 ) );
205            geographic_cs_type_codes.put( "NAD_Michigan", new Integer( 4268 ) );
206            geographic_cs_type_codes.put( "NAD Michigan", new Integer( 4268 ) );
207            geographic_cs_type_codes.put( "NADMichigan", new Integer( 4268 ) );
208            geographic_cs_type_codes.put( "NAD83", new Integer( 4269 ) );
209            geographic_cs_type_codes.put( "Nahrwan_1967", new Integer( 4270 ) );
210            geographic_cs_type_codes.put( "Nahrwan 1967", new Integer( 4270 ) );
211            geographic_cs_type_codes.put( "Nahrwan1967", new Integer( 4270 ) );
212            geographic_cs_type_codes.put( "Naparima_1972", new Integer( 4271 ) );
213            geographic_cs_type_codes.put( "Naparima 1972", new Integer( 4271 ) );
214            geographic_cs_type_codes.put( "Naparima1972", new Integer( 4271 ) );
215            geographic_cs_type_codes.put( "GD49", new Integer( 4272 ) );
216            geographic_cs_type_codes.put( "NGO_1948", new Integer( 4273 ) );
217            geographic_cs_type_codes.put( "NGO 1948", new Integer( 4273 ) );
218            geographic_cs_type_codes.put( "NGO1948", new Integer( 4273 ) );
219            geographic_cs_type_codes.put( "Datum_73", new Integer( 4274 ) );
220            geographic_cs_type_codes.put( "Datum 73", new Integer( 4274 ) );
221            geographic_cs_type_codes.put( "Datum73", new Integer( 4274 ) );
222            geographic_cs_type_codes.put( "NTF", new Integer( 4275 ) );
223            geographic_cs_type_codes.put( "NSWC_9Z_2", new Integer( 4276 ) );
224            geographic_cs_type_codes.put( "NSWC 9Z 2", new Integer( 4276 ) );
225            geographic_cs_type_codes.put( "NSWC9Z2", new Integer( 4276 ) );
226            geographic_cs_type_codes.put( "OSGB_1936", new Integer( 4277 ) );
227            geographic_cs_type_codes.put( "OSGB 1936", new Integer( 4277 ) );
228            geographic_cs_type_codes.put( "OSGB1936", new Integer( 4277 ) );
229            geographic_cs_type_codes.put( "OSGB70", new Integer( 4278 ) );
230            geographic_cs_type_codes.put( "OS_SN80", new Integer( 4279 ) );
231            geographic_cs_type_codes.put( "OS SN80", new Integer( 4279 ) );
232            geographic_cs_type_codes.put( "OSSN80", new Integer( 4279 ) );
233            geographic_cs_type_codes.put( "Padang", new Integer( 4280 ) );
234            geographic_cs_type_codes.put( "Palestine_1923", new Integer( 4281 ) );
235            geographic_cs_type_codes.put( "Palestine 1923", new Integer( 4281 ) );
236            geographic_cs_type_codes.put( "Palestine1923", new Integer( 4281 ) );
237            geographic_cs_type_codes.put( "Pointe_Noire", new Integer( 4282 ) );
238            geographic_cs_type_codes.put( "Pointe Noire", new Integer( 4282 ) );
239            geographic_cs_type_codes.put( "PointeNoire", new Integer( 4282 ) );
240            geographic_cs_type_codes.put( "GDA94", new Integer( 4283 ) );
241            geographic_cs_type_codes.put( "Pulkovo_1942", new Integer( 4284 ) );
242            geographic_cs_type_codes.put( "Pulkovo 1942", new Integer( 4284 ) );
243            geographic_cs_type_codes.put( "Pulkovo1942", new Integer( 4284 ) );
244            geographic_cs_type_codes.put( "Qatar", new Integer( 4285 ) );
245            geographic_cs_type_codes.put( "Qatar_1948", new Integer( 4286 ) );
246            geographic_cs_type_codes.put( "Qatar 1948", new Integer( 4286 ) );
247            geographic_cs_type_codes.put( "Qatar1948", new Integer( 4286 ) );
248            geographic_cs_type_codes.put( "Qornoq", new Integer( 4287 ) );
249            geographic_cs_type_codes.put( "Loma_Quintana", new Integer( 4288 ) );
250            geographic_cs_type_codes.put( "Loma Quintana", new Integer( 4288 ) );
251            geographic_cs_type_codes.put( "LomaQuintana", new Integer( 4288 ) );
252            geographic_cs_type_codes.put( "Amersfoort", new Integer( 4289 ) );
253            geographic_cs_type_codes.put( "RT38", new Integer( 4290 ) );
254            geographic_cs_type_codes.put( "SAD69", new Integer( 4291 ) );
255            geographic_cs_type_codes.put( "Sapper_Hill_1943", new Integer( 4292 ) );
256            geographic_cs_type_codes.put( "Sapper Hill 1943", new Integer( 4292 ) );
257            geographic_cs_type_codes.put( "SapperHill1943", new Integer( 4292 ) );
258            geographic_cs_type_codes.put( "Schwarzeck", new Integer( 4293 ) );
259            geographic_cs_type_codes.put( "Segora", new Integer( 4294 ) );
260            geographic_cs_type_codes.put( "Serindung", new Integer( 4295 ) );
261            geographic_cs_type_codes.put( "Sudan", new Integer( 4296 ) );
262            geographic_cs_type_codes.put( "Tananarive", new Integer( 4297 ) );
263            geographic_cs_type_codes.put( "Timbalai_1948", new Integer( 4298 ) );
264            geographic_cs_type_codes.put( "Timbalai 1948", new Integer( 4298 ) );
265            geographic_cs_type_codes.put( "Timbalai1948", new Integer( 4298 ) );
266            geographic_cs_type_codes.put( "TM65", new Integer( 4299 ) );
267            geographic_cs_type_codes.put( "TM75", new Integer( 4300 ) );
268            geographic_cs_type_codes.put( "Tokyo", new Integer( 4301 ) );
269            geographic_cs_type_codes.put( "Trinidad_1903", new Integer( 4302 ) );
270            geographic_cs_type_codes.put( "Trinidad 1903", new Integer( 4302 ) );
271            geographic_cs_type_codes.put( "Trinidad1903", new Integer( 4302 ) );
272            geographic_cs_type_codes.put( "TC_1948", new Integer( 4303 ) );
273            geographic_cs_type_codes.put( "TC 1948", new Integer( 4303 ) );
274            geographic_cs_type_codes.put( "TC1948", new Integer( 4303 ) );
275            geographic_cs_type_codes.put( "Voirol_1875", new Integer( 4304 ) );
276            geographic_cs_type_codes.put( "Voirol 1875", new Integer( 4304 ) );
277            geographic_cs_type_codes.put( "Voirol1875", new Integer( 4304 ) );
278            geographic_cs_type_codes.put( "Voirol_Unifie", new Integer( 4305 ) );
279            geographic_cs_type_codes.put( "Voirol Unifie", new Integer( 4305 ) );
280            geographic_cs_type_codes.put( "VoirolUnifie", new Integer( 4305 ) );
281            geographic_cs_type_codes.put( "Bern_1938", new Integer( 4306 ) );
282            geographic_cs_type_codes.put( "Bern 1938", new Integer( 4306 ) );
283            geographic_cs_type_codes.put( "Bern1938", new Integer( 4306 ) );
284            geographic_cs_type_codes.put( "Nord_Sahara_1959", new Integer( 4307 ) );
285            geographic_cs_type_codes.put( "Nord Sahara 1959", new Integer( 4307 ) );
286            geographic_cs_type_codes.put( "NordSahara1959", new Integer( 4307 ) );
287            geographic_cs_type_codes.put( "Stockholm_1938", new Integer( 4308 ) );
288            geographic_cs_type_codes.put( "Stockholm 1938", new Integer( 4308 ) );
289            geographic_cs_type_codes.put( "Stockholm1938", new Integer( 4308 ) );
290            geographic_cs_type_codes.put( "Yacare", new Integer( 4309 ) );
291            geographic_cs_type_codes.put( "Yoff", new Integer( 4310 ) );
292            geographic_cs_type_codes.put( "Zanderij", new Integer( 4311 ) );
293            geographic_cs_type_codes.put( "MGI", new Integer( 4312 ) );
294            geographic_cs_type_codes.put( "Belge_1972", new Integer( 4313 ) );
295            geographic_cs_type_codes.put( "Belge 1972", new Integer( 4313 ) );
296            geographic_cs_type_codes.put( "Belge1972", new Integer( 4313 ) );
297            geographic_cs_type_codes.put( "DHDN", new Integer( 4314 ) );
298            geographic_cs_type_codes.put( "Conakry_1905", new Integer( 4315 ) );
299            geographic_cs_type_codes.put( "Conakry 1905", new Integer( 4315 ) );
300            geographic_cs_type_codes.put( "Conakry1905", new Integer( 4315 ) );
301            geographic_cs_type_codes.put( "WGS_72", new Integer( 4322 ) );
302            geographic_cs_type_codes.put( "WGS 72", new Integer( 4322 ) );
303            geographic_cs_type_codes.put( "WGS72", new Integer( 4322 ) );
304            geographic_cs_type_codes.put( "WGS_72BE", new Integer( 4324 ) );
305            geographic_cs_type_codes.put( "WGS 72BE", new Integer( 4324 ) );
306            geographic_cs_type_codes.put( "WGS72BE", new Integer( 4324 ) );
307            geographic_cs_type_codes.put( "WGS_84", new Integer( 4326 ) );
308            geographic_cs_type_codes.put( "WGS 84", new Integer( 4326 ) );
309            geographic_cs_type_codes.put( "WGS84", new Integer( 4326 ) );
310            geographic_cs_type_codes.put( "Bern_1898_Bern", new Integer( 4801 ) );
311            geographic_cs_type_codes.put( "Bern 1898 Bern", new Integer( 4801 ) );
312            geographic_cs_type_codes.put( "Bern1898Bern", new Integer( 4801 ) );
313            geographic_cs_type_codes.put( "Bogota_Bogota", new Integer( 4802 ) );
314            geographic_cs_type_codes.put( "Bogota Bogota", new Integer( 4802 ) );
315            geographic_cs_type_codes.put( "BogotaBogota", new Integer( 4802 ) );
316            geographic_cs_type_codes.put( "Lisbon_Lisbon", new Integer( 4803 ) );
317            geographic_cs_type_codes.put( "Lisbon Lisbon", new Integer( 4803 ) );
318            geographic_cs_type_codes.put( "LisbonLisbon", new Integer( 4803 ) );
319            geographic_cs_type_codes.put( "Makassar_Jakarta", new Integer( 4804 ) );
320            geographic_cs_type_codes.put( "Makassar_Jakarta", new Integer( 4804 ) );
321            geographic_cs_type_codes.put( "MakassarJakarta", new Integer( 4804 ) );
322            geographic_cs_type_codes.put( "MGI_Ferro", new Integer( 4805 ) );
323            geographic_cs_type_codes.put( "Monte_Mario_Rome", new Integer( 4806 ) );
324            geographic_cs_type_codes.put( "Monte Mario Rome", new Integer( 4806 ) );
325            geographic_cs_type_codes.put( "MonteMarioRome", new Integer( 4806 ) );
326            geographic_cs_type_codes.put( "NTF_Paris", new Integer( 4807 ) );
327            geographic_cs_type_codes.put( "NTF Paris", new Integer( 4807 ) );
328            geographic_cs_type_codes.put( "NTFParis", new Integer( 4807 ) );
329            geographic_cs_type_codes.put( "Padang_Jakarta", new Integer( 4808 ) );
330            geographic_cs_type_codes.put( "Padang Jakarta", new Integer( 4808 ) );
331            geographic_cs_type_codes.put( "PadangJakarta", new Integer( 4808 ) );
332            geographic_cs_type_codes.put( "Belge_1950_Brussels", new Integer( 4809 ) );
333            geographic_cs_type_codes.put( "Belge 1950 Brussels", new Integer( 4809 ) );
334            geographic_cs_type_codes.put( "Belge1950Brussels", new Integer( 4809 ) );
335            geographic_cs_type_codes.put( "Tananarive_Paris", new Integer( 4810 ) );
336            geographic_cs_type_codes.put( "Tananarive Paris", new Integer( 4810 ) );
337            geographic_cs_type_codes.put( "TananariveParis", new Integer( 4810 ) );
338            geographic_cs_type_codes.put( "Voirol_1875_Paris", new Integer( 4811 ) );
339            geographic_cs_type_codes.put( "Voirol 1875 Paris", new Integer( 4811 ) );
340            geographic_cs_type_codes.put( "Voirol1875Paris", new Integer( 4811 ) );
341            geographic_cs_type_codes.put( "Voirol_Unifie_Paris", new Integer( 4812 ) );
342            geographic_cs_type_codes.put( "Voirol Unifie Paris", new Integer( 4812 ) );
343            geographic_cs_type_codes.put( "VoirolUnifieParis", new Integer( 4812 ) );
344            geographic_cs_type_codes.put( "Batavia_Jakarta", new Integer( 4813 ) );
345            geographic_cs_type_codes.put( "Batavia Jakarta", new Integer( 4813 ) );
346            geographic_cs_type_codes.put( "BataviaJakarta", new Integer( 4813 ) );
347            geographic_cs_type_codes.put( "ATF_Paris", new Integer( 4901 ) );
348            geographic_cs_type_codes.put( "ATF Paris", new Integer( 4901 ) );
349            geographic_cs_type_codes.put( "ATFParis", new Integer( 4901 ) );
350            geographic_cs_type_codes.put( "NDG_Paris", new Integer( 4902 ) );
351            geographic_cs_type_codes.put( "NDG Paris", new Integer( 4902 ) );
352            geographic_cs_type_codes.put( "NDGParis", new Integer( 4902 ) );
353    
354            // Ellipsoid-Only GCS:
355            ellipsoid_only_GCS.put( "Airy1830", new Integer( 4001 ) );
356            ellipsoid_only_GCS.put( "AiryModified1849", new Integer( 4002 ) );
357            ellipsoid_only_GCS.put( "AustralianNationalSpheroid", new Integer( 4003 ) );
358            ellipsoid_only_GCS.put( "Bessel1841", new Integer( 4004 ) );
359            ellipsoid_only_GCS.put( "BesselModified", new Integer( 4005 ) );
360            ellipsoid_only_GCS.put( "BesselNamibia", new Integer( 4006 ) );
361            ellipsoid_only_GCS.put( "Clarke1858", new Integer( 4007 ) );
362            ellipsoid_only_GCS.put( "Clarke1866", new Integer( 4008 ) );
363            ellipsoid_only_GCS.put( "Clarke1866Michigan", new Integer( 4009 ) );
364            ellipsoid_only_GCS.put( "Clarke1880_Benoit", new Integer( 4010 ) );
365            ellipsoid_only_GCS.put( "Clarke1880 Benoit", new Integer( 4010 ) );
366            ellipsoid_only_GCS.put( "Clarke1880Benoit", new Integer( 4010 ) );
367            ellipsoid_only_GCS.put( "Clarke1880_IGN", new Integer( 4011 ) );
368            ellipsoid_only_GCS.put( "Clarke1880 IGN", new Integer( 4011 ) );
369            ellipsoid_only_GCS.put( "Clarke1880IGN", new Integer( 4011 ) );
370            ellipsoid_only_GCS.put( "Clarke1880_RGS", new Integer( 4012 ) );
371            ellipsoid_only_GCS.put( "Clarke1880 RGS", new Integer( 4012 ) );
372            ellipsoid_only_GCS.put( "Clarke1880RGS", new Integer( 4012 ) );
373            ellipsoid_only_GCS.put( "Clarke1880_Arc", new Integer( 4013 ) );
374            ellipsoid_only_GCS.put( "Clarke1880 Arc", new Integer( 4013 ) );
375            ellipsoid_only_GCS.put( "Clarke1880Arc", new Integer( 4013 ) );
376            ellipsoid_only_GCS.put( "Clarke1880_SGA1922", new Integer( 4014 ) );
377            ellipsoid_only_GCS.put( "Clarke1880 SGA1922", new Integer( 4014 ) );
378            ellipsoid_only_GCS.put( "Clarke1880SGA1922", new Integer( 4014 ) );
379            ellipsoid_only_GCS.put( "Everest1830_1937Adjustment", new Integer( 4015 ) );
380            ellipsoid_only_GCS.put( "Everest1830 1937Adjustment", new Integer( 4015 ) );
381            ellipsoid_only_GCS.put( "Everest18301937Adjustment", new Integer( 4015 ) );
382            ellipsoid_only_GCS.put( "Everest1830_1967Definition", new Integer( 4016 ) );
383            ellipsoid_only_GCS.put( "Everest1830 1967Definition", new Integer( 4016 ) );
384            ellipsoid_only_GCS.put( "Everest18301967Definition", new Integer( 4016 ) );
385            ellipsoid_only_GCS.put( "Everest1830_1975Definition", new Integer( 4017 ) );
386            ellipsoid_only_GCS.put( "Everest1830 1975Definition", new Integer( 4017 ) );
387            ellipsoid_only_GCS.put( "Everest18301975Definition", new Integer( 4017 ) );
388            ellipsoid_only_GCS.put( "Everest1830Modified", new Integer( 4018 ) );
389            ellipsoid_only_GCS.put( "GRS1980", new Integer( 4019 ) );
390            ellipsoid_only_GCS.put( "Helmert1906", new Integer( 4020 ) );
391            ellipsoid_only_GCS.put( "IndonesianNationalSpheroid", new Integer( 4021 ) );
392            ellipsoid_only_GCS.put( "International1924", new Integer( 4022 ) );
393            ellipsoid_only_GCS.put( "International1967", new Integer( 4023 ) );
394            ellipsoid_only_GCS.put( "Krassowsky1940", new Integer( 4024 ) );
395            ellipsoid_only_GCS.put( "NWL9D", new Integer( 4025 ) );
396            ellipsoid_only_GCS.put( "NWL10D", new Integer( 4026 ) );
397            ellipsoid_only_GCS.put( "Plessis1817", new Integer( 4027 ) );
398            ellipsoid_only_GCS.put( "Struve1860", new Integer( 4028 ) );
399            ellipsoid_only_GCS.put( "WarOffice", new Integer( 4029 ) );
400            ellipsoid_only_GCS.put( "WGS84", new Integer( 4030 ) );
401            ellipsoid_only_GCS.put( "GEM10C", new Integer( 4031 ) );
402            ellipsoid_only_GCS.put( "OSU86F", new Integer( 4032 ) );
403            ellipsoid_only_GCS.put( "OSU91A", new Integer( 4033 ) );
404            ellipsoid_only_GCS.put( "Clarke1880", new Integer( 4034 ) );
405            ellipsoid_only_GCS.put( "Sphere", new Integer( 4035 ) );
406    
407            // Geodetic Datum Codes
408            geodectic_datum_code.put( "Adindan", new Integer( 6201 ) );
409            geodectic_datum_code.put( "Australian_Geodetic_Datum_1966", new Integer( 6202 ) );
410            geodectic_datum_code.put( "Australian Geodetic Datum 1966", new Integer( 6202 ) );
411            geodectic_datum_code.put( "AustralianGeodeticDatum1966", new Integer( 6202 ) );
412            geodectic_datum_code.put( "Australian_Geodetic_Datum_1984", new Integer( 6203 ) );
413            geodectic_datum_code.put( "Australian Geodetic Datum 1984", new Integer( 6203 ) );
414            geodectic_datum_code.put( "AustralianGeodeticDatum1984", new Integer( 6203 ) );
415            geodectic_datum_code.put( "Ain_el_Abd_1970", new Integer( 6204 ) );
416            geodectic_datum_code.put( "Ain el Abd 1970", new Integer( 6204 ) );
417            geodectic_datum_code.put( "AinelAbd1970", new Integer( 6204 ) );
418            geodectic_datum_code.put( "Afgooye", new Integer( 6205 ) );
419            geodectic_datum_code.put( "Agadez", new Integer( 6206 ) );
420            geodectic_datum_code.put( "Lisbon", new Integer( 6207 ) );
421            geodectic_datum_code.put( "Aratu", new Integer( 6208 ) );
422            geodectic_datum_code.put( "Arc_1950", new Integer( 6209 ) );
423            geodectic_datum_code.put( "Arc1950", new Integer( 6209 ) );
424            geodectic_datum_code.put( "Arc1950", new Integer( 6209 ) );
425            geodectic_datum_code.put( "Arc_1960", new Integer( 6210 ) );
426            geodectic_datum_code.put( "Arc 1960", new Integer( 6210 ) );
427            geodectic_datum_code.put( "Arc1960", new Integer( 6210 ) );
428            geodectic_datum_code.put( "Batavia", new Integer( 6211 ) );
429            geodectic_datum_code.put( "Barbados", new Integer( 6212 ) );
430            geodectic_datum_code.put( "Beduaram", new Integer( 6213 ) );
431            geodectic_datum_code.put( "Beijing_1954", new Integer( 6214 ) );
432            geodectic_datum_code.put( "Beijing 1954", new Integer( 6214 ) );
433            geodectic_datum_code.put( "Beijing1954", new Integer( 6214 ) );
434            geodectic_datum_code.put( "Reseau_National_Belge_1950", new Integer( 6215 ) );
435            geodectic_datum_code.put( "Reseau National Belge 1950", new Integer( 6215 ) );
436            geodectic_datum_code.put( "ReseauNationalBelge1950", new Integer( 6215 ) );
437            geodectic_datum_code.put( "Bermuda_1957", new Integer( 6216 ) );
438            geodectic_datum_code.put( "Bermuda 1957", new Integer( 6216 ) );
439            geodectic_datum_code.put( "Bermuda1957", new Integer( 6216 ) );
440            geodectic_datum_code.put( "Bern_1898", new Integer( 6217 ) );
441            geodectic_datum_code.put( "Bern 1898", new Integer( 6217 ) );
442            geodectic_datum_code.put( "Bern1898", new Integer( 6217 ) );
443            geodectic_datum_code.put( "Bogota", new Integer( 6218 ) );
444            geodectic_datum_code.put( "Bukit_Rimpah", new Integer( 6219 ) );
445            geodectic_datum_code.put( "Bukit Rimpah", new Integer( 6219 ) );
446            geodectic_datum_code.put( "BukitRimpah", new Integer( 6219 ) );
447            geodectic_datum_code.put( "Camacupa", new Integer( 6220 ) );
448            geodectic_datum_code.put( "Campo_Inchauspe", new Integer( 6221 ) );
449            geodectic_datum_code.put( "Campo Inchauspe", new Integer( 6221 ) );
450            geodectic_datum_code.put( "CampoInchauspe", new Integer( 6221 ) );
451            geodectic_datum_code.put( "Cape", new Integer( 6222 ) );
452            geodectic_datum_code.put( "Carthage", new Integer( 6223 ) );
453            geodectic_datum_code.put( "Chua", new Integer( 6224 ) );
454            geodectic_datum_code.put( "Corrego_Alegre", new Integer( 6225 ) );
455            geodectic_datum_code.put( "Corrego Alegre", new Integer( 6225 ) );
456            geodectic_datum_code.put( "CorregoAlegre", new Integer( 6225 ) );
457            geodectic_datum_code.put( "Cote_d_Ivoire", new Integer( 6226 ) );
458            geodectic_datum_code.put( "Cote d Ivoire", new Integer( 6226 ) );
459            geodectic_datum_code.put( "CotedIvoire", new Integer( 6226 ) );
460            geodectic_datum_code.put( "Deir_ez_Zor", new Integer( 6227 ) );
461            geodectic_datum_code.put( "Deir ez Zor", new Integer( 6227 ) );
462            geodectic_datum_code.put( "DeirezZor", new Integer( 6227 ) );
463            geodectic_datum_code.put( "Douala", new Integer( 6228 ) );
464            geodectic_datum_code.put( "Egypt_1907", new Integer( 6229 ) );
465            geodectic_datum_code.put( "Egypt 1907", new Integer( 6229 ) );
466            geodectic_datum_code.put( "Egypt1907", new Integer( 6229 ) );
467            geodectic_datum_code.put( "European_Datum_1950", new Integer( 6230 ) );
468            geodectic_datum_code.put( "European Datum 1950", new Integer( 6230 ) );
469            geodectic_datum_code.put( "EuropeanDatum1950", new Integer( 6230 ) );
470            geodectic_datum_code.put( "European_Datum_1987", new Integer( 6231 ) );
471            geodectic_datum_code.put( "European Datum 1987", new Integer( 6231 ) );
472            geodectic_datum_code.put( "EuropeanDatum1987", new Integer( 6231 ) );
473            geodectic_datum_code.put( "Fahud", new Integer( 6232 ) );
474            geodectic_datum_code.put( "Gandajika_1970", new Integer( 6233 ) );
475            geodectic_datum_code.put( "Gandajika 1970", new Integer( 6233 ) );
476            geodectic_datum_code.put( "Gandajika1970", new Integer( 6233 ) );
477            geodectic_datum_code.put( "Garoua", new Integer( 6234 ) );
478            geodectic_datum_code.put( "Guyane_Francaise", new Integer( 6235 ) );
479            geodectic_datum_code.put( "Guyane Francaise", new Integer( 6235 ) );
480            geodectic_datum_code.put( "GuyaneFrancaise", new Integer( 6235 ) );
481            geodectic_datum_code.put( "Hu_Tzu_Shan", new Integer( 6236 ) );
482            geodectic_datum_code.put( "Hu Tzu Shan", new Integer( 6236 ) );
483            geodectic_datum_code.put( "HuTzuShan", new Integer( 6236 ) );
484            geodectic_datum_code.put( "Hungarian_Datum_1972", new Integer( 6237 ) );
485            geodectic_datum_code.put( "Hungarian Datum 1972", new Integer( 6237 ) );
486            geodectic_datum_code.put( "HungarianDatum1972", new Integer( 6237 ) );
487            geodectic_datum_code.put( "Indonesian_Datum_1974", new Integer( 6238 ) );
488            geodectic_datum_code.put( "Indonesian Datum 1974", new Integer( 6238 ) );
489            geodectic_datum_code.put( "IndonesianDatum1974", new Integer( 6238 ) );
490            geodectic_datum_code.put( "Indian_1954", new Integer( 6239 ) );
491            geodectic_datum_code.put( "Indian 1954", new Integer( 6239 ) );
492            geodectic_datum_code.put( "Indian1954", new Integer( 6239 ) );
493            geodectic_datum_code.put( "Indian_1975", new Integer( 6240 ) );
494            geodectic_datum_code.put( "Indian 1975", new Integer( 6240 ) );
495            geodectic_datum_code.put( "Indian1975", new Integer( 6240 ) );
496            geodectic_datum_code.put( "Jamaica_1875", new Integer( 6241 ) );
497            geodectic_datum_code.put( "Jamaica 1875", new Integer( 6241 ) );
498            geodectic_datum_code.put( "Jamaica1875", new Integer( 6241 ) );
499            geodectic_datum_code.put( "Jamaica_1969", new Integer( 6242 ) );
500            geodectic_datum_code.put( "Jamaica 1969", new Integer( 6242 ) );
501            geodectic_datum_code.put( "Jamaica1969", new Integer( 6242 ) );
502            geodectic_datum_code.put( "Kalianpur", new Integer( 6243 ) );
503            geodectic_datum_code.put( "Kandawala", new Integer( 6244 ) );
504            geodectic_datum_code.put( "Kertau", new Integer( 6245 ) );
505            geodectic_datum_code.put( "Kuwait_Oil_Company", new Integer( 6246 ) );
506            geodectic_datum_code.put( "Kuwait Oil Company", new Integer( 6246 ) );
507            geodectic_datum_code.put( "KuwaitOilCompany", new Integer( 6246 ) );
508            geodectic_datum_code.put( "La_Canoa", new Integer( 6247 ) );
509            geodectic_datum_code.put( "La Canoa", new Integer( 6247 ) );
510            geodectic_datum_code.put( "LaCanoa", new Integer( 6247 ) );
511            geodectic_datum_code.put( "Provisional_S_American_Datum_1956", new Integer( 6248 ) );
512            geodectic_datum_code.put( "Provisional S American Datum 1956", new Integer( 6248 ) );
513            geodectic_datum_code.put( "ProvisionalSAmericanDatum1956", new Integer( 6248 ) );
514            geodectic_datum_code.put( "Lake", new Integer( 6249 ) );
515            geodectic_datum_code.put( "Leigon", new Integer( 6250 ) );
516            geodectic_datum_code.put( "Liberia_1964", new Integer( 6251 ) );
517            geodectic_datum_code.put( "Liberia 1964", new Integer( 6251 ) );
518            geodectic_datum_code.put( "Liberia1964", new Integer( 6251 ) );
519            geodectic_datum_code.put( "Lome", new Integer( 6252 ) );
520            geodectic_datum_code.put( "Luzon_1911", new Integer( 6253 ) );
521            geodectic_datum_code.put( "Luzon 1911", new Integer( 6253 ) );
522            geodectic_datum_code.put( "Luzon1911", new Integer( 6253 ) );
523            geodectic_datum_code.put( "Hito_XVIII_1963", new Integer( 6254 ) );
524            geodectic_datum_code.put( "Hito XVIII 1963", new Integer( 6254 ) );
525            geodectic_datum_code.put( "HitoXVIII1963", new Integer( 6254 ) );
526            geodectic_datum_code.put( "Herat_North", new Integer( 6255 ) );
527            geodectic_datum_code.put( "Herat North", new Integer( 6255 ) );
528            geodectic_datum_code.put( "HeratNorth", new Integer( 6255 ) );
529            geodectic_datum_code.put( "Mahe_1971", new Integer( 6256 ) );
530            geodectic_datum_code.put( "Mahe 1971", new Integer( 6256 ) );
531            geodectic_datum_code.put( "Mahe1971", new Integer( 6256 ) );
532            geodectic_datum_code.put( "Makassar", new Integer( 6257 ) );
533            geodectic_datum_code.put( "European_Reference_System_1989", new Integer( 6258 ) );
534            geodectic_datum_code.put( "European Reference System 1989", new Integer( 6258 ) );
535            geodectic_datum_code.put( "EuropeanReferenceSystem1989", new Integer( 6258 ) );
536            geodectic_datum_code.put( "Malongo_1987", new Integer( 6259 ) );
537            geodectic_datum_code.put( "Malongo 1987", new Integer( 6259 ) );
538            geodectic_datum_code.put( "Malongo1987", new Integer( 6259 ) );
539            geodectic_datum_code.put( "Manoca", new Integer( 6260 ) );
540            geodectic_datum_code.put( "Merchich", new Integer( 6261 ) );
541            geodectic_datum_code.put( "Massawa", new Integer( 6262 ) );
542            geodectic_datum_code.put( "Minna", new Integer( 6263 ) );
543            geodectic_datum_code.put( "Mhast", new Integer( 6264 ) );
544            geodectic_datum_code.put( "Monte_Mario", new Integer( 6265 ) );
545            geodectic_datum_code.put( "Monte Mario", new Integer( 6265 ) );
546            geodectic_datum_code.put( "MonteMario", new Integer( 6265 ) );
547            geodectic_datum_code.put( "M_poraloko", new Integer( 6266 ) );
548            geodectic_datum_code.put( "M poraloko", new Integer( 6266 ) );
549            geodectic_datum_code.put( "Mporaloko", new Integer( 6266 ) );
550            geodectic_datum_code.put( "North_American_Datum_1927", new Integer( 6267 ) );
551            geodectic_datum_code.put( "North American Datum 1927", new Integer( 6267 ) );
552            geodectic_datum_code.put( "NorthAmericanDatum1927", new Integer( 6267 ) );
553            geodectic_datum_code.put( "NAD_Michigan", new Integer( 6268 ) );
554            geodectic_datum_code.put( "NAD Michigan", new Integer( 6268 ) );
555            geodectic_datum_code.put( "NADMichigan", new Integer( 6268 ) );
556            geodectic_datum_code.put( "North_American_Datum_1983", new Integer( 6269 ) );
557            geodectic_datum_code.put( "North American Datum 1983", new Integer( 6269 ) );
558            geodectic_datum_code.put( "NorthAmericanDatum1983", new Integer( 6269 ) );
559            geodectic_datum_code.put( "Nahrwan_1967", new Integer( 6270 ) );
560            geodectic_datum_code.put( "Nahrwan 1967", new Integer( 6270 ) );
561            geodectic_datum_code.put( "Nahrwan1967", new Integer( 6270 ) );
562            geodectic_datum_code.put( "Naparima_1972", new Integer( 6271 ) );
563            geodectic_datum_code.put( "Naparima 1972", new Integer( 6271 ) );
564            geodectic_datum_code.put( "Naparima1972", new Integer( 6271 ) );
565            geodectic_datum_code.put( "New_Zealand_Geodetic_Datum_1949", new Integer( 6272 ) );
566            geodectic_datum_code.put( "New Zealand Geodetic Datum 1949", new Integer( 6272 ) );
567            geodectic_datum_code.put( "NewZealandGeodeticDatum1949", new Integer( 6272 ) );
568            geodectic_datum_code.put( "NGO_1948", new Integer( 6273 ) );
569            geodectic_datum_code.put( "NGO 1948", new Integer( 6273 ) );
570            geodectic_datum_code.put( "NGO1948", new Integer( 6273 ) );
571            geodectic_datum_code.put( "Datum_73", new Integer( 6274 ) );
572            geodectic_datum_code.put( "Datum 73", new Integer( 6274 ) );
573            geodectic_datum_code.put( "Datum73", new Integer( 6274 ) );
574            geodectic_datum_code.put( "Nouvelle_Triangulation_Francaise", new Integer( 6275 ) );
575            geodectic_datum_code.put( "Nouvelle Triangulation Francaise", new Integer( 6275 ) );
576            geodectic_datum_code.put( "NouvelleTriangulationFrancaise", new Integer( 6275 ) );
577            geodectic_datum_code.put( "NSWC_9Z_2", new Integer( 6276 ) );
578            geodectic_datum_code.put( "NSWC 9Z 2", new Integer( 6276 ) );
579            geodectic_datum_code.put( "NSWC9Z2", new Integer( 6276 ) );
580            geodectic_datum_code.put( "OSGB_1936", new Integer( 6277 ) );
581            geodectic_datum_code.put( "OSGB 1936", new Integer( 6277 ) );
582            geodectic_datum_code.put( "OSGB1936", new Integer( 6277 ) );
583            geodectic_datum_code.put( "OSGB_1970_SN", new Integer( 6278 ) );
584            geodectic_datum_code.put( "OSGB 1970 SN", new Integer( 6278 ) );
585            geodectic_datum_code.put( "OSGB1970SN", new Integer( 6278 ) );
586            geodectic_datum_code.put( "OS_SN_1980", new Integer( 6279 ) );
587            geodectic_datum_code.put( "OS SN 1980", new Integer( 6279 ) );
588            geodectic_datum_code.put( "OSSN1980", new Integer( 6279 ) );
589            geodectic_datum_code.put( "Padang_1884", new Integer( 6280 ) );
590            geodectic_datum_code.put( "Padang 1884", new Integer( 6280 ) );
591            geodectic_datum_code.put( "Padang1884", new Integer( 6280 ) );
592            geodectic_datum_code.put( "Palestine_1923", new Integer( 6281 ) );
593            geodectic_datum_code.put( "Palestine 1923", new Integer( 6281 ) );
594            geodectic_datum_code.put( "Palestine1923", new Integer( 6281 ) );
595            geodectic_datum_code.put( "Pointe_Noire", new Integer( 6282 ) );
596            geodectic_datum_code.put( "Pointe Noire", new Integer( 6282 ) );
597            geodectic_datum_code.put( "PointeNoire", new Integer( 6282 ) );
598            geodectic_datum_code.put( "Geocentric_Datum_of_Australia_1994", new Integer( 6283 ) );
599            geodectic_datum_code.put( "Geocentric Datum of Australia 1994", new Integer( 6283 ) );
600            geodectic_datum_code.put( "GeocentricDatumofAustralia1994", new Integer( 6283 ) );
601            geodectic_datum_code.put( "Pulkovo_1942", new Integer( 6284 ) );
602            geodectic_datum_code.put( "Pulkovo 1942", new Integer( 6284 ) );
603            geodectic_datum_code.put( "Pulkovo1942", new Integer( 6284 ) );
604            geodectic_datum_code.put( "Qatar", new Integer( 6285 ) );
605            geodectic_datum_code.put( "Qatar_1948", new Integer( 6286 ) );
606            geodectic_datum_code.put( "Qatar 1948", new Integer( 6286 ) );
607            geodectic_datum_code.put( "Qatar1948", new Integer( 6286 ) );
608            geodectic_datum_code.put( "Qornoq", new Integer( 6287 ) );
609            geodectic_datum_code.put( "Loma_Quintana", new Integer( 6288 ) );
610            geodectic_datum_code.put( "Loma Quintana", new Integer( 6288 ) );
611            geodectic_datum_code.put( "LomaQuintana", new Integer( 6288 ) );
612            geodectic_datum_code.put( "Amersfoort", new Integer( 6289 ) );
613            geodectic_datum_code.put( "RT38", new Integer( 6290 ) );
614            geodectic_datum_code.put( "South_American_Datum_1969", new Integer( 6291 ) );
615            geodectic_datum_code.put( "South American Datum 1969", new Integer( 6291 ) );
616            geodectic_datum_code.put( "SouthAmericanDatum1969", new Integer( 6291 ) );
617            geodectic_datum_code.put( "Sapper_Hill_1943", new Integer( 6292 ) );
618            geodectic_datum_code.put( "Sapper Hill 1943", new Integer( 6292 ) );
619            geodectic_datum_code.put( "SapperHill1943", new Integer( 6292 ) );
620            geodectic_datum_code.put( "Schwarzeck", new Integer( 6293 ) );
621            geodectic_datum_code.put( "Segora", new Integer( 6294 ) );
622            geodectic_datum_code.put( "Serindung", new Integer( 6295 ) );
623            geodectic_datum_code.put( "Sudan", new Integer( 6296 ) );
624            geodectic_datum_code.put( "Tananarive_1925", new Integer( 6297 ) );
625            geodectic_datum_code.put( "Tananarive 1925", new Integer( 6297 ) );
626            geodectic_datum_code.put( "Tananarive1925", new Integer( 6297 ) );
627            geodectic_datum_code.put( "Timbalai_1948", new Integer( 6298 ) );
628            geodectic_datum_code.put( "Timbalai 1948", new Integer( 6298 ) );
629            geodectic_datum_code.put( "Timbalai1948", new Integer( 6298 ) );
630            geodectic_datum_code.put( "TM65", new Integer( 6299 ) );
631            geodectic_datum_code.put( "TM75", new Integer( 6300 ) );
632            geodectic_datum_code.put( "Tokyo", new Integer( 6301 ) );
633            geodectic_datum_code.put( "Trinidad_1903", new Integer( 6302 ) );
634            geodectic_datum_code.put( "Trinidad 1903", new Integer( 6302 ) );
635            geodectic_datum_code.put( "Trinidad1903", new Integer( 6302 ) );
636            geodectic_datum_code.put( "Trucial_Coast_1948", new Integer( 6303 ) );
637            geodectic_datum_code.put( "Trucial Coast 1948", new Integer( 6303 ) );
638            geodectic_datum_code.put( "TrucialCoast1948", new Integer( 6303 ) );
639            geodectic_datum_code.put( "Voirol_1875", new Integer( 6304 ) );
640            geodectic_datum_code.put( "Voirol 1875", new Integer( 6304 ) );
641            geodectic_datum_code.put( "Voirol1875", new Integer( 6304 ) );
642            geodectic_datum_code.put( "Voirol_Unifie_1960", new Integer( 6305 ) );
643            geodectic_datum_code.put( "Voirol Unifie 1960", new Integer( 6305 ) );
644            geodectic_datum_code.put( "VoirolUnifie1960", new Integer( 6305 ) );
645            geodectic_datum_code.put( "Bern_1938", new Integer( 6306 ) );
646            geodectic_datum_code.put( "Bern 1938", new Integer( 6306 ) );
647            geodectic_datum_code.put( "Bern1938", new Integer( 6306 ) );
648            geodectic_datum_code.put( "Nord_Sahara_1959", new Integer( 6307 ) );
649            geodectic_datum_code.put( "Nord Sahara 1959", new Integer( 6307 ) );
650            geodectic_datum_code.put( "NordSahara1959", new Integer( 6307 ) );
651            geodectic_datum_code.put( "Stockholm_1938", new Integer( 6308 ) );
652            geodectic_datum_code.put( "Stockholm 1938", new Integer( 6308 ) );
653            geodectic_datum_code.put( "Stockholm_1938", new Integer( 6308 ) );
654            geodectic_datum_code.put( "Yacare", new Integer( 6309 ) );
655            geodectic_datum_code.put( "Yoff", new Integer( 6310 ) );
656            geodectic_datum_code.put( "Zanderij", new Integer( 6311 ) );
657            geodectic_datum_code.put( "Militar_Geographische_Institut", new Integer( 6312 ) );
658            geodectic_datum_code.put( "Militar Geographische Institut", new Integer( 6312 ) );
659            geodectic_datum_code.put( "MilitarGeographischeInstitut", new Integer( 6312 ) );
660            geodectic_datum_code.put( "Reseau_National_Belge_1972", new Integer( 6313 ) );
661            geodectic_datum_code.put( "Reseau National Belge 1972", new Integer( 6313 ) );
662            geodectic_datum_code.put( "ReseauNationalBelge1972", new Integer( 6313 ) );
663            geodectic_datum_code.put( "Deutsche_Hauptdreiecksnetz", new Integer( 6314 ) );
664            geodectic_datum_code.put( "Deutsche Hauptdreiecksnetz", new Integer( 6314 ) );
665            geodectic_datum_code.put( "DeutscheHauptdreiecksnetz", new Integer( 6314 ) );
666            geodectic_datum_code.put( "Conakry_1905", new Integer( 6315 ) );
667            geodectic_datum_code.put( "Conakry 1905", new Integer( 6315 ) );
668            geodectic_datum_code.put( "Conakry1905", new Integer( 6315 ) );
669            geodectic_datum_code.put( "WGS72", new Integer( 6322 ) );
670            geodectic_datum_code.put( "WGS72_Transit_Broadcast_Ephemeris", new Integer( 6324 ) );
671            geodectic_datum_code.put( "WGS72 Transit Broadcast Ephemeris", new Integer( 6324 ) );
672            geodectic_datum_code.put( "WGS72_TransitBroadcastEphemeris", new Integer( 6324 ) );
673            geodectic_datum_code.put( "WGS84", new Integer( 6326 ) );
674            geodectic_datum_code.put( "Ancienne_Triangulation_Francaise", new Integer( 6901 ) );
675            geodectic_datum_code.put( "Ancienne Triangulation Francaise", new Integer( 6901 ) );
676            geodectic_datum_code.put( "AncienneTriangulationFrancaise", new Integer( 6901 ) );
677            geodectic_datum_code.put( "Nord_de_Guerre", new Integer( 6902 ) );
678            geodectic_datum_code.put( "Nord de Guerre", new Integer( 6902 ) );
679            geodectic_datum_code.put( "NorddeGuerre", new Integer( 6902 ) );
680    
681            // Ellipsoid-Only Datum
682            ellipsoid_only_datum.put( "Airy1830", new Integer( 6001 ) );
683            ellipsoid_only_datum.put( "AiryModified1849", new Integer( 6002 ) );
684            ellipsoid_only_datum.put( "AustralianNationalSpheroid", new Integer( 6003 ) );
685            ellipsoid_only_datum.put( "Bessel1841", new Integer( 6004 ) );
686            ellipsoid_only_datum.put( "BesselModified", new Integer( 6005 ) );
687            ellipsoid_only_datum.put( "BesselNamibia", new Integer( 6006 ) );
688            ellipsoid_only_datum.put( "Clarke1858", new Integer( 6007 ) );
689            ellipsoid_only_datum.put( "Clarke1866", new Integer( 6008 ) );
690            ellipsoid_only_datum.put( "Clarke1866Michigan", new Integer( 6009 ) );
691            ellipsoid_only_datum.put( "Clarke1880_Benoit", new Integer( 6010 ) );
692            ellipsoid_only_datum.put( "Clarke1880 Benoit", new Integer( 6010 ) );
693            ellipsoid_only_datum.put( "Clarke1880Benoit", new Integer( 6010 ) );
694            ellipsoid_only_datum.put( "Clarke1880_IGN", new Integer( 6011 ) );
695            ellipsoid_only_datum.put( "Clarke1880 IGN", new Integer( 6011 ) );
696            ellipsoid_only_datum.put( "Clarke1880IGN", new Integer( 6011 ) );
697            ellipsoid_only_datum.put( "Clarke1880_RGS", new Integer( 6012 ) );
698            ellipsoid_only_datum.put( "Clarke1880 RGS", new Integer( 6012 ) );
699            ellipsoid_only_datum.put( "Clarke1880RGS", new Integer( 6012 ) );
700            ellipsoid_only_datum.put( "Clarke1880_Arc", new Integer( 6013 ) );
701            ellipsoid_only_datum.put( "Clarke1880 Arc", new Integer( 6013 ) );
702            ellipsoid_only_datum.put( "Clarke1880Arc", new Integer( 6013 ) );
703            ellipsoid_only_datum.put( "Clarke1880_SGA1922", new Integer( 6014 ) );
704            ellipsoid_only_datum.put( "Clarke1880 SGA1922", new Integer( 6014 ) );
705            ellipsoid_only_datum.put( "Clarke1880SGA1922", new Integer( 6014 ) );
706            ellipsoid_only_datum.put( "Everest1830_1937Adjustment", new Integer( 6015 ) );
707            ellipsoid_only_datum.put( "Everest1830 1937Adjustment", new Integer( 6015 ) );
708            ellipsoid_only_datum.put( "Everest18301937Adjustment", new Integer( 6015 ) );
709            ellipsoid_only_datum.put( "Everest1830_1967Definition", new Integer( 6016 ) );
710            ellipsoid_only_datum.put( "Everest1830 1967Definition", new Integer( 6016 ) );
711            ellipsoid_only_datum.put( "Everest18301967Definition", new Integer( 6016 ) );
712            ellipsoid_only_datum.put( "Everest1830_1975Definition", new Integer( 6017 ) );
713            ellipsoid_only_datum.put( "Everest1830 1975Definition", new Integer( 6017 ) );
714            ellipsoid_only_datum.put( "Everest18301975Definition", new Integer( 6017 ) );
715            ellipsoid_only_datum.put( "Everest1830Modified", new Integer( 6018 ) );
716            ellipsoid_only_datum.put( "GRS1980", new Integer( 6019 ) );
717            ellipsoid_only_datum.put( "Helmert1906", new Integer( 6020 ) );
718            ellipsoid_only_datum.put( "IndonesianNationalSpheroid", new Integer( 6021 ) );
719            ellipsoid_only_datum.put( "International1924", new Integer( 6022 ) );
720            ellipsoid_only_datum.put( "International1967", new Integer( 6023 ) );
721            ellipsoid_only_datum.put( "Krassowsky1960", new Integer( 6024 ) );
722            ellipsoid_only_datum.put( "NWL9D", new Integer( 6025 ) );
723            ellipsoid_only_datum.put( "NWL10D", new Integer( 6026 ) );
724            ellipsoid_only_datum.put( "Plessis1817", new Integer( 6027 ) );
725            ellipsoid_only_datum.put( "Struve1860", new Integer( 6028 ) );
726            ellipsoid_only_datum.put( "WarOffice", new Integer( 6029 ) );
727            ellipsoid_only_datum.put( "WGS84", new Integer( 6030 ) );
728            ellipsoid_only_datum.put( "GEM10C", new Integer( 6031 ) );
729            ellipsoid_only_datum.put( "OSU86F", new Integer( 6032 ) );
730            ellipsoid_only_datum.put( "OSU91A", new Integer( 6033 ) );
731            ellipsoid_only_datum.put( "Clarke1880", new Integer( 6034 ) );
732            ellipsoid_only_datum.put( "Sphere", new Integer( 6035 ) );
733    
734        }
735    
736        /**
737         *
738         * @param code
739         * @return true if prime CS type code available
740         */
741        public static boolean containsGeographicCSTypeCode( String code ) {
742            if ( geographic_cs_type_codes.containsKey( code ) ) {
743                return true;
744            }
745            return false;
746        }
747    
748        /**
749         * checks, if Code is found and returns the appropriate key-value.
750         *
751         * @param code
752         * @return type code
753         * @throws GeoTiffException
754         *             if Code is not found.
755         */
756        public static int getGeogrpahicCSTypeCode( String code )
757                                throws GeoTiffException {
758            if ( containsGeographicCSTypeCode( code ) ) {
759                int value = Geographic_CS_Codes.geographic_cs_type_codes.get( code );
760                return value;
761            }
762            throw new GeoTiffException( "Error in accessing Geogrpahics CS Type Code.\n" + "  Code: " + code
763                                        + " not found." );
764    
765        }
766    
767        /**
768         *
769         * @param code
770         * @return true if prime ellipse GCS available
771         */
772        public static boolean contains_Ellipsoid_Only_GCS( String code ) {
773            return ellipsoid_only_GCS.containsKey( code );
774        }
775    
776        /**
777         *
778         * @param code
779         * @return true if prime geodectic datum available
780         */
781        public static boolean contains_Geodectic_Datum_Code( String code ) {
782            return geodectic_datum_code.containsKey( code );
783        }
784    
785        /**
786         *
787         * @param code
788         * @return true if prime ellipse datum available
789         */
790        public static boolean contains_Ellipsoid_Only_Datum( String code ) {
791            return ellipsoid_only_datum.containsKey( code );
792        }
793    
794        /**
795         *
796         * @param code
797         * @return true if prime ellipse available
798         */
799        public static boolean contains_Ellipsoid_Codes( String code ) {
800            return ellipsoid_codes.containsKey( code );
801        }
802    
803        /**
804         *
805         * @param code
806         * @return true if prime meridian available
807         */
808        public static boolean contains_Prime_Meridian_Codes( String code ) {
809            return prime_meridian_codes.containsKey( code );
810        }
811    
812    }