ngageoint / hootenanny

Hootenanny conflates multiple maps into a single seamless map.
GNU General Public License v3.0
359 stars 74 forks source link

General Building (AL015) w/ FFN=Religious Activities & HWT=Chapel changed to FFN=Place of Worship #4633

Open MikeTho16 opened 3 years ago

MikeTho16 commented 3 years ago

Describe the bug In iD (probably happens in JOSM too) under the MGCP schema, if one maps a General Building(AL015) point feature with Feature Function (FFN) = Religious Activities, and sets the House of Worship Type (HWT) = Chapel, iD changes Feature Function (FFN) to Place of Worship. Under TRD, HWT is a valid, and required, field for FFN=Religious Activities.

To Reproduce Steps to reproduce the behavior:

  1. Start iD editor (or press F5 to refresh so you are starting with a known state)

  2. Draw a point

  3. Make sure "Tag Schema:" is set to "MGCP"

  4. Search for "building"
    image

  5. Select "General Building (AL015)"

  6. Add field "Feature Function"

  7. Set "Feature Function" to "Religious Activity"

  8. Add field "House of Worship Type"

  9. Set "House of Worship Type" to "Chapel"

  10. "iD changes "Feature Function" to "Place of Worship"
    image

  11. HWT is required for FFN="Religious Activities"

Also happens with

Expected behavior

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

mattjdnv commented 3 years ago

I think refining the FFN assignment based on the HWT attribute is reasonable and the code should changed from the current IF HWT, Then FFN=931.

From the TRD:

When Feature Function FFN=930 (Religious Activities), FFN=931 (Place of Worship), every effort should be made to attribute as accurately as possible the House of Worship Type ‘HWT’

The two FFN's:

Religious Activities    930 Activities of religious organizations or individuals providing services either directly to worshippers (for example: in churches, mosques, temples, synagogues or other places of worship) or through the preparation of individuals for such service. ( Includes religious communities (for example: a convent or a monastery), religious retreats, and religious funeral service activities. )

Place of Worship    931 A place where religious worship is performed. ( Usually a building or similar structure is designed for this purpose. )

Looking at HWT I think that these values for FFN are applicable

MikeTho16 commented 3 years ago

As part of GAIT there is a spreadsheet called MGCP_IllogicalAttributeEnumeration_V11_TRD4 that shows that all House of Worship Types are valid with both "Religious Activities(930)" and "Place of Worship(931)" FFNs

Also, "House of Worship Type(HWT)"="Religious Community(7)" is valid with "Community Center(893)", "Auditorium(892)", "Social Work(887)", "Institution(859)", and "Residence(563)."

mattjdnv commented 2 years ago

Same problem as #4737 See it for more discussion

MikeTho16 commented 2 years ago

Tested today in JOSM 11.0.0, does not work (as expected as there was no comment in the ticket indicating otherwise): image