forked from MapComplete/MapComplete
Fix BAG-layer
This commit is contained in:
parent
3f96eb094e
commit
c7652b16c1
1 changed files with 7 additions and 2 deletions
|
@ -201,7 +201,7 @@
|
||||||
"if": {
|
"if": {
|
||||||
"or": [
|
"or": [
|
||||||
"_bag_obj:building=",
|
"_bag_obj:building=",
|
||||||
"_bag_obj:ref:bag"
|
"_bag_obj:ref:bag="
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
|
@ -213,7 +213,12 @@
|
||||||
"then": "{conflate_button(osm:buildings, building=$_bag_obj:building; ref:bag=$_bag_obj:ref:bag; source=BAG; source:date=$_bag_obj:source:date; start_date=$_bag_obj:start_date, Replace the geometry in OpenStreetMap, , _osm_obj:id)}"
|
"then": "{conflate_button(osm:buildings, building=$_bag_obj:building; ref:bag=$_bag_obj:ref:bag; source=BAG; source:date=$_bag_obj:source:date; start_date=$_bag_obj:start_date, Replace the geometry in OpenStreetMap, , _osm_obj:id)}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "_bag_obj:in_construction=true",
|
"if": {
|
||||||
|
"and":[
|
||||||
|
"_bag_obj:building~*",
|
||||||
|
"_bag_obj:ref:bag~*",
|
||||||
|
"_bag_obj:in_construction=true"]
|
||||||
|
},
|
||||||
"then": "{import_way_button(osm:buildings, building=$_bag_obj:building; construction=$_bag_obj:construction; ref:bag=$_bag_obj:ref:bag; source=BAG; source:date=$_bag_obj:source:date; start_date=$_bag_obj:start_date, Upload this building to OpenStreetMap)}"
|
"then": "{import_way_button(osm:buildings, building=$_bag_obj:building; construction=$_bag_obj:construction; ref:bag=$_bag_obj:ref:bag; source=BAG; source:date=$_bag_obj:source:date; start_date=$_bag_obj:start_date, Upload this building to OpenStreetMap)}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue