Skip to content

New sanitizers: delete-names and derive-names#4097

Merged
lonvia merged 6 commits into
osm-search:masterfrom
lonvia:more-sanatizing
May 15, 2026
Merged

New sanitizers: delete-names and derive-names#4097
lonvia merged 6 commits into
osm-search:masterfrom
lonvia:more-sanatizing

Conversation

@lonvia
Copy link
Copy Markdown
Member

@lonvia lonvia commented May 14, 2026

This adds two new sanitizers:

  • delete-names allows to remove names according to a pattern. This is a replacement for delete-tags with slightly more standardized parameter names.
  • derive-names allows to create additional names by deriving them from an existing one. Can also be used to add names given certain conditions.

The delete-tags sanitizer is now deprecated and will be remove in the new major version.

Also cleans up the sanitizer code a little and adds additional check to avoid helper modules being loaded as a sanitizer.

@lonvia lonvia merged commit 8f4e782 into osm-search:master May 15, 2026
8 checks passed
@lonvia lonvia deleted the more-sanatizing branch May 15, 2026 07:08
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.

1 participant