1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package s57;
|
---|
3 |
|
---|
4 | import java.util.EnumMap;
|
---|
5 | import java.util.HashMap;
|
---|
6 |
|
---|
7 | import s57.S57obj.Obj;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * @author Malcolm Herring
|
---|
11 | */
|
---|
12 | public final class S57att { // S57 Attribute lookup tables & methods
|
---|
13 | private S57att() {
|
---|
14 | // Hide default constructor for utilities classes
|
---|
15 | }
|
---|
16 | // CHECKSTYLE.OFF: LineLength
|
---|
17 |
|
---|
18 | public enum Att {
|
---|
19 | UNKATT, AGENCY, BCNSHP, BUISHP, BOYSHP, BURDEP, CALSGN, CATAIR, CATACH, CATBRG, CATBUA, CATCBL, CATCAN, CATCAM, CATCHP, CATCOA, CATCTR, CATCON, CATCRN, CATDAM,
|
---|
20 | CATDIS, CATDOC, CATDPG, CATFNC, CATFRY, CATFIF, CATFOG, CATFOR, CATGAT, CATHAF, CATHLK, CATICE, CATINB, CATLND, CATLMK, CATLAM, CATLIT, CATMFA, CATMPA, CATMOR,
|
---|
21 | CATNAV, CATOBS, CATOFP, CATOLB, CATPLE, CATPIL, CATPIP, CATPRA, CATPYL, CATRAS, CATRTB, CATROS, CATTRK, CATRSC, CATREA, CATROD, CATRUN, CATSEA, CATSLC, CATSIT,
|
---|
22 | CATSIW, CATSIL, CATSLO, CATSCF, CATSPM, CATTSS, CATVEG, CATWAT, CATWED, CATWRK, COLOUR, COLPAT, COMCHA, CPDATE, CSCALE, CONDTN, CONRAD, CONVIS, CURVEL, DATEND,
|
---|
23 | DATSTA, DRVAL1, DRVAL2, ELEVAT, ESTRNG, EXCLIT, EXPSOU, FUNCTN, HEIGHT, HORACC, HORCLR, HORLEN, HORWID, ICEFAC, INFORM, JRSDTN, LIFCAP, LITCHR, LITVIS, MARSYS,
|
---|
24 | MLTYLT, NATION, NATCON, NATSUR, NATQUA, NMDATE, OBJNAM, ORIENT, PEREND, PERSTA, PICREP, PILDST, PRCTRY, PRODCT, PUBREF, QUASOU, RADWAL, RADIUS, RYRMGV, RESTRN,
|
---|
25 | SCAMIN, SCVAL1, SCVAL2, SECTR1, SECTR2, SHIPAM, SIGFRQ, SIGGEN, SIGGRP, SIGPER, SIGSEQ, SOUACC, SDISMX, SDISMN, SORDAT, SORIND, STATUS, SURATH, SUREND, SURSTA,
|
---|
26 | SURTYP, TECSOU, TXTDSC, TS_TSP, TS_TSV, T_ACWL, T_HWLW, T_MTOD, T_THDF, T_TINT, T_TSVL, T_VAHC, TIMEND, TIMSTA, TOPSHP, TRAFIC, VALACM, VALDCO, VALLMA, VALMAG,
|
---|
27 | VALMXR, VALNMR, VALSOU, VERACC, VERCLR, VERCCL, VERCOP, VERCSA, VERDAT, VERLEN, WATLEV, CAT_TS, NINFOM, NOBJNM, NPLDST, NTXTDS, HORDAT, POSACC, QUAPOS, CLSDNG,
|
---|
28 | DIRIMP, DISBK1, DISBK2, DISIPU, DISIPD, ELEVA1, ELEVA2, FNCTNM, WTWDIS, BUNVES, BNKWTW, COMCTN, HORCLL, HORCLW, TRSHGD, UNLOCD, HIGWAT, HIGNAM, LOWWAT, LOWNAM,
|
---|
29 | MEAWAT, MEANAM, OTHWAT, OTHNAM, REFLEV, SDRLEV, VCRLEV, SCHREF, USESHP, CURVHW, CURVLW, CURVMW, CURVOW, APTREF, SHPTYP, UPDMSG, ADDMRK, CATNMK, CATBRT, CATBUN,
|
---|
30 | CATCCL, CATCOM, CATHBR, CATRFD, CATTML, CATGAG, CATVTR, CATTAB, CATEXS, LG_SPD, LG_SPR, LG_BME, LG_LGS, LG_DRT, LG_WDP, LG_WDU, LG_REL, LG_FNC, LG_DES, LG_PBR,
|
---|
31 | LC_CSI, LC_CSE, LC_ASI, LC_ASE, LC_CCI, LC_CCE, LC_BM1, LC_BM2, LC_LG1, LC_LG2, LC_DR1, LC_DR2, LC_SP1, LC_SP2, LC_WD1, LC_WD2, CATCVR, HUNITS, CATOPA, CATSCH,
|
---|
32 | CATVAN
|
---|
33 | }
|
---|
34 |
|
---|
35 | private static final EnumMap<Att, Integer> AttS57 = new EnumMap<>(Att.class);
|
---|
36 | static {
|
---|
37 | AttS57.put(Att.UNKATT, 0); AttS57.put(Att.AGENCY, 1); AttS57.put(Att.BCNSHP, 2); AttS57.put(Att.BUISHP, 3); AttS57.put(Att.BOYSHP, 4); AttS57.put(Att.BURDEP, 5);
|
---|
38 | AttS57.put(Att.CALSGN, 6); AttS57.put(Att.CATAIR, 7); AttS57.put(Att.CATACH, 8); AttS57.put(Att.CATBRG, 9); AttS57.put(Att.CATBUA, 10); AttS57.put(Att.CATCBL, 11);
|
---|
39 | AttS57.put(Att.CATCAN, 12); AttS57.put(Att.CATCAM, 13); AttS57.put(Att.CATCHP, 14); AttS57.put(Att.CATCOA, 15); AttS57.put(Att.CATCTR, 16); AttS57.put(Att.CATCON, 17);
|
---|
40 | AttS57.put(Att.CATCVR, 18); AttS57.put(Att.CATCRN, 19); AttS57.put(Att.CATDAM, 20); AttS57.put(Att.CATDIS, 21); AttS57.put(Att.CATDOC, 22); AttS57.put(Att.CATDPG, 23);
|
---|
41 | AttS57.put(Att.CATFNC, 24); AttS57.put(Att.CATFRY, 25); AttS57.put(Att.CATFIF, 26); AttS57.put(Att.CATFOG, 27); AttS57.put(Att.CATFOR, 28); AttS57.put(Att.CATGAT, 29);
|
---|
42 | AttS57.put(Att.CATHAF, 30); AttS57.put(Att.CATHLK, 31); AttS57.put(Att.CATICE, 32); AttS57.put(Att.CATINB, 33); AttS57.put(Att.CATLND, 34); AttS57.put(Att.CATLMK, 35);
|
---|
43 | AttS57.put(Att.CATLAM, 36); AttS57.put(Att.CATLIT, 37); AttS57.put(Att.CATMFA, 38); AttS57.put(Att.CATMPA, 39); AttS57.put(Att.CATMOR, 40); AttS57.put(Att.CATNAV, 41);
|
---|
44 | AttS57.put(Att.CATOBS, 42); AttS57.put(Att.CATOFP, 43); AttS57.put(Att.CATOLB, 44); AttS57.put(Att.CATPLE, 45); AttS57.put(Att.CATPIL, 46); AttS57.put(Att.CATPIP, 47);
|
---|
45 | AttS57.put(Att.CATPRA, 48); AttS57.put(Att.CATPYL, 49); AttS57.put(Att.CATRAS, 51); AttS57.put(Att.CATRTB, 52); AttS57.put(Att.CATROS, 53); AttS57.put(Att.CATTRK, 54);
|
---|
46 | AttS57.put(Att.CATRSC, 55); AttS57.put(Att.CATREA, 56); AttS57.put(Att.CATROD, 57); AttS57.put(Att.CATRUN, 58); AttS57.put(Att.CATSEA, 59); AttS57.put(Att.CATSLC, 60);
|
---|
47 | AttS57.put(Att.CATSIT, 61); AttS57.put(Att.CATSIW, 62); AttS57.put(Att.CATSIL, 63); AttS57.put(Att.CATSLO, 64); AttS57.put(Att.CATSCF, 65); AttS57.put(Att.CATSPM, 66);
|
---|
48 | AttS57.put(Att.CATTSS, 67); AttS57.put(Att.CATVEG, 68); AttS57.put(Att.CATWAT, 69); AttS57.put(Att.CATWED, 70); AttS57.put(Att.CATWRK, 71); AttS57.put(Att.COLOUR, 75);
|
---|
49 | AttS57.put(Att.COLPAT, 76); AttS57.put(Att.COMCHA, 77); AttS57.put(Att.CONDTN, 81); AttS57.put(Att.CONRAD, 82); AttS57.put(Att.CONVIS, 83); AttS57.put(Att.CURVEL, 84);
|
---|
50 | AttS57.put(Att.DATEND, 85); AttS57.put(Att.DATSTA, 86); AttS57.put(Att.DRVAL1, 87); AttS57.put(Att.DRVAL2, 88); AttS57.put(Att.ELEVAT, 90); AttS57.put(Att.ESTRNG, 91);
|
---|
51 | AttS57.put(Att.EXCLIT, 92); AttS57.put(Att.EXPSOU, 93); AttS57.put(Att.FUNCTN, 94); AttS57.put(Att.HEIGHT, 95); AttS57.put(Att.HUNITS, 96); AttS57.put(Att.HORACC, 97);
|
---|
52 | AttS57.put(Att.HORCLR, 98); AttS57.put(Att.HORLEN, 99); AttS57.put(Att.HORWID, 100); AttS57.put(Att.ICEFAC, 101); AttS57.put(Att.INFORM, 102); AttS57.put(Att.JRSDTN, 103);
|
---|
53 | AttS57.put(Att.LIFCAP, 106); AttS57.put(Att.LITCHR, 107); AttS57.put(Att.LITVIS, 108); AttS57.put(Att.MARSYS, 109); AttS57.put(Att.MLTYLT, 110); AttS57.put(Att.NATION, 111);
|
---|
54 | AttS57.put(Att.NATCON, 112); AttS57.put(Att.NATSUR, 113); AttS57.put(Att.NATQUA, 114); AttS57.put(Att.NMDATE, 115); AttS57.put(Att.OBJNAM, 116); AttS57.put(Att.ORIENT, 117);
|
---|
55 | AttS57.put(Att.PEREND, 118); AttS57.put(Att.PERSTA, 119); AttS57.put(Att.PICREP, 120); AttS57.put(Att.PILDST, 121); AttS57.put(Att.PRCTRY, 122); AttS57.put(Att.PRODCT, 123);
|
---|
56 | AttS57.put(Att.PUBREF, 124); AttS57.put(Att.QUASOU, 125); AttS57.put(Att.RADWAL, 126); AttS57.put(Att.RADIUS, 127); AttS57.put(Att.RYRMGV, 130); AttS57.put(Att.RESTRN, 131);
|
---|
57 | AttS57.put(Att.SCAMIN, 133); AttS57.put(Att.SCVAL1, 134); AttS57.put(Att.SCVAL2, 135); AttS57.put(Att.SECTR1, 136); AttS57.put(Att.SECTR2, 137); AttS57.put(Att.SHIPAM, 138);
|
---|
58 | AttS57.put(Att.SIGFRQ, 139); AttS57.put(Att.SIGGEN, 140); AttS57.put(Att.SIGGRP, 141); AttS57.put(Att.SIGPER, 142); AttS57.put(Att.SIGSEQ, 143); AttS57.put(Att.SOUACC, 144);
|
---|
59 | AttS57.put(Att.SDISMX, 145); AttS57.put(Att.SDISMN, 146); AttS57.put(Att.SORDAT, 147); AttS57.put(Att.SORIND, 148); AttS57.put(Att.STATUS, 149); AttS57.put(Att.SURATH, 150);
|
---|
60 | AttS57.put(Att.SUREND, 151); AttS57.put(Att.SURSTA, 152); AttS57.put(Att.SURTYP, 153); AttS57.put(Att.TECSOU, 156); AttS57.put(Att.TXTDSC, 158); AttS57.put(Att.TIMEND, 168);
|
---|
61 | AttS57.put(Att.TIMSTA, 169); AttS57.put(Att.TOPSHP, 171); AttS57.put(Att.TRAFIC, 172); AttS57.put(Att.VALACM, 173); AttS57.put(Att.VALDCO, 174); AttS57.put(Att.VALLMA, 175);
|
---|
62 | AttS57.put(Att.VALMAG, 176); AttS57.put(Att.VALMXR, 177); AttS57.put(Att.VALNMR, 178); AttS57.put(Att.VALSOU, 179); AttS57.put(Att.VERACC, 180); AttS57.put(Att.VERCLR, 181);
|
---|
63 | AttS57.put(Att.VERCCL, 182); AttS57.put(Att.VERCOP, 183); AttS57.put(Att.VERCSA, 184); AttS57.put(Att.VERDAT, 185); AttS57.put(Att.VERLEN, 186); AttS57.put(Att.WATLEV, 187);
|
---|
64 | AttS57.put(Att.CAT_TS, 188); AttS57.put(Att.NINFOM, 300); AttS57.put(Att.NOBJNM, 301); AttS57.put(Att.NPLDST, 302); AttS57.put(Att.NTXTDS, 304); AttS57.put(Att.HORDAT, 400);
|
---|
65 | AttS57.put(Att.POSACC, 401); AttS57.put(Att.QUAPOS, 402); AttS57.put(Att.CATOPA, 900); AttS57.put(Att.CATSCH, 901); AttS57.put(Att.CATVAN, 902);
|
---|
66 | }
|
---|
67 |
|
---|
68 | private static final EnumMap<Att, Integer> AttIENC = new EnumMap<>(Att.class);
|
---|
69 | static {
|
---|
70 | AttIENC.put(Att.CATACH, 17000); AttIENC.put(Att.CATDIS, 17001); AttIENC.put(Att.CATSIT, 17002); AttIENC.put(Att.CATSIW, 17003); AttIENC.put(Att.RESTRN, 17004);
|
---|
71 | AttIENC.put(Att.VERDAT, 17005); AttIENC.put(Att.CATBRG, 17006); AttIENC.put(Att.CATFRY, 17007); AttIENC.put(Att.CATHAF, 17008); AttIENC.put(Att.MARSYS, 17009);
|
---|
72 | AttIENC.put(Att.CATCHP, 17010); AttIENC.put(Att.CATLAM, 17011); AttIENC.put(Att.CATSLC, 17012); AttIENC.put(Att.ADDMRK, 17050); AttIENC.put(Att.CATNMK, 17052);
|
---|
73 | AttIENC.put(Att.CLSDNG, 17055); AttIENC.put(Att.DIRIMP, 17056); AttIENC.put(Att.DISBK1, 17057); AttIENC.put(Att.DISBK2, 17058); AttIENC.put(Att.DISIPU, 17059);
|
---|
74 | AttIENC.put(Att.DISIPD, 17060); AttIENC.put(Att.ELEVA1, 17061); AttIENC.put(Att.ELEVA2, 17062); AttIENC.put(Att.FNCTNM, 17063); AttIENC.put(Att.WTWDIS, 17064);
|
---|
75 | AttIENC.put(Att.BUNVES, 17065); AttIENC.put(Att.CATBRT, 17066); AttIENC.put(Att.CATBUN, 17067); AttIENC.put(Att.CATCCL, 17069); AttIENC.put(Att.CATHBR, 17070);
|
---|
76 | AttIENC.put(Att.CATRFD, 17071); AttIENC.put(Att.CATTML, 17072); AttIENC.put(Att.COMCTN, 17073); AttIENC.put(Att.HORCLL, 17074); AttIENC.put(Att.HORCLW, 17075);
|
---|
77 | AttIENC.put(Att.TRSHGD, 17076); AttIENC.put(Att.UNLOCD, 17077); AttIENC.put(Att.CATGAG, 17078); AttIENC.put(Att.HIGWAT, 17080); AttIENC.put(Att.HIGNAM, 17081);
|
---|
78 | AttIENC.put(Att.LOWWAT, 17082); AttIENC.put(Att.LOWNAM, 17083); AttIENC.put(Att.MEAWAT, 17084); AttIENC.put(Att.MEANAM, 17085); AttIENC.put(Att.OTHWAT, 17086);
|
---|
79 | AttIENC.put(Att.OTHNAM, 17087); AttIENC.put(Att.REFLEV, 17088); AttIENC.put(Att.SDRLEV, 17089); AttIENC.put(Att.VCRLEV, 17090); AttIENC.put(Att.CATVTR, 17091);
|
---|
80 | AttIENC.put(Att.CATTAB, 17092); AttIENC.put(Att.SCHREF, 17093); AttIENC.put(Att.USESHP, 17094); AttIENC.put(Att.CURVHW, 17095); AttIENC.put(Att.CURVLW, 17096);
|
---|
81 | AttIENC.put(Att.CURVMW, 17097); AttIENC.put(Att.CURVOW, 17098); AttIENC.put(Att.APTREF, 17099); AttIENC.put(Att.CATEXS, 17100); AttIENC.put(Att.CATCBL, 17101);
|
---|
82 | AttIENC.put(Att.CATHLK, 17102); AttIENC.put(Att.HUNITS, 17103); AttIENC.put(Att.WATLEV, 17104); AttIENC.put(Att.LG_SPD, 18001); AttIENC.put(Att.LG_SPR, 18002);
|
---|
83 | AttIENC.put(Att.LG_BME, 18003); AttIENC.put(Att.LG_LGS, 18004); AttIENC.put(Att.LG_DRT, 18005); AttIENC.put(Att.LG_WDP, 18006); AttIENC.put(Att.LG_WDU, 18007);
|
---|
84 | AttIENC.put(Att.LG_REL, 18008); AttIENC.put(Att.LG_FNC, 18009); AttIENC.put(Att.LG_DES, 18010); AttIENC.put(Att.LG_PBR, 18011); AttIENC.put(Att.LC_CSI, 18012);
|
---|
85 | AttIENC.put(Att.LC_CSE, 18013); AttIENC.put(Att.LC_ASI, 18014); AttIENC.put(Att.LC_ASE, 18015); AttIENC.put(Att.LC_CCI, 18016); AttIENC.put(Att.LC_CCE, 18017);
|
---|
86 | AttIENC.put(Att.LC_BM1, 18018); AttIENC.put(Att.LC_BM2, 18019); AttIENC.put(Att.LC_LG1, 18020); AttIENC.put(Att.LC_LG2, 18021); AttIENC.put(Att.LC_DR1, 18022);
|
---|
87 | AttIENC.put(Att.LC_DR2, 18023); AttIENC.put(Att.LC_SP1, 18024); AttIENC.put(Att.LC_SP2, 18025); AttIENC.put(Att.LC_WD1, 18026); AttIENC.put(Att.LC_WD2, 18027);
|
---|
88 | AttIENC.put(Att.SHPTYP, 33066); AttIENC.put(Att.UPDMSG, 40000); AttIENC.put(Att.BNKWTW, 17999);
|
---|
89 | }
|
---|
90 |
|
---|
91 | private static final EnumMap<Att, String> AttStr = new EnumMap<>(Att.class);
|
---|
92 | static {
|
---|
93 | AttStr.put(Att.UNKATT, ""); AttStr.put(Att.AGENCY, "agency"); AttStr.put(Att.BCNSHP, "shape"); AttStr.put(Att.BUISHP, "shape"); AttStr.put(Att.BOYSHP, "shape");
|
---|
94 | AttStr.put(Att.BURDEP, "depth_buried"); AttStr.put(Att.CALSGN, "callsign"); AttStr.put(Att.CATAIR, "category"); AttStr.put(Att.CATACH, "category");
|
---|
95 | AttStr.put(Att.CATBRG, "category"); AttStr.put(Att.CATBUA, "category"); AttStr.put(Att.CATCBL, "category"); AttStr.put(Att.CATCAN, "category");
|
---|
96 | AttStr.put(Att.CATCAM, "category"); AttStr.put(Att.CATCHP, "category"); AttStr.put(Att.CATCOA, "category"); AttStr.put(Att.CATCTR, "category");
|
---|
97 | AttStr.put(Att.CATCON, "category"); AttStr.put(Att.CATCRN, "category"); AttStr.put(Att.CATDAM, "category"); AttStr.put(Att.CATDIS, "category");
|
---|
98 | AttStr.put(Att.CATDOC, "category"); AttStr.put(Att.CATDPG, "category"); AttStr.put(Att.CATFNC, "category"); AttStr.put(Att.CATFRY, "category");
|
---|
99 | AttStr.put(Att.CATFIF, "category"); AttStr.put(Att.CATFOG, "category"); AttStr.put(Att.CATFOR, "category"); AttStr.put(Att.CATGAT, "category");
|
---|
100 | AttStr.put(Att.CATHAF, "category"); AttStr.put(Att.CATHLK, "category"); AttStr.put(Att.CATICE, "category"); AttStr.put(Att.CATINB, "category");
|
---|
101 | AttStr.put(Att.CATLND, "category"); AttStr.put(Att.CATLMK, "category"); AttStr.put(Att.CATLAM, "category"); AttStr.put(Att.CATLIT, "category");
|
---|
102 | AttStr.put(Att.CATMFA, "category"); AttStr.put(Att.CATMPA, "category"); AttStr.put(Att.CATMOR, "category"); AttStr.put(Att.CATNAV, "category");
|
---|
103 | AttStr.put(Att.CATOBS, "category"); AttStr.put(Att.CATOFP, "category"); AttStr.put(Att.CATOLB, "category"); AttStr.put(Att.CATPLE, "category");
|
---|
104 | AttStr.put(Att.CATPIL, "category"); AttStr.put(Att.CATPIP, "category"); AttStr.put(Att.CATPRA, "category"); AttStr.put(Att.CATPYL, "category");
|
---|
105 | AttStr.put(Att.CATRAS, "category"); AttStr.put(Att.CATRTB, "category"); AttStr.put(Att.CATROS, "category"); AttStr.put(Att.CATTRK, "category");
|
---|
106 | AttStr.put(Att.CATRSC, "category"); AttStr.put(Att.CATREA, "category"); AttStr.put(Att.CATROD, "category"); AttStr.put(Att.CATRUN, "category");
|
---|
107 | AttStr.put(Att.CATSEA, "category"); AttStr.put(Att.CATSLC, "category"); AttStr.put(Att.CATSIT, "category"); AttStr.put(Att.CATSIW, "category");
|
---|
108 | AttStr.put(Att.CATSIL, "category"); AttStr.put(Att.CATSLO, "category"); AttStr.put(Att.CATSCF, "category"); AttStr.put(Att.CATSPM, "category");
|
---|
109 | AttStr.put(Att.CATTSS, "category"); AttStr.put(Att.CATVEG, "category"); AttStr.put(Att.CATWAT, "category"); AttStr.put(Att.CATWED, "category");
|
---|
110 | AttStr.put(Att.CATWRK, "category"); AttStr.put(Att.COLOUR, "colour"); AttStr.put(Att.COLPAT, "colour_pattern"); AttStr.put(Att.COMCHA, "channel");
|
---|
111 | AttStr.put(Att.CONDTN, "condition"); AttStr.put(Att.CONRAD, "reflectivity"); AttStr.put(Att.CONVIS, "conspicuity"); AttStr.put(Att.CURVEL, "velocity");
|
---|
112 | AttStr.put(Att.DATEND, "end_date"); AttStr.put(Att.DATSTA, "start_date"); AttStr.put(Att.DRVAL1, "minimum_depth"); AttStr.put(Att.DRVAL2, "maximum_depth");
|
---|
113 | AttStr.put(Att.ELEVAT, "elevation"); AttStr.put(Att.ESTRNG, "estimated_range"); AttStr.put(Att.EXCLIT, "exhibition"); AttStr.put(Att.EXPSOU, "exposition");
|
---|
114 | AttStr.put(Att.FUNCTN, "function"); AttStr.put(Att.HEIGHT, "height"); AttStr.put(Att.HUNITS, "units"); AttStr.put(Att.HORACC, "accuracy");
|
---|
115 | AttStr.put(Att.HORCLR, "clearance_width"); AttStr.put(Att.HORLEN, "length"); AttStr.put(Att.HORWID, "width"); AttStr.put(Att.ICEFAC, "factor");
|
---|
116 | AttStr.put(Att.INFORM, "information"); AttStr.put(Att.JRSDTN, "jurisdiction"); AttStr.put(Att.LIFCAP, "maximum_load"); AttStr.put(Att.LITCHR, "character");
|
---|
117 | AttStr.put(Att.LITVIS, "visibility"); AttStr.put(Att.MARSYS, "system"); AttStr.put(Att.MLTYLT, "multiple"); AttStr.put(Att.NATION, "nationality");
|
---|
118 | AttStr.put(Att.NATCON, "construction"); AttStr.put(Att.NATSUR, "surface"); AttStr.put(Att.NATQUA, "surface_qualification"); AttStr.put(Att.NMDATE, "nm_date");
|
---|
119 | AttStr.put(Att.OBJNAM, "name"); AttStr.put(Att.ORIENT, "orientation"); AttStr.put(Att.PEREND, "period_end"); AttStr.put(Att.PERSTA, "period_start");
|
---|
120 | AttStr.put(Att.PICREP, "picture"); AttStr.put(Att.PILDST, "pilot_district"); AttStr.put(Att.PRCTRY, "producing_country"); AttStr.put(Att.PRODCT, "product");
|
---|
121 | AttStr.put(Att.PUBREF, "reference"); AttStr.put(Att.QUASOU, "quality"); AttStr.put(Att.RADWAL, "wavelength"); AttStr.put(Att.RADIUS, "radius");
|
---|
122 | AttStr.put(Att.RYRMGV, "year"); AttStr.put(Att.RESTRN, "restriction"); AttStr.put(Att.SECTR1, "sector_start"); AttStr.put(Att.SECTR2, "sector_end");
|
---|
123 | AttStr.put(Att.SHIPAM, "shift"); AttStr.put(Att.SIGFRQ, "frequency"); AttStr.put(Att.SIGGEN, "generation"); AttStr.put(Att.SIGGRP, "group");
|
---|
124 | AttStr.put(Att.SIGPER, "period"); AttStr.put(Att.SIGSEQ, "sequence"); AttStr.put(Att.SOUACC, "sounding_accuracy"); AttStr.put(Att.SDISMX, "maximum_sounding");
|
---|
125 | AttStr.put(Att.SDISMN, "minimum_sounding"); AttStr.put(Att.SORDAT, "source_date"); AttStr.put(Att.SORIND, "source"); AttStr.put(Att.STATUS, "status");
|
---|
126 | AttStr.put(Att.SURATH, "authority"); AttStr.put(Att.SUREND, "survey_end"); AttStr.put(Att.SURSTA, "survey_start"); AttStr.put(Att.SURTYP, "survey");
|
---|
127 | AttStr.put(Att.TECSOU, "technique"); AttStr.put(Att.TXTDSC, "document"); AttStr.put(Att.TIMEND, "end_time"); AttStr.put(Att.TIMSTA, "start_time");
|
---|
128 | AttStr.put(Att.TOPSHP, "shape"); AttStr.put(Att.TRAFIC, "traffic_flow"); AttStr.put(Att.VALACM, "variation_change"); AttStr.put(Att.VALDCO, "depth");
|
---|
129 | AttStr.put(Att.VALLMA, "anomaly"); AttStr.put(Att.VALMAG, "variation"); AttStr.put(Att.VALMXR, "maximum_range"); AttStr.put(Att.VALNMR, "range");
|
---|
130 | AttStr.put(Att.VALSOU, "depth"); AttStr.put(Att.VERACC, "vertical_accuracy"); AttStr.put(Att.VERCLR, "clearance_height");
|
---|
131 | AttStr.put(Att.VERCCL, "clearance_height_closed"); AttStr.put(Att.VERCOP, "clearance_height_open"); AttStr.put(Att.VERCSA, "clearance_height_safe");
|
---|
132 | AttStr.put(Att.VERDAT, "vertical_datum"); AttStr.put(Att.VERLEN, "vertical_length"); AttStr.put(Att.WATLEV, "water_level"); AttStr.put(Att.CAT_TS, "category");
|
---|
133 | AttStr.put(Att.NINFOM, "national_information"); AttStr.put(Att.NOBJNM, "national_name"); AttStr.put(Att.NPLDST, "national_pilot_district");
|
---|
134 | AttStr.put(Att.NTXTDS, "national_description"); AttStr.put(Att.HORDAT, "horizontal_datum"); AttStr.put(Att.POSACC, "positional_accuracy");
|
---|
135 | AttStr.put(Att.QUAPOS, "position_quality"); AttStr.put(Att.ADDMRK, "addition"); AttStr.put(Att.BNKWTW, "bank"); AttStr.put(Att.CATNMK, "category");
|
---|
136 | AttStr.put(Att.CLSDNG, "danger_class"); AttStr.put(Att.DIRIMP, "impact"); AttStr.put(Att.DISBK1, "distance_start"); AttStr.put(Att.DISBK2, "distance_end");
|
---|
137 | AttStr.put(Att.DISIPU, "distance_up"); AttStr.put(Att.DISIPD, "distance_down"); AttStr.put(Att.ELEVA1, "minimum_elevation");
|
---|
138 | AttStr.put(Att.ELEVA2, "maximum_elevation"); AttStr.put(Att.FNCTNM, "function"); AttStr.put(Att.WTWDIS, "distance"); AttStr.put(Att.BUNVES, "availability");
|
---|
139 | AttStr.put(Att.CATBRT, "category"); AttStr.put(Att.CATBUN, "category"); AttStr.put(Att.CATCCL, "category"); AttStr.put(Att.CATHBR, "category");
|
---|
140 | AttStr.put(Att.CATRFD, "category"); AttStr.put(Att.CATTML, "category"); AttStr.put(Att.COMCTN, "communication"); AttStr.put(Att.HORCLL, "horizontal_clearance_length");
|
---|
141 | AttStr.put(Att.HORCLW, "horizontal_clearance_width"); AttStr.put(Att.TRSHGD, "goods"); AttStr.put(Att.UNLOCD, ""); AttStr.put(Att.CATGAG, "category");
|
---|
142 | AttStr.put(Att.HIGWAT, "high_value"); AttStr.put(Att.HIGNAM, "high_name"); AttStr.put(Att.LOWWAT, "low_value"); AttStr.put(Att.LOWNAM, "low_name");
|
---|
143 | AttStr.put(Att.MEAWAT, "mean_value"); AttStr.put(Att.MEANAM, "mean_name"); AttStr.put(Att.OTHWAT, "local_value"); AttStr.put(Att.OTHNAM, "local_name");
|
---|
144 | AttStr.put(Att.REFLEV, "gravity_reference"); AttStr.put(Att.SDRLEV, "sounding_name"); AttStr.put(Att.VCRLEV, "vertical_name"); AttStr.put(Att.CATVTR, "category");
|
---|
145 | AttStr.put(Att.CATTAB, "operation"); AttStr.put(Att.SCHREF, "schedule"); AttStr.put(Att.USESHP, "use"); AttStr.put(Att.CURVHW, "high_velocity");
|
---|
146 | AttStr.put(Att.CURVLW, "low_velocity"); AttStr.put(Att.CURVMW, "mean_velocity"); AttStr.put(Att.CURVOW, "other_velocity"); AttStr.put(Att.APTREF, "passing_time");
|
---|
147 | AttStr.put(Att.CATCOM, "category"); AttStr.put(Att.CATCVR, "category"); AttStr.put(Att.CATEXS, "category"); AttStr.put(Att.SHPTYP, "ship");
|
---|
148 | AttStr.put(Att.UPDMSG, "message"); AttStr.put(Att.CATOPA, "category"); AttStr.put(Att.CATSCH, "category"); AttStr.put(Att.CATVAN, "category");
|
---|
149 | }
|
---|
150 |
|
---|
151 | private static final EnumMap<Obj, Att> Accuracy = new EnumMap<>(Obj.class); static {
|
---|
152 | Accuracy.put(Obj.UNKOBJ, Att.HORACC); }
|
---|
153 |
|
---|
154 | private static final EnumMap<Obj, Att> Addition = new EnumMap<>(Obj.class); static {
|
---|
155 | Addition.put(Obj.UNKOBJ, Att.ADDMRK); }
|
---|
156 |
|
---|
157 | private static final EnumMap<Obj, Att> Agency = new EnumMap<>(Obj.class); static {
|
---|
158 | Agency.put(Obj.UNKOBJ, Att.AGENCY); }
|
---|
159 |
|
---|
160 | private static final EnumMap<Obj, Att> Anomaly = new EnumMap<>(Obj.class); static {
|
---|
161 | Anomaly.put(Obj.UNKOBJ, Att.VALLMA); }
|
---|
162 |
|
---|
163 | private static final EnumMap<Obj, Att> Authority = new EnumMap<>(Obj.class); static {
|
---|
164 | Authority.put(Obj.UNKOBJ, Att.SURATH); }
|
---|
165 |
|
---|
166 | private static final EnumMap<Obj, Att> Availability = new EnumMap<>(Obj.class); static {
|
---|
167 | Availability.put(Obj.UNKOBJ, Att.BUNVES); }
|
---|
168 |
|
---|
169 | private static final EnumMap<Obj, Att> Bank = new EnumMap<>(Obj.class); static {
|
---|
170 | Bank.put(Obj.UNKOBJ, Att.BNKWTW); }
|
---|
171 |
|
---|
172 | private static final EnumMap<Obj, Att> Callsign = new EnumMap<>(Obj.class); static {
|
---|
173 | Callsign.put(Obj.UNKOBJ, Att.CALSGN); }
|
---|
174 |
|
---|
175 | private static final EnumMap<Obj, Att> Category = new EnumMap<>(Obj.class);
|
---|
176 | static {
|
---|
177 | Category.put(Obj.ACHARE, Att.CATACH); Category.put(Obj.ACHBRT, Att.CATACH); Category.put(Obj.AIRARE, Att.CATAIR); Category.put(Obj.BCNCAR, Att.CATCAM); Category.put(Obj.BCNLAT, Att.CATLAM);
|
---|
178 | Category.put(Obj.BCNSPP, Att.CATSPM); Category.put(Obj.BOYLAT, Att.CATLAM); Category.put(Obj.BOYINB, Att.CATINB); Category.put(Obj.BOYSPP, Att.CATSPM); Category.put(Obj.DAYMAR, Att.CATSPM);
|
---|
179 | Category.put(Obj.BRIDGE, Att.CATBRG); Category.put(Obj.BUAARE, Att.CATBUA); Category.put(Obj.BUNSTA, Att.CATBUN); Category.put(Obj.CANALS, Att.CATCAN);
|
---|
180 | Category.put(Obj.CBLARE, Att.CATCBL); Category.put(Obj.CBLOHD, Att.CATCBL); Category.put(Obj.CBLSUB, Att.CATCBL); Category.put(Obj.CHKPNT, Att.CATCHP); Category.put(Obj.COMARE, Att.CATCOM);
|
---|
181 | Category.put(Obj.COALNE, Att.CATCOA); Category.put(Obj.CONVYR, Att.CATCON); Category.put(Obj.CRANES, Att.CATCRN); Category.put(Obj.CTRPNT, Att.CATCTR); Category.put(Obj.DAMCON, Att.CATDAM);
|
---|
182 | Category.put(Obj.DISMAR, Att.CATDIS); Category.put(Obj.DMPGRD, Att.CATDPG); Category.put(Obj.DOCARE, Att.CATDOC); Category.put(Obj.EXCNST, Att.CATEXS); Category.put(Obj.FERYRT, Att.CATFRY);
|
---|
183 | Category.put(Obj.FNCLNE, Att.CATFNC); Category.put(Obj.FOGSIG, Att.CATFOG); Category.put(Obj.FORSTC, Att.CATFOR); Category.put(Obj.FSHFAC, Att.CATFIF); Category.put(Obj.GATCON, Att.CATGAT);
|
---|
184 | Category.put(Obj.HRBFAC, Att.CATHAF); Category.put(Obj.HRBARE, Att.CATHBR); Category.put(Obj.HRBBSN, Att.CATHBR); Category.put(Obj.HULKES, Att.CATHLK); Category.put(Obj.ICEARE, Att.CATICE);
|
---|
185 | Category.put(Obj.LNDRGN, Att.CATLND); Category.put(Obj.LNDMRK, Att.CATLMK); Category.put(Obj.LIGHTS, Att.CATLIT); Category.put(Obj.M_COVR, Att.CATCVR); Category.put(Obj.MARCUL, Att.CATMFA);
|
---|
186 | Category.put(Obj.MIPARE, Att.CATMPA); Category.put(Obj.MORFAC, Att.CATMOR); Category.put(Obj.NAVLNE, Att.CATNAV); Category.put(Obj.NOTMRK, Att.CATNMK); Category.put(Obj.OBSTRN, Att.CATOBS);
|
---|
187 | Category.put(Obj.OFSPLF, Att.CATOFP); Category.put(Obj.OILBAR, Att.CATOLB); Category.put(Obj.OSPARE, Att.CATOPA); Category.put(Obj.PILPNT, Att.CATPLE); Category.put(Obj.PILBOP, Att.CATPIL);
|
---|
188 | Category.put(Obj.PIPARE, Att.CATPIP); Category.put(Obj.PIPOHD, Att.CATPIP); Category.put(Obj.PIPSOL, Att.CATPIP); Category.put(Obj.PRDARE, Att.CATPRA); Category.put(Obj.PYLONS, Att.CATPYL);
|
---|
189 | Category.put(Obj.RADSTA, Att.CATRAS); Category.put(Obj.RCRTCL, Att.CATTRK); Category.put(Obj.RCTLPT, Att.CATTRK); Category.put(Obj.RDOSTA, Att.CATROS); Category.put(Obj.RDOCAL, Att.CATCOM);
|
---|
190 | Category.put(Obj.RECTRC, Att.CATTRK); Category.put(Obj.REFDMP, Att.CATRFD); Category.put(Obj.RESARE, Att.CATREA); Category.put(Obj.RSCSTA, Att.CATRSC);
|
---|
191 | Category.put(Obj.RTPBCN, Att.CATRTB); Category.put(Obj.ROADWY, Att.CATROD); Category.put(Obj.RUNWAY, Att.CATRUN); Category.put(Obj.SEAARE, Att.CATSEA); Category.put(Obj.SILTNK, Att.CATSIL);
|
---|
192 | Category.put(Obj.SISTAT, Att.CATSIT); Category.put(Obj.SISTAW, Att.CATSIW); Category.put(Obj.SLCONS, Att.CATSLC); Category.put(Obj.SLOTOP, Att.CATSLO); Category.put(Obj.SLOGRD, Att.CATSLO);
|
---|
193 | Category.put(Obj.SMCFAC, Att.CATSCF); Category.put(Obj.TERMNL, Att.CATTML); Category.put(Obj.TS_FEB, Att.CAT_TS); Category.put(Obj.TSELNE, Att.CATTSS); Category.put(Obj.TSEZNE, Att.CATTSS);
|
---|
194 | Category.put(Obj.TSSBND, Att.CATTSS); Category.put(Obj.TSSCRS, Att.CATTSS); Category.put(Obj.TSSLPT, Att.CATTSS); Category.put(Obj.TSSRON, Att.CATTSS); Category.put(Obj.TWRTPT, Att.CATTRK);
|
---|
195 | Category.put(Obj.VEGATN, Att.CATVEG); Category.put(Obj.VEHTRF, Att.CATVTR); Category.put(Obj.WATTUR, Att.CATWAT); Category.put(Obj.WEDKLP, Att.CATWED); Category.put(Obj.WRECKS, Att.CATWRK);
|
---|
196 | Category.put(Obj.WTWAXS, Att.CATCCL); Category.put(Obj.WTWARE, Att.CATCCL); Category.put(Obj.WTWGAG, Att.CATGAG); Category.put(Obj.BERTHS, Att.CATBRT); Category.put(Obj.VAATON, Att.CATVAN);
|
---|
197 | }
|
---|
198 |
|
---|
199 | private static final EnumMap<Obj, Att> Channel = new EnumMap<>(Obj.class); static {
|
---|
200 | Channel.put(Obj.UNKOBJ, Att.COMCHA); }
|
---|
201 |
|
---|
202 | private static final EnumMap<Obj, Att> Character = new EnumMap<>(Obj.class); static {
|
---|
203 | Character.put(Obj.UNKOBJ, Att.LITCHR); }
|
---|
204 |
|
---|
205 | private static final EnumMap<Obj, Att> Clearance_height = new EnumMap<>(Obj.class); static {
|
---|
206 | Clearance_height.put(Obj.UNKOBJ, Att.VERCLR); }
|
---|
207 |
|
---|
208 | private static final EnumMap<Obj, Att> Clearance_height_closed = new EnumMap<>(Obj.class); static {
|
---|
209 | Clearance_height_closed.put(Obj.UNKOBJ, Att.VERCCL); }
|
---|
210 |
|
---|
211 | private static final EnumMap<Obj, Att> Clearance_height_open = new EnumMap<>(Obj.class); static {
|
---|
212 | Clearance_height_open.put(Obj.UNKOBJ, Att.VERCOP); }
|
---|
213 |
|
---|
214 | private static final EnumMap<Obj, Att> Clearance_height_safe = new EnumMap<>(Obj.class); static {
|
---|
215 | Clearance_height_safe.put(Obj.UNKOBJ, Att.VERCSA); }
|
---|
216 |
|
---|
217 | private static final EnumMap<Obj, Att> Clearance_width = new EnumMap<>(Obj.class); static {
|
---|
218 | Clearance_width.put(Obj.UNKOBJ, Att.HORCLR); }
|
---|
219 |
|
---|
220 | private static final EnumMap<Obj, Att> Colour = new EnumMap<>(Obj.class); static {
|
---|
221 | Colour.put(Obj.UNKOBJ, Att.COLOUR); }
|
---|
222 |
|
---|
223 | private static final EnumMap<Obj, Att> Colour_pattern = new EnumMap<>(Obj.class); static {
|
---|
224 | Colour_pattern.put(Obj.UNKOBJ, Att.COLPAT); }
|
---|
225 |
|
---|
226 | private static final EnumMap<Obj, Att> Communication = new EnumMap<>(Obj.class); static {
|
---|
227 | Communication.put(Obj.UNKOBJ, Att.COMCTN); }
|
---|
228 |
|
---|
229 | private static final EnumMap<Obj, Att> Condition = new EnumMap<>(Obj.class); static {
|
---|
230 | Condition.put(Obj.UNKOBJ, Att.CONDTN); }
|
---|
231 |
|
---|
232 | private static final EnumMap<Obj, Att> Conspicuity = new EnumMap<>(Obj.class); static {
|
---|
233 | Conspicuity.put(Obj.UNKOBJ, Att.CONVIS); }
|
---|
234 |
|
---|
235 | private static final EnumMap<Obj, Att> Construction = new EnumMap<>(Obj.class); static {
|
---|
236 | Construction.put(Obj.UNKOBJ, Att.NATCON); }
|
---|
237 |
|
---|
238 | private static final EnumMap<Obj, Att> Danger_class = new EnumMap<>(Obj.class); static {
|
---|
239 | Danger_class.put(Obj.UNKOBJ, Att.CLSDNG); }
|
---|
240 |
|
---|
241 | private static final EnumMap<Obj, Att> Depth = new EnumMap<>(Obj.class); static {
|
---|
242 | Depth.put(Obj.UNKOBJ, Att.VALDCO); Depth.put(Obj.SOUNDG, Att.VALSOU); }
|
---|
243 |
|
---|
244 | private static final EnumMap<Obj, Att> Depth_buried = new EnumMap<>(Obj.class); static {
|
---|
245 | Depth_buried.put(Obj.UNKOBJ, Att.BURDEP); }
|
---|
246 |
|
---|
247 | private static final EnumMap<Obj, Att> Description = new EnumMap<>(Obj.class); static {
|
---|
248 | Description.put(Obj.UNKOBJ, Att.TXTDSC); }
|
---|
249 |
|
---|
250 | private static final EnumMap<Obj, Att> Distance = new EnumMap<>(Obj.class); static {
|
---|
251 | Distance.put(Obj.UNKOBJ, Att.WTWDIS); }
|
---|
252 |
|
---|
253 | private static final EnumMap<Obj, Att> Distance_down = new EnumMap<>(Obj.class); static {
|
---|
254 | Distance_down.put(Obj.UNKOBJ, Att.DISIPD); }
|
---|
255 |
|
---|
256 | private static final EnumMap<Obj, Att> Distance_end = new EnumMap<>(Obj.class); static {
|
---|
257 | Distance_end.put(Obj.UNKOBJ, Att.DISBK2); }
|
---|
258 |
|
---|
259 | private static final EnumMap<Obj, Att> Distance_start = new EnumMap<>(Obj.class); static {
|
---|
260 | Distance_start.put(Obj.UNKOBJ, Att.DISBK1); }
|
---|
261 |
|
---|
262 | private static final EnumMap<Obj, Att> Distance_up = new EnumMap<>(Obj.class); static {
|
---|
263 | Distance_up.put(Obj.UNKOBJ, Att.DISIPU); }
|
---|
264 |
|
---|
265 | private static final EnumMap<Obj, Att> Elevation = new EnumMap<>(Obj.class); static {
|
---|
266 | Elevation.put(Obj.UNKOBJ, Att.ELEVAT); }
|
---|
267 |
|
---|
268 | private static final EnumMap<Obj, Att> End_date = new EnumMap<>(Obj.class); static {
|
---|
269 | End_date.put(Obj.UNKOBJ, Att.DATEND); }
|
---|
270 |
|
---|
271 | private static final EnumMap<Obj, Att> End_time = new EnumMap<>(Obj.class); static {
|
---|
272 | End_time.put(Obj.UNKOBJ, Att.TIMEND); }
|
---|
273 |
|
---|
274 | private static final EnumMap<Obj, Att> Estimated_range = new EnumMap<>(Obj.class); static {
|
---|
275 | Estimated_range.put(Obj.UNKOBJ, Att.ESTRNG); }
|
---|
276 |
|
---|
277 | private static final EnumMap<Obj, Att> Exhibition = new EnumMap<>(Obj.class); static {
|
---|
278 | Exhibition.put(Obj.UNKOBJ, Att.EXCLIT); }
|
---|
279 |
|
---|
280 | private static final EnumMap<Obj, Att> Exposition = new EnumMap<>(Obj.class); static {
|
---|
281 | Exposition.put(Obj.UNKOBJ, Att.EXPSOU); }
|
---|
282 |
|
---|
283 | private static final EnumMap<Obj, Att> Factor = new EnumMap<>(Obj.class); static {
|
---|
284 | Factor.put(Obj.UNKOBJ, Att.ICEFAC); }
|
---|
285 |
|
---|
286 | private static final EnumMap<Obj, Att> Frequency = new EnumMap<>(Obj.class); static {
|
---|
287 | Frequency.put(Obj.UNKOBJ, Att.SIGFRQ); }
|
---|
288 |
|
---|
289 | private static final EnumMap<Obj, Att> Function = new EnumMap<>(Obj.class); static {
|
---|
290 | Function.put(Obj.BUISGL, Att.FUNCTN); Function.put(Obj.LNDMRK, Att.FUNCTN); Function.put(Obj.NOTMRK, Att.FNCTNM); }
|
---|
291 |
|
---|
292 | private static final EnumMap<Obj, Att> Generation = new EnumMap<>(Obj.class); static {
|
---|
293 | Generation.put(Obj.UNKOBJ, Att.SIGGEN); }
|
---|
294 |
|
---|
295 | private static final EnumMap<Obj, Att> Goods = new EnumMap<>(Obj.class); static {
|
---|
296 | Goods.put(Obj.UNKOBJ, Att.TRSHGD); }
|
---|
297 |
|
---|
298 | private static final EnumMap<Obj, Att> Gravity_reference = new EnumMap<>(Obj.class); static {
|
---|
299 | Gravity_reference.put(Obj.UNKOBJ, Att.REFLEV); }
|
---|
300 |
|
---|
301 | private static final EnumMap<Obj, Att> Group = new EnumMap<>(Obj.class); static {
|
---|
302 | Group.put(Obj.UNKOBJ, Att.SIGGRP); }
|
---|
303 |
|
---|
304 | private static final EnumMap<Obj, Att> Height = new EnumMap<>(Obj.class); static {
|
---|
305 | Height.put(Obj.UNKOBJ, Att.HEIGHT); }
|
---|
306 |
|
---|
307 | private static final EnumMap<Obj, Att> High_name = new EnumMap<>(Obj.class); static {
|
---|
308 | High_name.put(Obj.UNKOBJ, Att.HIGNAM); }
|
---|
309 |
|
---|
310 | private static final EnumMap<Obj, Att> High_value = new EnumMap<>(Obj.class); static {
|
---|
311 | High_value.put(Obj.UNKOBJ, Att.HIGWAT); }
|
---|
312 |
|
---|
313 | private static final EnumMap<Obj, Att> High_velocity = new EnumMap<>(Obj.class); static {
|
---|
314 | High_velocity.put(Obj.UNKOBJ, Att.CURVHW); }
|
---|
315 |
|
---|
316 | private static final EnumMap<Obj, Att> Horizontal_clearance_length = new EnumMap<>(Obj.class); static {
|
---|
317 | Horizontal_clearance_length.put(Obj.UNKOBJ, Att.HORCLL); }
|
---|
318 |
|
---|
319 | private static final EnumMap<Obj, Att> Horizontal_clearance_width = new EnumMap<>(Obj.class); static {
|
---|
320 | Horizontal_clearance_width.put(Obj.UNKOBJ, Att.HORCLW); }
|
---|
321 |
|
---|
322 | private static final EnumMap<Obj, Att> Horizontal_datum = new EnumMap<>(Obj.class); static {
|
---|
323 | Horizontal_datum.put(Obj.UNKOBJ, Att.HORDAT); }
|
---|
324 |
|
---|
325 | private static final EnumMap<Obj, Att> Impact = new EnumMap<>(Obj.class); static {
|
---|
326 | Impact.put(Obj.UNKOBJ, Att.DIRIMP); }
|
---|
327 |
|
---|
328 | private static final EnumMap<Obj, Att> Information = new EnumMap<>(Obj.class); static {
|
---|
329 | Information.put(Obj.UNKOBJ, Att.INFORM); }
|
---|
330 |
|
---|
331 | private static final EnumMap<Obj, Att> Jurisdiction = new EnumMap<>(Obj.class); static {
|
---|
332 | Jurisdiction.put(Obj.UNKOBJ, Att.JRSDTN); }
|
---|
333 |
|
---|
334 | private static final EnumMap<Obj, Att> Length = new EnumMap<>(Obj.class); static {
|
---|
335 | Length.put(Obj.UNKOBJ, Att.HORLEN); }
|
---|
336 |
|
---|
337 | private static final EnumMap<Obj, Att> Local_name = new EnumMap<>(Obj.class); static {
|
---|
338 | Local_name.put(Obj.UNKOBJ, Att.OTHNAM); }
|
---|
339 |
|
---|
340 | private static final EnumMap<Obj, Att> Local_value = new EnumMap<>(Obj.class); static {
|
---|
341 | Local_value.put(Obj.UNKOBJ, Att.OTHWAT); }
|
---|
342 |
|
---|
343 | private static final EnumMap<Obj, Att> Low_name = new EnumMap<>(Obj.class); static {
|
---|
344 | Low_name.put(Obj.UNKOBJ, Att.LOWNAM); }
|
---|
345 |
|
---|
346 | private static final EnumMap<Obj, Att> Low_value = new EnumMap<>(Obj.class); static {
|
---|
347 | Low_value.put(Obj.UNKOBJ, Att.LOWWAT); }
|
---|
348 |
|
---|
349 | private static final EnumMap<Obj, Att> Low_velocity = new EnumMap<>(Obj.class); static {
|
---|
350 | Low_velocity.put(Obj.UNKOBJ, Att.CURVLW); }
|
---|
351 |
|
---|
352 | private static final EnumMap<Obj, Att> Maximum_depth = new EnumMap<>(Obj.class); static {
|
---|
353 | Maximum_depth.put(Obj.UNKOBJ, Att.DRVAL2); }
|
---|
354 |
|
---|
355 | private static final EnumMap<Obj, Att> Maximum_elevation = new EnumMap<>(Obj.class); static {
|
---|
356 | Maximum_elevation.put(Obj.UNKOBJ, Att.ELEVA2); }
|
---|
357 |
|
---|
358 | private static final EnumMap<Obj, Att> Maximum_load = new EnumMap<>(Obj.class); static {
|
---|
359 | Maximum_load.put(Obj.UNKOBJ, Att.LIFCAP); }
|
---|
360 |
|
---|
361 | private static final EnumMap<Obj, Att> Maximum_range = new EnumMap<>(Obj.class); static {
|
---|
362 | Maximum_range.put(Obj.UNKOBJ, Att.VALMXR); }
|
---|
363 |
|
---|
364 | private static final EnumMap<Obj, Att> Maximum_sounding = new EnumMap<>(Obj.class); static {
|
---|
365 | Maximum_sounding.put(Obj.UNKOBJ, Att.SDISMX); }
|
---|
366 |
|
---|
367 | private static final EnumMap<Obj, Att> Mean_name = new EnumMap<>(Obj.class); static {
|
---|
368 | Mean_name.put(Obj.UNKOBJ, Att.MEANAM); }
|
---|
369 |
|
---|
370 | private static final EnumMap<Obj, Att> Mean_value = new EnumMap<>(Obj.class); static {
|
---|
371 | Mean_value.put(Obj.UNKOBJ, Att.MEAWAT); }
|
---|
372 |
|
---|
373 | private static final EnumMap<Obj, Att> Mean_velocity = new EnumMap<>(Obj.class); static {
|
---|
374 | Mean_velocity.put(Obj.UNKOBJ, Att.CURVMW); }
|
---|
375 |
|
---|
376 | private static final EnumMap<Obj, Att> Message = new EnumMap<>(Obj.class); static {
|
---|
377 | Message.put(Obj.UNKOBJ, Att.UPDMSG); }
|
---|
378 |
|
---|
379 | private static final EnumMap<Obj, Att> Minimum_depth = new EnumMap<>(Obj.class); static {
|
---|
380 | Minimum_depth.put(Obj.UNKOBJ, Att.DRVAL1); }
|
---|
381 |
|
---|
382 | private static final EnumMap<Obj, Att> Minimum_elevation = new EnumMap<>(Obj.class); static {
|
---|
383 | Minimum_elevation.put(Obj.UNKOBJ, Att.ELEVA1); }
|
---|
384 |
|
---|
385 | private static final EnumMap<Obj, Att> Minimum_sounding = new EnumMap<>(Obj.class); static {
|
---|
386 | Minimum_sounding.put(Obj.UNKOBJ, Att.SDISMN); }
|
---|
387 |
|
---|
388 | private static final EnumMap<Obj, Att> Multiple = new EnumMap<>(Obj.class); static {
|
---|
389 | Multiple.put(Obj.UNKOBJ, Att.MLTYLT); }
|
---|
390 |
|
---|
391 | private static final EnumMap<Obj, Att> Name = new EnumMap<>(Obj.class); static {
|
---|
392 | Name.put(Obj.UNKOBJ, Att.OBJNAM); }
|
---|
393 |
|
---|
394 | private static final EnumMap<Obj, Att> National_information = new EnumMap<>(Obj.class); static {
|
---|
395 | National_information.put(Obj.UNKOBJ, Att.NINFOM); }
|
---|
396 |
|
---|
397 | private static final EnumMap<Obj, Att> Nationality = new EnumMap<>(Obj.class); static {
|
---|
398 | Nationality.put(Obj.UNKOBJ, Att.NATION); }
|
---|
399 |
|
---|
400 | private static final EnumMap<Obj, Att> National_description = new EnumMap<>(Obj.class); static {
|
---|
401 | National_description.put(Obj.UNKOBJ, Att.NTXTDS); }
|
---|
402 |
|
---|
403 | private static final EnumMap<Obj, Att> National_name = new EnumMap<>(Obj.class); static {
|
---|
404 | National_name.put(Obj.UNKOBJ, Att.NOBJNM); }
|
---|
405 |
|
---|
406 | private static final EnumMap<Obj, Att> National_pilot_district = new EnumMap<>(Obj.class); static {
|
---|
407 | National_pilot_district.put(Obj.UNKOBJ, Att.NPLDST); }
|
---|
408 |
|
---|
409 | private static final EnumMap<Obj, Att> Nm_date = new EnumMap<>(Obj.class); static {
|
---|
410 | Nm_date.put(Obj.UNKOBJ, Att.NMDATE); }
|
---|
411 |
|
---|
412 | private static final EnumMap<Obj, Att> Other_velocity = new EnumMap<>(Obj.class); static {
|
---|
413 | Other_velocity.put(Obj.UNKOBJ, Att.CURVOW); }
|
---|
414 |
|
---|
415 | private static final EnumMap<Obj, Att> Operation = new EnumMap<>(Obj.class); static {
|
---|
416 | Operation.put(Obj.UNKOBJ, Att.CATTAB); }
|
---|
417 |
|
---|
418 | private static final EnumMap<Obj, Att> Orientation = new EnumMap<>(Obj.class); static {
|
---|
419 | Orientation.put(Obj.UNKOBJ, Att.ORIENT); }
|
---|
420 |
|
---|
421 | private static final EnumMap<Obj, Att> Passing_time = new EnumMap<>(Obj.class); static {
|
---|
422 | Passing_time.put(Obj.UNKOBJ, Att.APTREF); }
|
---|
423 |
|
---|
424 | private static final EnumMap<Obj, Att> Period = new EnumMap<>(Obj.class); static {
|
---|
425 | Period.put(Obj.UNKOBJ, Att.SIGPER); }
|
---|
426 |
|
---|
427 | private static final EnumMap<Obj, Att> Period_end = new EnumMap<>(Obj.class); static {
|
---|
428 | Period_end.put(Obj.UNKOBJ, Att.PEREND); }
|
---|
429 |
|
---|
430 | private static final EnumMap<Obj, Att> Period_start = new EnumMap<>(Obj.class); static {
|
---|
431 | Period_start.put(Obj.UNKOBJ, Att.PERSTA); }
|
---|
432 |
|
---|
433 | private static final EnumMap<Obj, Att> Pilot_district = new EnumMap<>(Obj.class); static {
|
---|
434 | Pilot_district.put(Obj.UNKOBJ, Att.PILDST); }
|
---|
435 |
|
---|
436 | private static final EnumMap<Obj, Att> Position_quality = new EnumMap<>(Obj.class); static {
|
---|
437 | Position_quality.put(Obj.UNKOBJ, Att.QUAPOS); }
|
---|
438 |
|
---|
439 | private static final EnumMap<Obj, Att> Positional_accuracy = new EnumMap<>(Obj.class); static {
|
---|
440 | Positional_accuracy.put(Obj.UNKOBJ, Att.POSACC); }
|
---|
441 |
|
---|
442 | private static final EnumMap<Obj, Att> Producing_country = new EnumMap<>(Obj.class); static {
|
---|
443 | Producing_country.put(Obj.UNKOBJ, Att.PRCTRY); }
|
---|
444 |
|
---|
445 | private static final EnumMap<Obj, Att> Product = new EnumMap<>(Obj.class); static {
|
---|
446 | Product.put(Obj.UNKOBJ, Att.PRODCT); }
|
---|
447 |
|
---|
448 | private static final EnumMap<Obj, Att> Quality = new EnumMap<>(Obj.class); static {
|
---|
449 | Quality.put(Obj.UNKOBJ, Att.QUASOU); }
|
---|
450 |
|
---|
451 | private static final EnumMap<Obj, Att> Range = new EnumMap<>(Obj.class); static {
|
---|
452 | Range.put(Obj.UNKOBJ, Att.VALNMR); }
|
---|
453 |
|
---|
454 | private static final EnumMap<Obj, Att> Reference = new EnumMap<>(Obj.class); static {
|
---|
455 | Reference.put(Obj.UNKOBJ, Att.PUBREF); }
|
---|
456 |
|
---|
457 | private static final EnumMap<Obj, Att> Reflectivity = new EnumMap<>(Obj.class); static {
|
---|
458 | Reflectivity.put(Obj.UNKOBJ, Att.CONRAD); }
|
---|
459 |
|
---|
460 | private static final EnumMap<Obj, Att> Restriction = new EnumMap<>(Obj.class); static {
|
---|
461 | Restriction.put(Obj.UNKOBJ, Att.RESTRN); }
|
---|
462 |
|
---|
463 | private static final EnumMap<Obj, Att> Schedule = new EnumMap<>(Obj.class); static {
|
---|
464 | Schedule.put(Obj.UNKOBJ, Att.SCHREF); }
|
---|
465 |
|
---|
466 | private static final EnumMap<Obj, Att> Shape = new EnumMap<>(Obj.class); static {
|
---|
467 | Shape.put(Obj.BCNCAR, Att.BCNSHP); Shape.put(Obj.BCNISD, Att.BCNSHP);
|
---|
468 | Shape.put(Obj.BCNLAT, Att.BCNSHP); Shape.put(Obj.BCNSAW, Att.BCNSHP); Shape.put(Obj.BCNSPP, Att.BCNSHP); Shape.put(Obj.BUISGL, Att.BUISHP);
|
---|
469 | Shape.put(Obj.BOYCAR, Att.BOYSHP); Shape.put(Obj.BOYISD, Att.BOYSHP); Shape.put(Obj.BOYLAT, Att.BOYSHP); Shape.put(Obj.BOYSAW, Att.BOYSHP); Shape.put(Obj.BOYSPP, Att.BOYSHP);
|
---|
470 | Shape.put(Obj.BOYINB, Att.BOYSHP); Shape.put(Obj.DAYMAR, Att.TOPSHP); Shape.put(Obj.TOPMAR, Att.TOPSHP); Shape.put(Obj.MORFAC, Att.BOYSHP);
|
---|
471 | Shape.put(Obj.SILTNK, Att.BUISHP);
|
---|
472 | }
|
---|
473 |
|
---|
474 | private static final EnumMap<Obj, Att> Sector_end = new EnumMap<>(Obj.class); static {
|
---|
475 | Sector_end.put(Obj.UNKOBJ, Att.SECTR2); }
|
---|
476 |
|
---|
477 | private static final EnumMap<Obj, Att> Sector_start = new EnumMap<>(Obj.class); static {
|
---|
478 | Sector_start.put(Obj.UNKOBJ, Att.SECTR1); }
|
---|
479 |
|
---|
480 | private static final EnumMap<Obj, Att> Sequence = new EnumMap<>(Obj.class); static {
|
---|
481 | Sequence.put(Obj.UNKOBJ, Att.SIGSEQ); }
|
---|
482 |
|
---|
483 | private static final EnumMap<Obj, Att> Shift = new EnumMap<>(Obj.class); static {
|
---|
484 | Shift.put(Obj.UNKOBJ, Att.SHIPAM); }
|
---|
485 |
|
---|
486 | private static final EnumMap<Obj, Att> Ship = new EnumMap<>(Obj.class); static {
|
---|
487 | Ship.put(Obj.UNKOBJ, Att.SHPTYP); }
|
---|
488 |
|
---|
489 | private static final EnumMap<Obj, Att> Sounding_accuracy = new EnumMap<>(Obj.class); static {
|
---|
490 | Sounding_accuracy.put(Obj.UNKOBJ, Att.SOUACC); }
|
---|
491 |
|
---|
492 | private static final EnumMap<Obj, Att> Sounding_name = new EnumMap<>(Obj.class); static {
|
---|
493 | Sounding_name.put(Obj.UNKOBJ, Att.SDRLEV); }
|
---|
494 |
|
---|
495 | private static final EnumMap<Obj, Att> Start_date = new EnumMap<>(Obj.class); static {
|
---|
496 | Start_date.put(Obj.UNKOBJ, Att.DATSTA); }
|
---|
497 |
|
---|
498 | private static final EnumMap<Obj, Att> Start_time = new EnumMap<>(Obj.class); static {
|
---|
499 | Start_time.put(Obj.UNKOBJ, Att.TIMSTA); }
|
---|
500 |
|
---|
501 | private static final EnumMap<Obj, Att> Status = new EnumMap<>(Obj.class); static {
|
---|
502 | Status.put(Obj.UNKOBJ, Att.STATUS); }
|
---|
503 |
|
---|
504 | private static final EnumMap<Obj, Att> Surface = new EnumMap<>(Obj.class); static {
|
---|
505 | Surface.put(Obj.UNKOBJ, Att.NATSUR); }
|
---|
506 |
|
---|
507 | private static final EnumMap<Obj, Att> Surface_qualification = new EnumMap<>(Obj.class); static {
|
---|
508 | Surface_qualification.put(Obj.UNKOBJ, Att.NATQUA); }
|
---|
509 |
|
---|
510 | private static final EnumMap<Obj, Att> Survey = new EnumMap<>(Obj.class); static {
|
---|
511 | Survey.put(Obj.UNKOBJ, Att.SURTYP); }
|
---|
512 |
|
---|
513 | private static final EnumMap<Obj, Att> Survey_end = new EnumMap<>(Obj.class); static {
|
---|
514 | Survey_end.put(Obj.UNKOBJ, Att.SUREND); }
|
---|
515 |
|
---|
516 | private static final EnumMap<Obj, Att> Survey_start = new EnumMap<>(Obj.class); static {
|
---|
517 | Survey_start.put(Obj.UNKOBJ, Att.SURSTA); }
|
---|
518 |
|
---|
519 | private static final EnumMap<Obj, Att> System = new EnumMap<>(Obj.class); static {
|
---|
520 | System.put(Obj.UNKOBJ, Att.MARSYS); }
|
---|
521 |
|
---|
522 | private static final EnumMap<Obj, Att> Technique = new EnumMap<>(Obj.class); static {
|
---|
523 | Technique.put(Obj.UNKOBJ, Att.TECSOU); }
|
---|
524 |
|
---|
525 | private static final EnumMap<Obj, Att> Traffic_flow = new EnumMap<>(Obj.class); static {
|
---|
526 | Traffic_flow.put(Obj.UNKOBJ, Att.TRAFIC); }
|
---|
527 |
|
---|
528 | private static final EnumMap<Obj, Att> Units = new EnumMap<>(Obj.class); static {
|
---|
529 | Units.put(Obj.UNKOBJ, Att.HUNITS); }
|
---|
530 |
|
---|
531 | private static final EnumMap<Obj, Att> Use = new EnumMap<>(Obj.class); static {
|
---|
532 | Use.put(Obj.UNKOBJ, Att.USESHP); }
|
---|
533 |
|
---|
534 | private static final EnumMap<Obj, Att> Variation = new EnumMap<>(Obj.class); static {
|
---|
535 | Variation.put(Obj.UNKOBJ, Att.VALMAG); }
|
---|
536 |
|
---|
537 | private static final EnumMap<Obj, Att> Variation_change = new EnumMap<>(Obj.class); static {
|
---|
538 | Variation_change.put(Obj.UNKOBJ, Att.VALACM); }
|
---|
539 |
|
---|
540 | private static final EnumMap<Obj, Att> Velocity = new EnumMap<>(Obj.class); static {
|
---|
541 | Velocity.put(Obj.UNKOBJ, Att.CURVEL); }
|
---|
542 |
|
---|
543 | private static final EnumMap<Obj, Att> Vertical_accuracy = new EnumMap<>(Obj.class); static {
|
---|
544 | Vertical_accuracy.put(Obj.UNKOBJ, Att.VERACC); }
|
---|
545 |
|
---|
546 | private static final EnumMap<Obj, Att> Vertical_datum = new EnumMap<>(Obj.class); static {
|
---|
547 | Vertical_datum.put(Obj.UNKOBJ, Att.VERDAT); }
|
---|
548 |
|
---|
549 | private static final EnumMap<Obj, Att> Vertical_length = new EnumMap<>(Obj.class); static {
|
---|
550 | Vertical_length.put(Obj.UNKOBJ, Att.VERLEN); }
|
---|
551 |
|
---|
552 | private static final EnumMap<Obj, Att> Vertical_name = new EnumMap<>(Obj.class); static {
|
---|
553 | Vertical_name.put(Obj.UNKOBJ, Att.VCRLEV); }
|
---|
554 |
|
---|
555 | private static final EnumMap<Obj, Att> Visibility = new EnumMap<>(Obj.class); static {
|
---|
556 | Visibility.put(Obj.UNKOBJ, Att.LITVIS); }
|
---|
557 |
|
---|
558 | private static final EnumMap<Obj, Att> Water_level = new EnumMap<>(Obj.class); static {
|
---|
559 | Water_level.put(Obj.UNKOBJ, Att.WATLEV); }
|
---|
560 |
|
---|
561 | private static final EnumMap<Obj, Att> Wavelength = new EnumMap<>(Obj.class); static {
|
---|
562 | Wavelength.put(Obj.UNKOBJ, Att.RADWAL); }
|
---|
563 |
|
---|
564 | private static final EnumMap<Obj, Att> Width = new EnumMap<>(Obj.class); static {
|
---|
565 | Width.put(Obj.UNKOBJ, Att.HORWID); }
|
---|
566 |
|
---|
567 | private static final EnumMap<Obj, Att> Year = new EnumMap<>(Obj.class); static {
|
---|
568 | Year.put(Obj.UNKOBJ, Att.RYRMGV); }
|
---|
569 |
|
---|
570 | private static final HashMap<String, EnumMap<Obj, Att>> StrAtt = new HashMap<>();
|
---|
571 | static {
|
---|
572 | StrAtt.put("accuracy", Accuracy); StrAtt.put("addition", Addition); StrAtt.put("agency", Agency); StrAtt.put("anomaly", Anomaly); StrAtt.put("authority", Authority);
|
---|
573 | StrAtt.put("availability", Availability); StrAtt.put("bank", Bank); StrAtt.put("callsign", Callsign); StrAtt.put("category", Category); StrAtt.put("channel", Channel);
|
---|
574 | StrAtt.put("character", Character); StrAtt.put("clearance_height", Clearance_height); StrAtt.put("clearance_height_closed", Clearance_height_closed);
|
---|
575 | StrAtt.put("clearance_height_open", Clearance_height_open); StrAtt.put("clearance_height_safe", Clearance_height_safe); StrAtt.put("clearance_width", Clearance_width);
|
---|
576 | StrAtt.put("colour", Colour); StrAtt.put("colour_pattern", Colour_pattern); StrAtt.put("communication", Communication); StrAtt.put("condition", Condition);
|
---|
577 | StrAtt.put("conspicuity", Conspicuity); StrAtt.put("construction", Construction); StrAtt.put("danger_class", Danger_class); StrAtt.put("depth", Depth);
|
---|
578 | StrAtt.put("depth_buried", Depth_buried); StrAtt.put("description", Description); StrAtt.put("distance", Distance); StrAtt.put("distance_down", Distance_down);
|
---|
579 | StrAtt.put("distance_end", Distance_end); StrAtt.put("distance_start", Distance_start); StrAtt.put("distance_up", Distance_up); StrAtt.put("elevation", Elevation);
|
---|
580 | StrAtt.put("end_date", End_date); StrAtt.put("end_time", End_time); StrAtt.put("estimated_range", Estimated_range); StrAtt.put("exhibition", Exhibition);
|
---|
581 | StrAtt.put("exposition", Exposition); StrAtt.put("factor", Factor); StrAtt.put("frequency", Frequency); StrAtt.put("function", Function);
|
---|
582 | StrAtt.put("generation", Generation); StrAtt.put("goods", Goods); StrAtt.put("gravity_reference", Gravity_reference); StrAtt.put("group", Group);
|
---|
583 | StrAtt.put("height", Height); StrAtt.put("high_name", High_name); StrAtt.put("high_value", High_value); StrAtt.put("high_velocity", High_velocity);
|
---|
584 | StrAtt.put("horizontal_clearance_length", Horizontal_clearance_length); StrAtt.put("horizontal_clearance_width", Horizontal_clearance_width);
|
---|
585 | StrAtt.put("horizontal_datum", Horizontal_datum); StrAtt.put("impact", Impact); StrAtt.put("information", Information); StrAtt.put("jurisdiction", Jurisdiction);
|
---|
586 | StrAtt.put("length", Length); StrAtt.put("local_name", Local_name); StrAtt.put("local_value", Local_value); StrAtt.put("low_name", Low_name);
|
---|
587 | StrAtt.put("low_value", Low_value); StrAtt.put("low_velocity", Low_velocity); StrAtt.put("maximum_depth", Maximum_depth); StrAtt.put("maximum_elevation", Maximum_elevation);
|
---|
588 | StrAtt.put("maximum_load", Maximum_load); StrAtt.put("maximum_range", Maximum_range); StrAtt.put("maximum_sounding", Maximum_sounding); StrAtt.put("mean_name", Mean_name);
|
---|
589 | StrAtt.put("mean_value", Mean_value); StrAtt.put("mean_velocity", Mean_velocity); StrAtt.put("message", Message); StrAtt.put("minimum_depth", Minimum_depth);
|
---|
590 | StrAtt.put("minimum_elevation", Minimum_elevation); StrAtt.put("minimum_sounding", Minimum_sounding); StrAtt.put("multiple", Multiple); StrAtt.put("name", Name);
|
---|
591 | StrAtt.put("national_information", National_information); StrAtt.put("nationality", Nationality); StrAtt.put("national_description", National_description);
|
---|
592 | StrAtt.put("national_name", National_name); StrAtt.put("national_pilot_district", National_pilot_district); StrAtt.put("nm_date", Nm_date); StrAtt.put("other_velocity", Other_velocity);
|
---|
593 | StrAtt.put("operation", Operation); StrAtt.put("orientation", Orientation); StrAtt.put("passing_time", Passing_time); StrAtt.put("period", Period); StrAtt.put("period_end", Period_end);
|
---|
594 | StrAtt.put("period_start", Period_start); StrAtt.put("pilot_district", Pilot_district); StrAtt.put("position_quality", Position_quality); StrAtt.put("positional_accuracy", Positional_accuracy);
|
---|
595 | StrAtt.put("producing_country", Producing_country); StrAtt.put("product", Product); StrAtt.put("quality", Quality); StrAtt.put("range", Range);
|
---|
596 | StrAtt.put("reference", Reference); StrAtt.put("reflectivity", Reflectivity); StrAtt.put("restriction", Restriction); StrAtt.put("schedule", Schedule); StrAtt.put("shape", Shape);
|
---|
597 | StrAtt.put("sector_end", Sector_end); StrAtt.put("sector_start", Sector_start); StrAtt.put("sequence", Sequence); StrAtt.put("shift", Shift); StrAtt.put("ship", Ship);
|
---|
598 | StrAtt.put("sounding_accuracy", Sounding_accuracy); StrAtt.put("sounding_name", Sounding_name); StrAtt.put("start_date", Start_date); StrAtt.put("start_time", Start_time);
|
---|
599 | StrAtt.put("status", Status); StrAtt.put("surface", Surface); StrAtt.put("surface_qualification", Surface_qualification); StrAtt.put("survey", Survey);
|
---|
600 | StrAtt.put("survey_end", Survey_end); StrAtt.put("survey_start", Survey_start); StrAtt.put("system", System); StrAtt.put("technique", Technique); StrAtt.put("traffic_flow", Traffic_flow);
|
---|
601 | StrAtt.put("units", Units); StrAtt.put("use", Use); StrAtt.put("variation", Variation); StrAtt.put("variation_change", Variation_change); StrAtt.put("velocity", Velocity);
|
---|
602 | StrAtt.put("vertical_accuracy", Vertical_accuracy); StrAtt.put("vertical_datum", Vertical_datum); StrAtt.put("vertical_length", Vertical_length); StrAtt.put("vertical_name", Vertical_name);
|
---|
603 | StrAtt.put("visibility", Visibility); StrAtt.put("water_level", Water_level); StrAtt.put("wavelength", Wavelength); StrAtt.put("width", Width); StrAtt.put("year", Year);
|
---|
604 | }
|
---|
605 |
|
---|
606 | public static Att decodeAttribute(long attl) { // Convert S57 attribute code to SCM attribute enumeration
|
---|
607 | for (Att att : AttS57.keySet()) {
|
---|
608 | if (AttS57.get(att) == attl) return att;
|
---|
609 | }
|
---|
610 | for (Att att : AttIENC.keySet()) {
|
---|
611 | if (AttIENC.get(att) == attl) return att;
|
---|
612 | }
|
---|
613 | return Att.UNKATT;
|
---|
614 | }
|
---|
615 |
|
---|
616 | public static Integer encodeAttribute(Att attribute) { // Convert SCM attribute enumeration to S57 attribute code
|
---|
617 | return AttS57.get(attribute) != 0 ? AttS57.get(attribute) : AttIENC.get(attribute);
|
---|
618 | }
|
---|
619 |
|
---|
620 | public static String stringAttribute(Att attribute) { // Convert SCM enumeration to OSM attribute string
|
---|
621 | String str = AttStr.get(attribute);
|
---|
622 | return str != null ? str : "";
|
---|
623 | }
|
---|
624 |
|
---|
625 | public static Att enumAttribute(String attribute, Obj obj) { // Convert OSM attribute string to SCM enumeration
|
---|
626 | if ((attribute != null) && !attribute.isEmpty()) {
|
---|
627 | EnumMap<Obj, Att> map = StrAtt.get(attribute);
|
---|
628 | if (map != null) {
|
---|
629 | if (map.containsKey(obj)) {
|
---|
630 | return map.get(obj);
|
---|
631 | } else if (map.containsKey(Obj.UNKOBJ)) {
|
---|
632 | return map.get(Obj.UNKOBJ);
|
---|
633 | } else {
|
---|
634 | return Att.UNKATT;
|
---|
635 | }
|
---|
636 | }
|
---|
637 | }
|
---|
638 | return Att.UNKATT;
|
---|
639 | }
|
---|
640 | }
|
---|