Changeset 9610 in josm for trunk/src/org/openstreetmap/josm/io/imagery
- Timestamp:
- 2016-01-24T14:42:03+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r9414 r9610 45 45 SHAPE, 46 46 NO_TILE, 47 NO_TILESUM, 47 48 METADATA, 48 49 UNKNOWN, // element is not recognized in the current context … … 94 95 private List<String> projections; 95 96 private Map<String, String> noTileHeaders; 97 private Map<String, String> noTileChecksums; 96 98 private Map<String, String> metadataHeaders; 97 99 … … 107 109 projections = null; 108 110 noTileHeaders = null; 111 noTileChecksums = null; 109 112 } 110 113 … … 125 128 newState = State.ENTRY; 126 129 noTileHeaders = new HashMap<>(); 130 noTileChecksums = new HashMap<>(); 127 131 metadataHeaders = new HashMap<>(); 128 132 } … … 170 174 noTileHeaders.put(atts.getValue("name"), atts.getValue("value")); 171 175 newState = State.NO_TILE; 176 } else if ("no-tile-checksum".equals(qName)) { 177 noTileChecksums.put(atts.getValue("type"), atts.getValue("value")); 178 newState = State.NO_TILESUM; 172 179 } else if ("metadata-header".equals(qName)) { 173 180 metadataHeaders.put(atts.getValue("header-name"), atts.getValue("metadata-key")); … … 225 232 entry.setNoTileHeaders(noTileHeaders); 226 233 noTileHeaders = null; 234 entry.setNoTileChecksums(noTileChecksums); 235 noTileChecksums = null; 227 236 entry.setMetadataHeaders(metadataHeaders); 228 237 metadataHeaders = null;
Note:
See TracChangeset
for help on using the changeset viewer.