Ignore:
Timestamp:
2013-01-20T11:51:05+01:00 (12 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/src/seamap/SeaMap.java

    r29202 r29206  
    2424
    2525        public enum Fflag {
    26                 UNKN, NODE, WAY, AREA
     26                UNKN, NODE, LINE, AREA
    2727        }
    2828
     
    147147                feature = new Feature();
    148148                feature.refs = id;
    149                 feature.flag = Fflag.WAY;
     149                feature.flag = Fflag.LINE;
    150150        }
    151151
     
    172172
    173173        public void tagsDone(long id) {
    174                 if ((feature.type != Obj.UNKOBJ) && !((feature.flag == Fflag.WAY) && (list.size() < 2))) {
     174                if ((feature.type != Obj.UNKOBJ) && !((feature.flag == Fflag.LINE) && (list.size() < 2))) {
    175175                        index.put(id, feature);
    176                         if ((feature.flag == Fflag.WAY) && (list.size() > 0) && (list.get(0).equals(list.get(list.size() - 1)))) {
     176                        if ((feature.flag == Fflag.LINE) && (list.size() > 0) && (list.get(0).equals(list.get(list.size() - 1)))) {
    177177                                feature.flag = Fflag.AREA;
    178178                        }
Note: See TracChangeset for help on using the changeset viewer.