<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Thanks for your suggestions, Dave F. I’ve created a number of issues in the GitHub repository (see links below). I won’t have time to improve the code for a while, but at least we will be able to keep track of suggestions. I am of course open to pull requests if anyone wants to have a go at improving it.</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div class="">The latest total for this district is 1767, so appears a bit more than a week behind.<br class="">Could the update date be added on the page so there's a guide to their accuracy?<br class=""></div></div></blockquote><div><br class=""></div>There is a date/time at the bottom of each district page, which reflects when that HTML page was generated. The update script gets the FHRS data using their API and downloads OSM data from GeoFabrik before processing the data and creating the HTML pages and JSON files which feed the slippy maps. The whole process takes an hour and a half ish.</div><div><br class=""></div><div>The GeoFabrik data is probably a bit behind, but this seems the most convenient way to obtain large amounts of OSM data without having to filter the entire planet file.</div><div><br class=""></div><div><a href="https://github.com/gregrs-uk/python-fhrs-osm/issues/4" class="">https://github.com/gregrs-uk/python-fhrs-osm/issues/4</a></div><div><div><br class=""></div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div class="">Could a 'Relevant OSM nodes/ways without fhrs:id' statistic be added?<br class=""></div></div></blockquote><div><br class=""></div><div>Probably, although the goal of the tool is really to improve the OSM address (and particularly postcode) data, hence the ‘Relevant OSM nodes/ways without fhrs:id or postcode’ statistic instead. (There are generally quite a number of establishments with a postcode but no fhrs:id, although in Bath and NE Somerset I see there are loads of establishments with an fhrs:id but no postcode.)</div><div><br class=""></div><div><a href="https://github.com/gregrs-uk/python-fhrs-osm/issues/5" class="">https://github.com/gregrs-uk/python-fhrs-osm/issues/5</a></div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class="">A Download (as Geojson?) of the mismatched/missing lists would be very helpful.<br class=""></div></div></blockquote><div><br class=""></div>JSON files are already created to feed the slippy maps, so could you try [<a href="http://gregrs.dev.openstreetmap.org/fhrs/json/overview-270.json" class="">http://gregrs.dev.openstreetmap.org/fhrs/json/overview-270.json</a>] for example? What were you hoping to use the downloaded files for? Let me know if the linked one already does what you’d like and I can add links to the HTML pages.<br class=""><br class=""><br class=""><blockquote type="cite" class=""><div class=""><div class="">Does it check relations?<br class=""></div></div></blockquote><div><br class=""></div>No, just nodes and ways at the moment.<br class=""><br class=""><a href="https://github.com/gregrs-uk/python-fhrs-osm/issues/6" class="">https://github.com/gregrs-uk/python-fhrs-osm/issues/6</a></div><div><br class=""><br class=""><blockquote type="cite" class=""><div class=""><div class="">I'm a bit confused. It says:<br class="">'Relevant OSM nodes/ways without fhrs:id or postcode' = 173<br class="">but then says:<br class="">'Percentage of relevant OSM nodes/ways with FHRS match or postcode' = 6.3%<br class="">Am I misunderstanding something?<br class=""></div></div></blockquote><div><br class=""></div></div>I’ve been through the code that generates the stats again to check what’s going on.<div class=""><br class=""></div><div class="">‘Relevant OSM nodes/ways without fhrs:id or postcode’ – seems to be OSM nodes/ways which have neither an fhrs:id that matches one in the FHRS database nor an addr:postcode.</div><div class=""><br class=""></div><div class="">‘Percentage of relevant OSM nodes/ways with FHRS match or postcode’ – this includes OSM nodes/ways which have an fhrs:id and postcode that both match the FHRS database, and those with a postcode but no fhrs:id. This doesn’t include those with a non-matching fhrs:id, or those for which the postcodes don’t agree (including cases where the OSM postcode is not set). This is probably what is misleading because the large number of establishments in Bath with a valid fhrs:id but no postcode will not be included. It’s meant as a measure of ‘completeness’ really, with the goal to tag establishments with a postcode and possibly an fhrs:id. I think the label probably needs changing though.<br class=""><div class=""><br class=""></div><div class=""><a href="https://github.com/gregrs-uk/python-fhrs-osm/issues/5" class="">https://github.com/gregrs-uk/python-fhrs-osm/issues/5</a> again</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks,</div></div><div class="">Greg.</div></body></html>