Modify

Ticket #2417 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 21 months ago

Add search presets

Reported by: anonymous Owned by: team
Priority: major Component: Core
Version: latest Keywords: search, presets
Cc: singularita@…

Description

It would be nice to be able to have search presets. Since search support regular expression, I use some search strings to find out data that potentially contain some errors. The expressions are too complicated to retype again, so I keep them in separate text file (for example expression to search for names that are likely to have incorrect capitalisation:

name:" [a-zěščřžýáíéúůďťňó]" highway -name:"^(U|V|Na|Nad|Pod|Za|K|Ke) [A-ZĚŠČŘŽÝÁÍÉÚŮĎŤŇÓÜÖÄ]" -" (náměstí|nábřeží|most|trh|ulička|tunel|hradby|spojka)"

It would be nice to have feature, that allow adding such search string to some presets and invoking them later, it would be much simpler than having to copy search strings from separate file each time I need to use it.

Attachments

Change History

comment:1 Changed 2 years ago by singularita@…

  • Cc singularita@… added

comment:2 Changed 2 years ago by avar

  • Keywords search, presets added

comment:3 Changed 21 months ago by anonymous

  • Status changed from new to closed
  • Resolution set to duplicate

comment:4 Changed 21 months ago by anonymous

Closed as duplicate of #4546.

comment:5 Changed 21 months ago by avar

  • Status changed from closed to reopened
  • Resolution duplicate deleted

Not really a dupe of #4546. Presets != toolbar buttons.

comment:6 follow-up: ↓ 7 Changed 21 months ago by stoecker

  • Status changed from reopened to closed
  • Resolution set to wontfix

Well, then wontfix. Searches are individual, they are nothing for presets. I would accept a ini-style config extension like regedit for windows does. This is another ticket. so no need to keep this one opened.

comment:7 in reply to: ↑ 6 Changed 21 months ago by avar

Replying to stoecker:

Well, then wontfix. Searches are individual, they are nothing for presets. I would accept a ini-style config extension like regedit for windows does. This is another ticket. so no need to keep this one opened.

Searches aren't always individual. Here's one example where I wished I could have distributed search presets.

The search engine is now powerful enough that it can be used for powerful editing commands. Search presets would enable spreading useful search queries beyond a single JOSM instance.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.