6 ms·
This is a fact of ZIP Codes that a lot of people stumble one. I've worked on GIS/mapping projects in the past where stakeholders wanted or assumed ZIP Codes to
by paulsmith 1y ago
This is a fact of ZIP Codes that a lot of people stumble one. I've worked on GIS/mapping projects in the past where stakeholders wanted or assumed ZIP Codes to be polygons.
Another complexity that surprises folks is you can't guarantee a one-to-many state-to-ZIP Code relationship. There are several (I forgot offhand how many, I used to have them memorized) that span across state boundaries.
- y-c-o-m-b 1y agoYep, this fact eluded me earlier in the year. I was supposed to map out all ZIP codes in the US and color their boundaries based on certain stats we had. We were surprised to find many areas in the US were empty because they didn't have ZIP codes. I did a quick search and found out ZIP codes are driven by mail routes, and that instantly made sense to me, but the product stakeholders were very surprised to learn it.
- paulsmith 1y agoOne thing I just recalled is that if you maintain a small exceptions lookup table (i.e. the ones that span state boundaries), you can use ZIP Codes as a way to uniquely look up a county name.
- mulmen 1y agoWhy would you do this?
- paulsmith 1y agoFor example, health care plans in the US are county-specific with regard to premiums, co-pays, etc. (based on demographics). Allowing someone to type in their ZIP Code to get started can be a better user experience than having them pick their county. https://www.healthcare.gov/see-plans/ https://www.healthcare.gov/see-plans/
- mulmen 1y agoExcept when it isn’t. I’d be curious to know the population in areas where a zip code spans multiple counties.
- paulsmith 1y agoIn that case, each county that corresponds to that ZIP Code is shown and the user can disambiguate manually.
- mulmen 1y agoYeah it makes it easier. And I’m appreciative of the idea of making address entry easier for users but if they have to disambiguate did you actually make it easier? I think Zillow does it best. You just type your address in a box and it looks up the normalized full address. That makes everyone happy.
- graywh 1y agoZIP codes also span county boundaries that aren't state boundaries -- I know of several in my county alone