From 8d42e3f47fa282cccee37198ad05bc06da88f442 Mon Sep 17 00:00:00 2001 From: stoecker Date: Mon, 9 Sep 2024 14:48:01 +0000 Subject: [PATCH] fix SyncEditorLayerIndex script git-svn-id: https://josm.openstreetmap.de/svn/trunk@19213 0c6e7542-c601-0410-84e7-c038aed88b3b --- scripts/SyncEditorLayerIndex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/SyncEditorLayerIndex.java b/scripts/SyncEditorLayerIndex.java index 38c88fb634b..6c2b4a324a0 100644 --- a/scripts/SyncEditorLayerIndex.java +++ b/scripts/SyncEditorLayerIndex.java @@ -398,7 +398,7 @@ void loadELIUsers() throws IOException { } myprintln("*** Loaded "+idEntries.size()+" entries (iD). ***"); try (JsonReader jr = Json.createReader(Files.newBufferedReader(Paths.get(rapidInputFile), UTF_8))) { - rapidEntries = jr.readArray(); + rapidEntries = jr.readObject().getJsonArray("imagery"); } for (JsonValue e : rapidEntries) { String url = getUrlStripped(e);