Changeset 19213 in josm for trunk/scripts


Ignore:
Timestamp:
2024-09-09T16:48:01+02:00 (4 months ago)
Author:
stoecker
Message:

fix SyncEditorLayerIndex script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.java

    r19139 r19213  
    399399        myprintln("*** Loaded "+idEntries.size()+" entries (iD). ***");
    400400        try (JsonReader jr = Json.createReader(Files.newBufferedReader(Paths.get(rapidInputFile), UTF_8))) {
    401             rapidEntries = jr.readArray();
     401            rapidEntries = jr.readObject().getJsonArray("imagery");
    402402        }
    403403        for (JsonValue e : rapidEntries) {
Note: See TracChangeset for help on using the changeset viewer.