Ignore:
Timestamp:
2013-12-29T12:52:10+01:00 (11 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/src/s57/S57map.java

    r30150 r30157  
    1313
    1414import s57.S57att;
     15import s57.S57val.AttVal;
    1516import s57.S57att.*;
    1617import s57.S57obj;
     
    351352                                        items.put(idx, atts);
    352353                                }
    353                                 AttVal attval = S57val.convertValue(val, att);
     354                                AttVal<?> attval = S57val.convertValue(val, att);
    354355                                if (attval.val != null)
    355356                                        atts.put(att, new AttItem(attval.conv, attval.val));
     
    363364                                        Att att = S57att.enumAttribute(subkeys[1], Obj.UNKOBJ);
    364365                                        if (att != Att.UNKATT) {
    365                                                 AttVal attval = S57val.convertValue(val, att);
     366                                                AttVal<?> attval = S57val.convertValue(val, att);
    366367                                                if (attval.val != null)
    367368                                                        feature.atts.put(att, new AttItem(attval.conv, attval.val));
     
    436437                        areas.put(id, area);
    437438                        break;
     439                case UNKN:
     440                default:
     441                        break;
    438442                }
    439443                if ((feature.type != Obj.UNKOBJ) && !((edge != null) && (edge.last == 0))) {
     
    556560                        }
    557561                        return new Snode((sarc > 0.0 ? slat / sarc : 0.0), (sarc > 0.0 ? slon / sarc : 0.0));
     562                default:
    558563                }
    559564                return null;
Note: See TracChangeset for help on using the changeset viewer.