hi,
i’ve been using ‘mkgmap’ to try and create garmin maps for new zealand, but struck a problem with many addr:housenumber keys not being indexed. the problem seems to be, in large part, due to multiple dwellings at the same address. eg “4/24 London Street, Christchurch, New Zealand”. the ‘housenumber’ on OSM is 4/24, but the garmin device (nuvi 50LM) doesn’t know how to search this. just “24 London…” fails to bring up any related options.
how can i simply strip out the subordinate numbers? or is there a better solution?
excellent, used a slight modification of what you suggested (not using a regular expression but instead using inbuilt filter), and the problem seems to have been solved