Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JOSM #21572 - Add "was" search keyword for searching in object history #80

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Woazboat
Copy link

Added the was keyword to the search function to allow matching objects based on their previous states. I.e. was <expr> matches an object if <expr> matches any previous version of the object.

Example:

  • was building=* to search for all objects that either currently have a building=* tag or have had this tag at any point in their history.
  • was building=* -building=* to search for all objects that previously had a building=* tag which was removed at some point.

@Woazboat
Copy link
Author

@stoecker stoecker changed the title Add "was" search keyword for searching in object history JOSM #21572 - Add "was" search keyword for searching in object history Jan 27, 2022
@Woazboat Woazboat marked this pull request as draft February 18, 2023 21:43
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