Fix note import layer

This commit is contained in:
Pieter Vander Vennet 2023-12-20 01:23:55 +01:00
parent f51b51c491
commit 58fa9a4cd4

View file

@ -85,7 +85,7 @@ export default class CreateNoteImportLayer extends Conversion<LayerConfigJson, L
description: trs(t.description, { title: layer.title.render }),
source: {
osmTags: {
and: ["id~[0-9]+", "comment_url~.*notes/[0-9]*g.json"],
and: ["id~[0-9]+", "comment_url~.*notes/[0-9]*/comment.json"],
},
geoJson:
"https://api.openstreetmap.org/api/0.6/notes.json?limit=10000&closed=" +