In fact, you need to replace the /map call with the contents of this file. And probably redo /relation/full, /way/full so that their contents are updated...
I'm thinking of adding something like &fromFile to prompt for a file selection dialog. After that, you just need to save the file from JOSM and reload the tab.
What do you think?
upd: We can go further and set the value, for example fromFile=https://overpass-api.de/api/interpreter?data=(node(50.746%2C7.154%2C50.748%2C7.157)%3Brel(bn)-%3E.x%3Bway(bn)%3Brel(bw)%3B)%3Bout%20meta%3B
или fromFile=localhost/path/to
https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_API_by_Example#More_complex_recursion
This is potentially useful because you can query the map state at any point in time from the past.
In fact, you need to replace the /map call with the contents of this file. And probably redo
/relation/full,/way/fullso that their contents are updated...I'm thinking of adding something like
&fromFileto prompt for a file selection dialog. After that, you just need to save the file from JOSM and reload the tab.What do you think?
upd: We can go further and set the value, for example
fromFile=https://overpass-api.de/api/interpreter?data=(node(50.746%2C7.154%2C50.748%2C7.157)%3Brel(bn)-%3E.x%3Bway(bn)%3Brel(bw)%3B)%3Bout%20meta%3Bили
fromFile=localhost/path/tohttps://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_API_by_Example#More_complex_recursion
This is potentially useful because you can query the map state at any point in time from the past.