top | item 15742007

(no title)

gabemart | 8 years ago

Ah yeah, the zip database I'm using is a bit out of date (as some other people have mentioned) and you're seeing this behaviour as it thinks 22003 is in Georgia. I had a hunch people might be more interested in results from their own state even if they were a bit further away, but clearly in this case that doesn't make sense.

I'll experiment with moving the email form to under the results, or putting it behind a button. I was trying to make it low friction, but I think I might have gone a bit far.

discuss

order

mikeash|8 years ago

Interesting, I take it the distances are being computed in some other way? The "results from State" would definitely make a lot more sense if they matched the zip code.

gabemart|8 years ago

Distances are being computed from a geopoint representation of each zip code (which is a bit out of date, but which I can update fairly easily) to a set of shape files representing US counties. It's intentionally not 100% accurate because the underlying math is quite slow and using slight approximations speeds things way up.