-
Notifications
You must be signed in to change notification settings - Fork 899
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 denominations tree #5960
base: main
Are you sure you want to change the base?
Add denominations tree #5960
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"properties": { | ||
"path": "denominations/amenity/place_of_worship", | ||
"skipCollection": true, | ||
"exclude": {"generic": ["^place of worship$"]} | ||
}, | ||
"items": [ | ||
{ | ||
"displayName": "Kingdom Hall of Jehovah's Witnesses", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Many denominations translate their names into as many local languages as possible. The appropriate name usually varies by language more than by region. As it stands, id-tagging-schema is better suited to localization than NSI. This is already an issue for the flags tree, but the issue would be more acute for any denomination tree, because the icon usually wouldn’t be very clarifying to a non-English-speaker. Or would we limit this tree to just the denominations that have a specialized name and icon for all their places of worship? These three presets only exist because it was considered inappropriate to use the ✝️ icon for these denominations. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I was also thinking about how the displayNames for these denominations could be translated to a region's local language. I agree that id-tagging-schema would be a better place to have these presets because of these current limitations - I hadn't really thought about how the default presets are localized
This could work, though I can't think of any off the top of my head. I was also looking into how the
This makes sense now. I was wondering why there were only these three denomination presets There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I really don't want to introduce localization into the Name Suggestion Index display names. Display name is just the label that the preset shows in RapiD and JOSM. But I think keeping this tree similar to how the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
#5982 tracks making flags localizable. Maybe the solution there could inform how we’d make denomination entries localizable too. But in the meantime, id-tagging-schema at least offers a way to localize the display names, even if it doesn’t have a straightforward way to filter denominations by religion (something we’d have to solve as part of this project too). |
||
"id": "kingdomhallofjehovahswitnesses-0274e6", | ||
"locationSet": {"include": ["001"]}, | ||
"tags": { | ||
"amenity": "place_of_worship", | ||
"denomination": "jehovahs_witnesses", | ||
"denomination:wikidata": "Q35269", | ||
"name": "Kingdom Hall of Jehovah's Witnesses", | ||
"religion": "christian" | ||
} | ||
}, | ||
{ | ||
"displayName": "La Luz del Mundo Temple", | ||
"id": "laluzdelmundotemple-0274e6", | ||
"locationSet": {"include": ["001"]}, | ||
"matchNames": [ | ||
"iglesia del dios vivo columna y apoyo de la verdad la luz del mundo", | ||
"the light of the world" | ||
], | ||
"tags": { | ||
"amenity": "place_of_worship", | ||
"denomination": "la_luz_del_mundo", | ||
"denomination:wikidata": "Q3497836", | ||
"name": "La Luz del Mundo Temple", | ||
"religion": "christian" | ||
} | ||
}, | ||
{ | ||
"displayName": "Quaker Friends Meeting House", | ||
"id": "quakerfriendsmeetinghouse-0274e6", | ||
"locationSet": {"include": ["001"]}, | ||
"tags": { | ||
"amenity": "place_of_worship", | ||
"denomination": "quaker", | ||
"denomination:wikidata": "Q170208", | ||
"name": "Quaker Friends Meeting House", | ||
"religion": "christian" | ||
} | ||
} | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"_meta": { | ||
"version": "6.0.20220801", | ||
"generated": "2022-08-06T21:22:19.790Z", | ||
"url": "https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/filtered/denominations_discard.json", | ||
"hash": "3bc984d771638a851ec8af8c16b3f3d6", | ||
"collectionDate": "20220801" | ||
},"discard": {}} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"_meta": { | ||
"version": "6.0.20220801", | ||
"generated": "2022-08-06T21:22:19.791Z", | ||
"url": "https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/filtered/denominations_keep.json", | ||
"hash": "e37f5545a1fdb56699f8721a6f39ca17", | ||
"collectionDate": "20220801" | ||
},"keep": {}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides places of worship, schools, community centers, and social facilities are often identified by their denomination as well. The editor would have to make sure not to “upgrade” something to a place of worship just because it has a matching denomination.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point - I was thinking about adding schools to the denominations tree but left it out for now. IIRC iD only matches items of a different category if it falls into one of these matchGroups
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think in this situation I think it should only offer to upgrade
amenity/place_of_worship
, or maybe also some generically tagged features likebuilding=yes
oramenity=yes
when paired with a matchingname
oroperator
.