Skip to content

Commit

Permalink
Merge pull request #964 from tordans/stolpersteine
Browse files Browse the repository at this point in the history
Add preset `stolperstein` with deprecations and `memorial:addr` field
  • Loading branch information
tyrasd authored Aug 25, 2023
2 parents 3e655b7 + 9fbb9c2 commit cb87cc1
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 0 deletions.
8 changes: 8 additions & 0 deletions data/deprecated.json
Original file line number Diff line number Diff line change
Expand Up @@ -1932,5 +1932,13 @@
{
"old": {"pstn": "pole"},
"replace": {"man_made": "utility_pole", "utility": "telecom"}
},
{
"old": {"memorial:type": "stolperstein"},
"replace": {"memorial": "stolperstein"}
},
{
"old": {"memorial:text": "*"},
"replace": {"inscription": "$1"}
}
]
8 changes: 8 additions & 0 deletions data/fields/memorial/addr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "text",
"key": "memorial:addr",
"label": "Nearest Building Address",
"prerequisiteTag": {
"keyNot": "memorial:addr:street"
}
}
16 changes: 16 additions & 0 deletions data/fields/memorial/addr_subtags.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "address",
"key": "memorial:addr",
"keys": [
"memorial:addr:city",
"memorial:addr:housename",
"memorial:addr:housenumber",
"memorial:addr:place",
"memorial:addr:postcode",
"memorial:addr:street"
],
"label": "{memorial/addr}",
"prerequisiteTag": {
"key": "memorial:addr:street"
}
}
30 changes: 30 additions & 0 deletions data/presets/historic/memorial/stolperstein-EU.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"icon": "temaki-plaque",
"fields": [
"name",
"inscription",
"wikidata"
],
"moreFields": [
"memorial/addr",
"memorial/addr_subtags",
"subject/wikidata",
"image",
"wikimedia_commons",
"website"
],
"geometry": [
"point",
"vertex"
],
"tags": {
"historic": "memorial",
"memorial": "stolperstein"
},
"name": "Memorial Plaque Stolperstein",
"locationSet": {
"include": [
"Q46"
]
}
}

0 comments on commit cb87cc1

Please sign in to comment.