| ▲ | xp84 an hour ago | |||||||||||||
This is interesting. For a long time it was pointed out that ZIP codes, unlike say, city or state boundaries, were not properly representable as polygons, since they don't divide up acreage into zones, but rather label postal delivery routes. Suppose I build a new neighborhood way out in the middle of nowhere. The "polygon" concept suggests that we could look and see what polygon I'm in, and that will determine what post office delivers my mail. But in reality, if there was no route to that area already, they could decide to make it part of any one of the surrounding routes. I suppose though, as long as you let the polygons map has uncontained areas, where no routes currently exist, it's a doable task to draw polygons around the limits of every route network, as long as you don't mind that they may have lots of weird ragged edges. | ||||||||||||||
| ▲ | bordercontrol an hour ago | parent | next [-] | |||||||||||||
As someone who has worked with geodata quite a lot, that wouldn't be a good idea in terms of resource usage. You are blowing up the size of the dataset by one or two orders of magnitude. Maybe even more. Processing these polygons would be extremely annoying. I once built an interactive map for some areas in Switzerland with postcodes rendered on it. I had to use a lot of tricks to keep it down to a few hundred KB for just about 5% of Switzerland's area. If I tried to add more areas, I'd have to abandon the approach of rendering polygons directly with Leaflet and move to static, pre-rendered images. Now, if you add 10 or 100 times more points, you would barely be able to render it fast enough on the CPU anymore. So, nice idea, but the polygons become hard to work with then. | ||||||||||||||
| ||||||||||||||
| ▲ | mikepurvis an hour ago | parent | prev | next [-] | |||||||||||||
Making each able to be a union of multiple enclosed areas would probably also help add an axis of flexibility. | ||||||||||||||
| ▲ | clickety_clack 44 minutes ago | parent | prev | next [-] | |||||||||||||
Doesn’t that imply that a ZIP code could change if the route is changed? | ||||||||||||||
| ||||||||||||||
| ▲ | montroser an hour ago | parent | prev [-] | |||||||||||||
Yeah, I always thought that was a bit of an aCkTcHUuaLly type of point. Okay, okay, it's about routes. But, when you can draw perfectly mutually exclusive convex hulls around the unions of the lots receiving mail for a given zip code, then you can draw zip code polygons. | ||||||||||||||