Changeset 32090 in osm for applications/editors/josm/plugins/seachart/src/s57
- Timestamp:
- 2016-03-03T08:32:31+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/s57/S57map.java
r32082 r32090 466 466 } 467 467 } else { 468 Att att = S57att.enumAttribute(subkeys[1], Obj.UNKOBJ); 469 if (att != Att.UNKATT) { 470 AttVal<?> attval = S57val.convertValue(val, att); 471 if (attval.val != null) 472 feature.atts.put(att, attval); 468 if (obj != Obj.UNKOBJ) { 469 if (val.equals("yes")) { 470 ObjTab objs = feature.objs.get(obj); 471 if (objs == null) { 472 objs = new ObjTab(); 473 feature.objs.put(obj, objs); 474 } 475 } 476 } else { 477 Att att = S57att.enumAttribute(subkeys[1], Obj.UNKOBJ); 478 if (att != Att.UNKATT) { 479 AttVal<?> attval = S57val.convertValue(val, att); 480 if (attval.val != null) 481 feature.atts.put(att, attval); 482 } 473 483 } 474 484 }
Note:
See TracChangeset
for help on using the changeset viewer.