Skip to content

Commit bee4c4e

Browse files
committed
Preset/stolperstein: Update address fields
- remove "addr:" field since small usage and discouraged - add addr_string which is the thing used most often - update addr_addr to only show if at least "memorial:addr:street" is present
1 parent 8e90f99 commit bee4c4e

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@
77
"memorial:addr:postcode",
88
"memorial:addr:housenumber"
99
],
10-
"label": "Nearest building address"
10+
"label": "Nearest Building Address",
11+
"prerequisiteTag": {
12+
"key": "memorial:addr:street"
13+
}
1114
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "text",
3+
"key": "addr",
4+
"label": "Nearest Building Address"
5+
}

data/presets/historic/memorial/stolperstein-EU.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"wikidata"
77
],
88
"moreFields": [
9-
"memorial/addr",
10-
"address",
9+
"memorial/addr_string",
10+
"memorial/addr_addr",
1111
"subject/wikidata",
1212
"image",
1313
"wikimedia_commons",

0 commit comments

Comments
 (0)