Project

General

Profile

« Previous | Next » 

Revision 6acc30f5

Added by Andreas Müller over 6 years ago

Add doc for user defined FauEu area import

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/faunaEuropaea/FaunaEuropaeaTransformer.java
218 218
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("ALB-OO");
219 219
            } else if (areaCode.equals("AT")) {
220 220
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("AUT-AU");
221
            //still needs to be checked if fully correct and covers the same area #5410
221 222
            } else if (areaCode.equals("AUS")) {
222 223
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("AUS"); // Australian region - Australia
223 224
            } else if (areaCode.equals("BA")) {
......
264 265
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("IRE-NI");
265 266
            } else if (areaCode.equals("GR-GRC")) {
266 267
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("GRC-OO");
268

  
269
             //Greek islands not covered by TDWG
270
//            } else if (areaCode.equals("GR-AEG")) {
271
//                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("");
272
//            } else if (areaCode.equals("GR-CYC")) {
273
//                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("");
274
//            } else if (areaCode.equals("GR-DOD")) {
275
//                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("");
276
//            } else if (areaCode.equals("GR-KRI")) {
277
//                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("");
278

  
267 279
            } else if (areaCode.equals("HR")) {
268 280
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("YUG-CR");
269 281
            } else if (areaCode.equals("HU")) {
......
312 324
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("SEL-OO");
313 325
            } else if (areaCode.equals("RO")) {
314 326
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("ROM-OO");
327
//            } else if (areaCode.equals("RU-FJL")) {
328
//                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("");
315 329
            } else if (areaCode.equals("RU-KGD")) {
316 330
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("BLT-KA");
331
//          } else if (areaCode.equals("RU-NOZ")) {
332
//              tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("");
317 333
            } else if (areaCode.equals("RU-RUC")) {
318 334
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("RUC-OO");
319 335
            } else if (areaCode.equals("RU-RUE")) {
......
337 353
                //else if (areaCode.equals("UA")) tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("UKR-UK"); //UKraine including Crimea
338 354
            } else if (areaCode.equals("VA")) {
339 355
                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("ITA-VC");
340
            //the mapping YU-YUG is incorrect as YUG is larger then YU. The later holds only Serbia, Montenegro and Kozovo while YUG is all former Yugoslavia
356
            //the mapping YU->YUG is incorrect as YUG is larger then YU. The later holds only Serbia, Montenegro and Kozovo while YUG is all former Yugoslavia
341 357
            //and therefore we disable the mapping
342 358
//            } else if (areaCode.equals("YU")) {
343 359
//                tdwgArea = TdwgAreaProvider.getAreaByTdwgAbbreviation("YUG");
360

  
361
            //world wide areas AFR, (AUS), EPA, NAF, NEA, NEO, NRE, ORR not yet mapped
362

  
344 363
            } else {
345 364
                throw new UnknownCdmTypeException("Unknown Area " + areaCode);
346 365
            }

Also available in: Unified diff