Generally speaking, I’d imagine that someone who wanted to do that would just load OSM into a spatial database and do the analysis there (it’s even one of the examples in the osm2pgsql documentation).
I’m not sure who that would be, to be honest. Are you proposing some sort of website that enables someone to make this query easily, or something else?
2 Likes