Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preset stolperstein with deprecations and memorial:addr field #964

Merged
merged 10 commits into from
Aug 25, 2023
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"}
}
]
11 changes: 11 additions & 0 deletions data/fields/memorial/addr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "address",
"key": "addr",
"keys": [
"memorial:addr:city",
"memorial:addr:street",
"memorial:addr:postcode",
"memorial:addr:housenumber"
],
"label": "Nearest building address"
tordans marked this conversation as resolved.
Show resolved Hide resolved
}
25 changes: 25 additions & 0 deletions data/presets/historic/memorial/stolperstein.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"icon": "temaki-plaque",
"fields": [
"name",
"inscription",
"wikidata"
],
"moreFields": [
"memorial/addr",
"address",
"subject/wikidata",
"image",
"wikimedia_commons",
"website"
],
"geometry": [
"point",
"vertex"
],
"tags": {
"historic": "memorial",
"memorial": "stolperstein"
},
"name": "Memorial Plaque Stolperstein"
}