Changeset 13827 in josm for trunk/src/org/openstreetmap/josm/io/imagery
- Timestamp:
- 2018-05-24T23:05:08+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java
r13824 r13827 466 466 } 467 467 if (tagEquals(QN_LAYER, reader.getName())) { 468 469 468 parseLayer(reader, ret); 470 469 } 471 if (tagEquals(QN_EX_GEOGRAPHIC_BBOX, reader.getName())) { 472 if (ret.getBounds() == null) { 473 Bounds bbox = parseExGeographic(reader); 474 ret.setBounds(bbox); 475 } 476 470 if (tagEquals(QN_EX_GEOGRAPHIC_BBOX, reader.getName()) && ret.getBounds() == null) { 471 ret.setBounds(parseExGeographic(reader)); 477 472 } 478 473 if (tagEquals(QN_BOUNDINGBOX, reader.getName())) { … … 484 479 } 485 480 if (ret.getBounds() == null && conv != null) { 486 Bounds bbox = parseBoundingBox(reader, conv); 487 ret.setBounds(bbox); 481 ret.setBounds(parseBoundingBox(reader, conv)); 488 482 } 489 483 } 490 if (tagEquals(QN_LATLONBOUNDINGBOX, reader.getName()) && belowWMS130()) { 491 if (ret.getBounds() == null) { 492 Bounds bbox = parseBoundingBox(reader, null); 493 ret.setBounds(bbox); 494 } 484 if (tagEquals(QN_LATLONBOUNDINGBOX, reader.getName()) && belowWMS130() && ret.getBounds() == null) { 485 ret.setBounds(parseBoundingBox(reader, null)); 495 486 } 496 487 }
Note:
See TracChangeset
for help on using the changeset viewer.