[OSM-dev] extracting house-number from string

Ed Loach ed at loach.me.uk
Fri Mar 13 15:49:15 GMT 2009


> does anyone know a good algorithm to extract
> the house-number from a string containing
> street-name and house-number?

I'm not entirely sure what you're planning. I'm guessing storing
house numbers as numeric fields would save storage space, but not
all addresses even have numbers (some are just building names).

Would an alternative to be to return all strings for the relevant
street that contains what the user enters as house name/number and
let them select one? 

Ed






More information about the dev mailing list