Changeset 13538 in josm for trunk/scripts


Ignore:
Timestamp:
2018-03-18T12:56:24+01:00 (7 years ago)
Author:
stoecker
Message:

don't error for minimal ELI projections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.groovy

    r13536 r13538  
    595595                    myprintln "- Missing JOSM projections (${et}): ${getDescription(j)}"
    596596                } else if (et) {
    597                     myprintln "* Projections differ ('${et}' != '${jt}'): ${getDescription(j)}"
     597                    if("EPSG:3857 EPSG:4326".equals(et) || "EPSG:3857".equals(et) || "EPSG:4326".equals(et)) {
     598                        myprintln "+ ELI has minimal projections ('${et}' != '${jt}'): ${getDescription(j)}"
     599                    } else {
     600                        myprintln "* Projections differ ('${et}' != '${jt}'): ${getDescription(j)}"
     601                    }
    598602                } else if (!options.nomissingeli && !getType(e).equals("tms")) {
    599603                    myprintln "+ Missing ELI projections ('${jt}'): ${getDescription(j)}"
Note: See TracChangeset for help on using the changeset viewer.