Skip to content

Name and Address fields missing from many presets #449

Closed

Description

@1ec5

The Name and Address fields are missing from many presets, for example Supermarket, Florist, Video Store, Charity Office, and Law Office. As a result, mappers have to enter addresses using the raw tag editor. I can’t figure out a pattern to the presets that are missing these fields, but maybe it’s relevant that these presets are supposed to inherit their tags and “more” tags from more generic presets like Shop and Office following openstreetmap/iD#5712. Other inherited fields like Telephone remain available.

supermarket

Activity

  1. changed the title [-]Address field missing from many presets[/-] [+]Name and Address fields missing from many presets[/+] on Sep 21, 2022
  2. jeffreyameyer commented on Sep 23, 2022

    @jeffreyameyer
    Member

    Weird... I wonder if some of those were stomped out when we added start, end, source, and license to everything.

    What's the best approach for inventorying which need to have these fields re-added and re-adding them?

    @danrademacher - who's our in-house iD build guru?

  3. danrademacher commented on Sep 23, 2022

    @danrademacher

    I'd say we are lacking an in-house iD build guru! I don't think we changed presets since Jim McAndrew did the initial work to add start and end date back in 2017.

    I'm away from keyboard right now though so I might be forgetting later changes.

    Would this be resolved if we update iD and fall back to using the existing OSM iD presets with some overrides, as @1ec5 suggests in #395?

  4. 1ec5 commented on Sep 24, 2022

    @1ec5
    MemberAuthor

    Would this be resolved if we update iD and fall back to using the existing OSM iD presets with some overrides, as @1ec5 suggests in #395?

    If we start over from a fresh iD, as you’ve started in #395 (comment), then yes, I’m pretty sure this issue would be resolved. openstreetmap/iD#5712 is a relevant change, but none of that code is present in this codebase, so I think OpenHistoricalMap/iD#18 might’ve somehow skipped it inadvertently.

  5. 1ec5 commented on Oct 13, 2022

    @1ec5
    MemberAuthor

    I think the root cause of this issue is that OpenHistoricalMap/iD@1258835 ensures that the Start Date, End Date, Source, and License fields are part of every preset, including some presets that otherwise would have no fields. A preset automatically inherits from a more generic preset only if it has no fields of its own; otherwise, the preset has to specify that it inherits from the other preset. For example, Supermarket specifies no fields of its own, so iD automatically adds the fields from Shop.

    We need to find a different way to add these four fields to every preset, either by restoring the special case removed in openstreetmap/iD#4201 but for these fields, or by only adding the fields to the “root” presets that don’t inherit from anything else.

  6. 1ec5 commented on Oct 17, 2022

    @1ec5
    MemberAuthor
  7. added theissue type on Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions