<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div style="16px" text-align="left"><div style="16px">Is anyone aware about tool that takes as input two sets of OSM tags and will output<br></div><div style="16px">visualization of data split into two groups<br></div><div style="16px"><br></div><div style="16px">- objects with tags from set A, more than X meters from any object with tags from set B<br></div><div style="16px">- objects with tags from set A, no more than X meters from any object with tags from set B<br></div><div style="16px"><br></div><div style="16px">?<br></div><div style="16px"><br></div><div style="16px" text-align="left">For example<br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left">- highway=bus_stop for set A<br></div><div style="16px" text-align="left">- highway=service/residential/unclassified/tertiary/... for set B<br></div><div style="16px" text-align="left">- 20m as distance parameter<br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left">This one would allow to list bus stops that are suspiciously far away from roads.<br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left">In my case it would be "public objects without nearby bicycle parkings".<br></div><div style="16px" text-align="left">--------<br></div><div style="16px" text-align="left">Though, given that it seems to be build from 4 relatively simple steps it is likely that <br></div><div style="16px" text-align="left">nobody who did it bothered to publish any part as a project.<br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left">But if anyone see something stupid in my plan below - let me know!<br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left">All parts of that are fairly easy<br></div></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left">- build list of tags indicating major public objects (shop=*, amenity=place_of_worship,<br></div><div style="16px" text-align="left">amenity=restaurant, amenity=pharmacy, amenity=bar etc) [1]<br></div><div style="16px" text-align="left">- download data [2]<br></div><div style="16px" text-align="left">- run query to find public objects with/without nearby bicycle parkings [3]<br></div><div style="16px" text-align="left">- generate visualization depicting this data [4]<br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left"><div style="16px" text-align="left"><a href="https://github.com/Leaflet/Leaflet.markercluster">https://github.com/Leaflet/Leaflet.markercluster</a><br></div><div style="16px" text-align="left"><br></div></div><div style="16px" text-align="left">[1] is fairly simple, just go through preset of Vespucci or some other editor<br></div><div style="16px" text-align="left">(though if anyone knows about listing of such tags - let me know)<br></div><div style="16px" text-align="left">[2] probably just download extract of some region and load into database<br></div><div style="16px" text-align="left">[3] postgis queries (ST_Buffer to build areas + ST_Within)?<br></div><div style="16px" text-align="left">Though it would get fun if I would start looking for <br></div><div style="16px" text-align="left">"bicycle parking within X meters from entrance to a public object"<br></div><div style="16px" text-align="left">[4] <a href="https://github.com/Leaflet/Leaflet.markercluster">https://github.com/Leaflet/Leaflet.markercluster</a> for an initial version looks good enough<br></div>  </body>
</html>