Skip to content

Refactor unnecessary filter-type checks #7

@sfendrich

Description

@sfendrich

TagKeyBasedOsmElementsFilter comes with filter types AcceptMatching and RemoveMatching. Function accept_by_tags checks for this type on each processed element. This check can be done once, when constructing the filter, e.g., by providing two struct implementations TagKeyBasedAcceptFilter and TagKeyBasedRemoveFilter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions