<div class="gmail_quote">On Sat, Mar 14, 2009 at 7:47 AM, Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org">frederik@remote.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Stefan Breunig wrote:<br>
> True about \d. But this regex doesn't match any housenumber in "3rd<br>
> street". It matches<br>
> [number][maybe a single letter][word boundary].<br>
<br>
Could someone from the US shed some light on this type of address:<br>
<br>
5325 E. Pacific Coast Hwy<br>
Long Beach, CA 90804<br>
<br>
The "E." is, to the best of my knowledge, just a designation of which<br>
side of the road the building is on; it is neither part of the street<br>
name (the street is "Pacific Coast Highway", not "East Pacific Coast<br>
Highway"), nor is it a part of the house number (there is no<br>
corresponding 5325 A, B, C, D, nor a 5325 W for that matter).<br>
<br>
How do you normally treat the "E." when recording addresses in databases<br>
and so on? (Please don't say "we have a middle initial for addresses" ;-)<br>
<br>
Bye<br>
Frederik<br>
</blockquote></div><br>Well, it's a bit fuzzy to me, but one thing I'm pretty sure of is that the E does not designate which side of the road it's on. Almost universally in the US, odd numbers are on one side, even numbers on the other. The E stands for East and can mean a few things, based on context. For an address, it's generally an indication of what geographic area of the highway is being referred to. In another context (i.e., driving directions), it might mean the direction of travel on the highway (i.e., Eastbound), although for the Pacific Coast Highway, I don't think that wouldn't make sense because it's predominantly a North/South highway. Back to the address: I haven't seen it so much with named highways, but with numbered streets in certain cities (i.e., Portland, Oregon) I've seen numbered streets increasing in number in both directions from a central point in the city, so there could be a E 23rd Avenue and a W 23rd Avenue that run parallel to each other on different sides of the central point, so they could be miles apart and you'd better make sure you know which one you want. In that case the E and W are part of the street name. Like I said, though, I don't think there's more than one Pacific Coast Highway so that meaning probably doesn't apply to that example. The other, probably more common usage that I've seen is that the East and West refer to different sections of the same street, but the address numbers increase in both directions from some origin. However, I think in that case the direction usually shows up as a suffix (i.e., 5325 Pacific Coast Highway E). It's unfortunate that we lost the "Direction" field from the original
TIGER data (it just got munged into the name field) because then we
could probably distinguish between streets with directional indicators
as part of their name (like the E 23rd and W 23rd I mentioned) and
geographical sections of the same street.<br><br>Well, now that I've muddied the waters a lot, I'll sign off...<br><br>Karl<br>