Opened 6 months ago
Last modified 6 months ago
#24243 new enhancement
search= for /open_file Remote Control API endpoint
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
I'm using Remote Control
https://josm.openstreetmap.de/wiki/Help/RemoteControlCommands
to make it less tedious to start editing. I'm using the /open_file endpoint to open local files. The /load_and_zoom endpoint accepts a search= parameter with a search query and executes that search query after loading the data to select some elements
https://josm.openstreetmap.de/wiki/Help/RemoteControlCommands#load_and_zoom
I would like this same feature but for /open_file because I have to do the same search query for every file so this would save me a couple seconds if I can put it once in the URL
This would need essentially need copying the search part from here:
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
to this class:
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/OpenFileHandler.java