Skip to content

simplify how features are sorted into "other" category#12177

Draft
tyrasd wants to merge 1 commit intodevelopfrom
issue-9065
Draft

simplify how features are sorted into "other" category#12177
tyrasd wants to merge 1 commit intodevelopfrom
issue-9065

Conversation

@tyrasd
Copy link
Copy Markdown
Member

@tyrasd tyrasd commented Apr 7, 2026

addresses #9065:

  • boundaries also includes all ways that are a member of a boundary relation
  • ways that don't match any non-"other" category inherit the categories of all their parent relations
  • other includes only the remaining tagged ways that don't match any other category

todos:

  • handle case where feature is member of one relation (e.g. type=route) which does not match any category by itself
  • test extensively
  • add unit test for boundary ways
  • add unit test for other category

* other is only for unmatched areas and lines that have their own tags #9065
* boundaries also includes all ways that are a member of a boundary relation
@tyrasd tyrasd marked this pull request as draft April 7, 2026 15:48
@tyrasd tyrasd added the bug A bug - let's fix this! label Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A bug - let's fix this!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant