Ignore:
Timestamp:
2015-12-15T20:55:53+01:00 (4 years ago)
Author:
wiktorn
Message:

Introduce imagery-source warnings about alignment and reprojections.

Introduce new setting to maps.xsd:

  • valid-georeference - which marks imagery sources that are properly georeferenced (i.e. do not need imagery offset adjustments)
  • epsg4326to3857Supported - which marks imagery sources that might be safely queried using EPSG:3857 square BBOX, using EPSG:4326 projection

Make the AlignImageryPanel to show only, when valid-georeference is not set to true and provide the ability to hide this message ("do not show again"), which will be now remembered on per-source basis. Due to this changes, good imagery sources will not show warning to novice users and - experienced users will be presented with a warning, when they open an new imagery source which might be unaligned.

Introduce the ability to check "do not show again" the warning about EPSG:3857 to EPSG:4326 reprojections - as above - on per imagery basis.

All imagery sources should be now reviewed and set valid-georeference=true when appropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java

    r9078 r9134  
    143143                        "icon",
    144144                        "tile-size",
     145                        "validGeoreference",
     146                        "epsg4326to3857Supported",
    145147                }).contains(qName)) {
    146148                    newState = State.ENTRY_ATTRIBUTE;
     
    324326                    }
    325327                    break;
     328                case "valid-georeference":
     329                    entry.setGeoreferenceValid(new Boolean(accumulator.toString()));
     330                    break;
     331                case "epsg4326to3857Supported":
     332                    entry.setEpsg4326To3857Supported(new Boolean(accumulator.toString()));
     333                    break;
    326334                }
    327335                break;
Note: See TracChangeset for help on using the changeset viewer.