[OSM-dev] extracting house-number from string

marcus.wolschon at googlemail.com marcus.wolschon at googlemail.com
Tue Mar 17 13:40:18 GMT 2009


On Tue, 17 Mar 2009 14:22:44 +0100, Udo Giacomozzi <udo.osm at nova-sys.net>
wrote:
> SB> I didn't see how the algo would prefer 1234 over 1st because both are
> numbers...
> 
> Well, you could give the last number precedence.
> 
> Or do you have an example where the house number is at the beginning and
> the
> string ends with another number?
> 
> Either way, in a situation where you have two possibilities (either
"1234"
> is the house number or "1ST") it shouldn't be a problem to try both
> addresses (ie. lookup in database). Seems rather simple to me.

That's actually a good idea. Thanks

> By the way, is the input field for the city a different one, or can
> the user put country + city + street + house number all in one string?

In my case its zip+city and street+house.

Marcus
> 




More information about the dev mailing list