gregrs-uk / python-fhrs-osm

Python tools and Leaflet maps for downloading, comparing and visualising Food Hygiene Rating Scheme (FHRS) and OpenStreetMap data
http://gregrs.dev.openstreetmap.org/fhrs/
GNU General Public License v3.0
8 stars 2 forks source link

Improve parsing of FHRS addresses into OSM tags #12

Closed iccaldwell closed 3 years ago

iccaldwell commented 8 years ago

Instead of generating the tag fixme:addr1 split addr1 at the first space and set the tags addr:housenumber and addr:street this will be correct over 90% of the time.

SK53 commented 8 years ago

In the past I've merged the 4 address fields & matched street name to OSM; anything to left of that can be parsed for housenumber, name. This does need geometry operations. Some councils put absolutely everything in addr1.

gregrs-uk commented 3 years ago

Address parsing is implemented in fhodot, which will soon replace the original FHRS/OSM comparison tool