[OSM-dev] extracting house-number from string
Marcus Wolschon
Marcus at Wolschon.biz
Sat Mar 14 15:30:14 GMT 2009
On 3/14/09, Frederik Ramm <frederik at remote.org> wrote:
> Hi,
>
> Stefan Breunig wrote:
>> True about \d. But this regex doesn't match any housenumber in "3rd
>> street". It matches
>> [number][maybe a single letter][word boundary].
>
> Could someone from the US shed some light on this type of address:
>
> 5325 E. Pacific Coast Hwy
> Long Beach, CA 90804
This gets more complicated every day. ;)
For the time being I changed my UI do the user has to enter
street-name and house-number in 2 different text-fields for the
search. I would however still like this to be one text-field in the
future to make it easier for the user.
STATUS
I just implemented experimental support for house-number
-search in Traveling Salesman using the proof of concept I
wrote back on the Karlsruhe-Schema-Meeting.
It is in SVN and will announce it, when a public and tested
version exists that offers routing to house-numbers.
FUTURE
There is support for house-nodes, house-polygons and
numerical interpolation.
Numerical interpolation is still very primitive and advanced
features like multiple houses with the same number,
alphabetical interpolation,... are not yet implemented.
Maybe they will not even be a part of Version 1.0 but something
for 1.1 or 1.2 or even 2.0.
Marcus
More information about the dev
mailing list