Ignore:
Timestamp:
2013-03-23T18:45:59+01:00 (11 years ago)
Author:
zverik
Message:

probably the last alpha of iodb (or first beta, whatever)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/IODBReader.java

    r29384 r29388  
    100100                    fields.position = parseLatLon(attributes);
    101101                    fields.id = Integer.parseInt(attributes.getValue("id"));
     102                    if( attributes.getValue("flagged") != null && attributes.getValue("flagged").equals("yes") )
     103                        fields.flagged = true;
    102104                }
    103105            } else {
     
    183185        public String imagery;
    184186        public int minZoom, maxZoom;
     187        public boolean flagged;
    185188        public List<LatLon> geometry;
    186189
     
    208211            minZoom = -1;
    209212            maxZoom = -1;
     213            flagged = false;
    210214            geometry = new ArrayList<LatLon>();
    211215        }
     
    234238            result.setBasicInfo(position, author, description, date);
    235239            result.setDeprecated(abandonDate, abandonAuthor, abandonReason);
     240            if( flagged )
     241                result.setFlagged(flagged);
    236242            return result;
    237243        }
Note: See TracChangeset for help on using the changeset viewer.