Changeset 29388 in osm for applications/editors/josm/plugins/imagery_offset_db/src/iodb/IODBReader.java
- Timestamp:
- 2013-03-23T18:45:59+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/IODBReader.java
r29384 r29388 100 100 fields.position = parseLatLon(attributes); 101 101 fields.id = Integer.parseInt(attributes.getValue("id")); 102 if( attributes.getValue("flagged") != null && attributes.getValue("flagged").equals("yes") ) 103 fields.flagged = true; 102 104 } 103 105 } else { … … 183 185 public String imagery; 184 186 public int minZoom, maxZoom; 187 public boolean flagged; 185 188 public List<LatLon> geometry; 186 189 … … 208 211 minZoom = -1; 209 212 maxZoom = -1; 213 flagged = false; 210 214 geometry = new ArrayList<LatLon>(); 211 215 } … … 234 238 result.setBasicInfo(position, author, description, date); 235 239 result.setDeprecated(abandonDate, abandonAuthor, abandonReason); 240 if( flagged ) 241 result.setFlagged(flagged); 236 242 return result; 237 243 }
Note:
See TracChangeset
for help on using the changeset viewer.