forked from MapComplete/MapComplete
refactoring: Add _backend in overpass-source
This commit is contained in:
parent
9ce92b8efa
commit
ee8dbbcf7d
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,7 @@ class RewriteMetaInfoTags extends SimpleMetaTagger {
|
|||
"_version_number",
|
||||
"_backend",
|
||||
],
|
||||
doc: "Information about the last edit of this object.",
|
||||
doc: "Information about the last edit of this object. This object will actually _rewrite_ some tags for features coming from overpass",
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -213,6 +213,7 @@ class RewriteMetaInfoTags extends SimpleMetaTagger {
|
|||
move("changeset", "_last_edit:changeset")
|
||||
move("timestamp", "_last_edit:timestamp")
|
||||
move("version", "_version_number")
|
||||
feature.properties._backend = "https://openstreetmap.org"
|
||||
return movedSomething
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue