Modify

Opened 7 years ago

Last modified 4 years ago

#15219 new enhancement

remote control with an Overpass query

Reported by: Polyglot Owned by: team
Priority: normal Milestone:
Component: Core remotecontrol Version:
Keywords: Overpass API, remote control Cc:

Description

Hi,

I'd like to see an enhancement of the remote control capabilities, such that one can pass in an Overpass API query. If no bounding box is given, open the download dialog and let the user select an area.

If no url is given, use the standard Overpass instance.

Polyglot

Attachments (0)

Change History (3)

comment:1 by bagage, 5 years ago

Is there any blocking idea here? If not, is someone implementing it? If not, are there pointers on how to get started on it?

Thanks!

in reply to:  1 comment:2 by simon04, 5 years ago

Replying to bagage:

Is there any blocking idea here?

Most likely not.

If not, is someone implementing it?

Not at the moment.

If not, are there pointers on how to get started on it?

Remote control is organized in handlers – one for each endpoint such as /import, /zoom, /add_node. Take a look at org.openstreetmap.josm.io.remotecontrol.handler.AddNodeHandler for /add_node which is a simple one. The parameter addtags= causes JOSM to display a dialog for adding tags.

comment:3 by anonymous, 4 years ago

Thanks simon04 for the insight!

Someone pointed me to a work around: one can use loading via URL by encoding Overpass query directly:

http://127.0.0.1:8111/import?url=https%3A%2F%2Foverpass-api.de%2Fapi%2Finterpreter%3Fdata%3Darea(3601403916)-%253E.searchArea%253B%250Anode(id%253A1)(area.searchArea)%253B%250Aout%2520meta%253B%252F*fixed%2520by%2520auto%2520repair*%252F

So maybe that issue can be closed if you wish.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Polyglot.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.