Opened 10 years ago
Last modified 10 years ago
#12469 closed enhancement
update overpass wizard code — at Initial Version
| Reported by: | tyr_asd | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 16.02 |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
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


