After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783185 - Show religion tag
Show religion tag
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2017-05-29 04:38 UTC by Robert Ancell
Modified: 2017-05-30 20:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Show religion tag (5.67 KB, patch)
2017-05-29 04:38 UTC, Robert Ancell
none Details | Review
Add tag religion to map bubbles (4.10 KB, patch)
2017-05-29 21:10 UTC, Robert Ancell
committed Details | Review
osmEditDialog: Add edit/add of religion (1.86 KB, patch)
2017-05-29 21:11 UTC, Robert Ancell
committed Details | Review

Description Robert Ancell 2017-05-29 04:38:28 UTC
Created attachment 352752 [details] [review]
Show religion tag

OpenStreetMap has a 'religion' tag [1] which is commonly used with amenity=place_of_worship, amenity=school or shop=religion.

Attached patch makes GNOME Maps show this tag and makes it editable.

I initially worked on also supporting the denomination tag, but that turned out to be a little more complex (they should be linked in the edit view, and there's a lot of denominations that we'd want translations for). I figure this could be added later.

[1] https://wiki.openstreetmap.org/wiki/Key:religion
Comment 1 Marcus Lundblad 2017-05-29 19:28:40 UTC
Review of attachment 352752 [details] [review]:

I think the code looks good.
However, I think I'd prefer the osmEditDialog stuff in its own commit, as that part is de-coupled from the viewing part (which used Overpass), the OSM edit dialog is basically just a "window" into parts of the tags of the OSM object (which are all fetched internally behind the scenes when editing).
Comment 2 Marcus Lundblad 2017-05-29 19:29:18 UTC
Thanks for the patch!
Comment 3 Robert Ancell 2017-05-29 21:10:51 UTC
Created attachment 352827 [details] [review]
Add tag religion to map bubbles
Comment 4 Robert Ancell 2017-05-29 21:11:17 UTC
Created attachment 352828 [details] [review]
osmEditDialog: Add edit/add of religion
Comment 5 Marcus Lundblad 2017-05-30 20:06:18 UTC
Review of attachment 352827 [details] [review]:

LGTM
Comment 6 Marcus Lundblad 2017-05-30 20:07:03 UTC
Review of attachment 352828 [details] [review]:

LGTM
Comment 7 Marcus Lundblad 2017-05-30 20:08:55 UTC
Attachment 352827 [details] pushed as e179346 - Add tag religion to map bubbles
Attachment 352828 [details] pushed as 15bc1ce - osmEditDialog: Add edit/add of religion