Skip to content

Use iD presets #116

@westnordost

Description

@westnordost

See https://github.com/openstreetmap/id-tagging-schema (+ https://github.com/osmlab/name-suggestion-index/)

I am really surprised that this project doesn't use them yet. Only when users are not forced to know the tags (by heart), this becomes a tool that can be used by non OSM experts. TBH, when it does, it is something I find should be used on osm.org itself in my opinion, but that is another story.

When you use the presets, you gain

  • not having to maintain a list of features+icon yourself
  • localized feature names and thus search by that
  • terms for features with which one can find them (e.g. find shop=pet when typing "dog")
  • icons
  • a list of fields (e.g. phone, website, ... on POI features) which one could display for the user to fill out
  • for the fields, further information by what kind of UI they should be selected (e.g. is it a color, is it a multi-select etc...)

Almost all smartphone apps use iD presets one way or another (EveryDoor, StreetComplete, GoMap!!, OSM Go, ...).

In StreetComplete, I use a subset of this, i.e. only the features and not the fields. I use https://github.com/westnordost/osmfeatures to parse the preset.json. The feature search looks like this:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    new featureNew feature or request

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions