Changeset 30157 in osm for applications/editors/josm/plugins/smed2/src/s57/S57map.java
- Timestamp:
- 2013-12-29T12:52:10+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/s57/S57map.java
r30150 r30157 13 13 14 14 import s57.S57att; 15 import s57.S57val.AttVal; 15 16 import s57.S57att.*; 16 17 import s57.S57obj; … … 351 352 items.put(idx, atts); 352 353 } 353 AttVal attval = S57val.convertValue(val, att); 354 AttVal<?> attval = S57val.convertValue(val, att); 354 355 if (attval.val != null) 355 356 atts.put(att, new AttItem(attval.conv, attval.val)); … … 363 364 Att att = S57att.enumAttribute(subkeys[1], Obj.UNKOBJ); 364 365 if (att != Att.UNKATT) { 365 AttVal attval = S57val.convertValue(val, att); 366 AttVal<?> attval = S57val.convertValue(val, att); 366 367 if (attval.val != null) 367 368 feature.atts.put(att, new AttItem(attval.conv, attval.val)); … … 436 437 areas.put(id, area); 437 438 break; 439 case UNKN: 440 default: 441 break; 438 442 } 439 443 if ((feature.type != Obj.UNKOBJ) && !((edge != null) && (edge.last == 0))) { … … 556 560 } 557 561 return new Snode((sarc > 0.0 ? slat / sarc : 0.0), (sarc > 0.0 ? slon / sarc : 0.0)); 562 default: 558 563 } 559 564 return null;
Note:
See TracChangeset
for help on using the changeset viewer.