Skip to content

support 3rd-party icons for preset fields#10254

Closed
k-yle wants to merge 1 commit intoopenstreetmap:developfrom
k-yle:preset-field-icons
Closed

support 3rd-party icons for preset fields#10254
k-yle wants to merge 1 commit intoopenstreetmap:developfrom
k-yle:preset-field-icons

Conversation

@k-yle
Copy link
Copy Markdown
Collaborator

@k-yle k-yle commented May 25, 2024

iD already supports third-party icons for presets, but not for fields.

This PR resolves the inconsistency, which is very useful for some presets.

Copy link
Copy Markdown
Member

@tyrasd tyrasd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is a good idea: "Regular" presets don't use external icons in general. This has the benefit that consumers of the presets can predict which icons might appear. External icons were introduced for NSI because it was deemed unfeasible to maintain an icon set for the large amount of brands in that data set. This is however generally not the case for regular presets from the id-tagging-schema. The icons in the example screenshot could simply be added to temaki, couldn't they?

@tordans
Copy link
Copy Markdown
Collaborator

tordans commented Jun 6, 2024

"Regular" presets don't use external icons in general.

I agree and added ideditor/schema-builder#161 so we can clarify this in the schema repo at some point.

matkoniecz added a commit to matkoniecz/schema-builder that referenced this pull request Mar 5, 2026
See openstreetmap/iD#10254

Fixes ideditor#161

It is project-specific documentation but makes sense to put it here given how significant user this specific projects are.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants