Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12469 closed enhancement (fixed)

update overpass wizard code — at Version 6

Reported by: tyr_asd Owned by: simon04
Priority: normal Milestone: 16.02
Component: Core Version:
Keywords: Cc:

Description (last modified by Don-vip)

The overpass wizard (javascript) code used in JOSM's Download from Overpass API utility should be updated to use the recently published standalone module: https://github.com/tyrasd/overpass-wizard.

The new module has a couple of options which modify the output of the wizard. So, it can be set up to produce a query with recursive meta output, xml format and the global bbox parameter set (see https://github.com/drolbr/Overpass-API/issues/251). You could even supply your own set of presets which would be searched for free-form input, but I'd still call that feature as experimental for now.

The module doesn't come in a standalone js file (but as a node module), but you can generate one by passing it through browserify (resulting in a 28kB script after minification):

browserify -s overpassWizard index.js | uglifyjs > overpass-wizard.js

Change History (6)

comment:1 Changed 5 years ago by simon04

Cc: simon04 removed
Milestone: 16.02
Owner: set to simon04
Priority: minornormal

comment:2 Changed 5 years ago by simon04

Resolution: fixed
Status: newclosed

In 9704/josm:

fix #12469 - Update overpass wizard code

comment:4 Changed 5 years ago by Klumbumbus

Resolution: fixed
Status: reopenedclosed

test is skipped since r9815

comment:5 Changed 5 years ago by simon04

In 9856/josm:

fix #12547 see #12469 - Fix Overpass API "Build query" for Java 7

comment:6 Changed 5 years ago by Don-vip

Description: modified (diff)
Note: See TracTickets for help on using tickets.