As Achavi Change Viewer is being temperamental, can it be used by other api instances?

I’m using them in an attempt to return Changeset data: achavi - Augmented OSM Change Viewer  [attic]

Both the api’s listed in the webpage are hit & miss at returning the expected data. Both webpages load, display the changeset’s boundary, spin the ‘loading data‘ but often just stop at this point.

An internet/AI search suggested it was a “front end“ & could be passed to any api instance, but I’m unable to reproduce this with various api calls I know to work (via Overpass Turbo).

Is their a technique I’m missing or is ChatGPT lying to me again?

This is a half-truth. Achavi is really a web interface for the Overpass API. But it hasn’t settings for selecting the API server.

However, you can easily fork the repository on GitHub change one URL, and enable GitHub Pages in your repository settings. Or download the repository to your computer and open index.html in your browser.

For an experiment, I changed the server to overpass.private.coffee in my fork
achavi - Augmented OSM Change Viewer  [attic] and it seems to work. (There are other references to the Overpass API domain in the code, but I don’t know what they are used for)

p.s. I don’t promise that my fork will continue to work, I’m just demonstrating the possibilities.
p.p.s. overpass.private.coffee is probably not a very reliable server. You can try to specify https://maps.mail.ru/osm/tools/overpass/api/interpreter, but don’t forget to disable Tracking Protection in Firefox

4 Likes

Thanks for that. I’ve forked your version and modified it so it can correctly identify the OSMCha augmented diffs, which means you can add a shortcut in OSM Smart Menu or OSM Tools Quick Access in the form of https://frakgart.github.io/achavi/?url=https%3A%2F%2Fadiffs.osmcha.org%2Fchangesets%2F{osm_changeset_id}.adiff

This is much faster than an Overpass based version. For example:

compared with private.coffee:
achavi - Augmented OSM Change Viewer  [attic]

2 Likes