[OSM-dev] extracting house-number from string
Frederik Ramm
frederik at remote.org
Sat Mar 14 14:47:21 GMT 2009
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
The "E." is, to the best of my knowledge, just a designation of which
side of the road the building is on; it is neither part of the street
name (the street is "Pacific Coast Highway", not "East Pacific Coast
Highway"), nor is it a part of the house number (there is no
corresponding 5325 A, B, C, D, nor a 5325 W for that matter).
How do you normally treat the "E." when recording addresses in databases
and so on? (Please don't say "we have a middle initial for addresses" ;-)
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the dev
mailing list