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.
Congress keeps passing laws to make USPS appear to be as "unprofitable" as possible. Such as pre-funding pensions & healthcare for people who have not been born yet [0]. I suspect the goal is to sell off a "money losing" USPS to some campaign contributor for $1 so that person can reap the $60B in pension funds.
One of the features I would try to add at employers was address correction. The addresses API used to be free (became a paid service in August 2026). If you've ever seen a popup at on an order/address form which says something like "you entered X, but the Post Office recommends Y" (or similar words), then you've seen the results of the address API [1].
Notes:
0 - 2022 changes to the 2006 law let them stop prefunding 75 years ahead of time.
> To qualify for regular retirement, employees must have at least 30 years of service and be 55 or older; or 20 years of service and be age 60 or older; or 5 years of service and be age 62 or older.
Apparently it is because the USPS has a special carve out from congress exempting it from disclosure of "information of a commercial nature", subsection (c) here: https://www.law.cornell.edu/uscode/text/39/410
This move roughly aligns with the administration's broader desire to take data generated by the government at taxpayer expense, and hand it over to his buddies to privatize and profit from it. See also weather data.
Probably because of the silly idea of quasi-privatization,
> But, beginning in the 1970s, the Postal Service largely stopped receiving any taxpayer money for ongoing operations. Postal operations are instead funded by sales to you, the postal customer. Now it depends almost entirely on sales to keep the lights on.
> Postal operations are instead funded by sales to you, the postal customer. Now it depends almost entirely on sales to keep the lights on.
If you ever wonder why you get so much postal spam, this is why. The USPS is mostly funded by advertising. They could, for instance, stop the practice of accepting "deliver this junk to every mailbox in this region"...but then they'd go bankrupt.
Yeah, it is definitely one of the most tortured organizations I know of. Congress as usual wants a ton of conflicting things:
1. Mandate universal delivery of letters regardless of distance or remoteness, even out in some wilderness region of Alaska, guarantee everyone the right to get a letter for the same stamp price as to deliver a letter from one office in the Chrysler Building to another one.
2. Have USPS not get taxpayer funds for anything
3. Impose arbitrary price controls on postage based on Congressional vibes
4. Have postal employees still be federal employees and qualify for cushy benefits and retirement (I assume this is there because their unions would strike if it was taken away)
5. Micromanage how that retirement plan is funded
6. Give USPS special privileges like the one being discussed... or like the basic monopoly on 'delivering non-urgent letters' that bars UPS from delivering mail into your mailbox.
If all the above sound extremely confused, that's because the USPS has been the object of political meddling for at least 5-6 decades, so it still shows the fingerprints of many ideologically-conflicting schemes and agendas all at once.
> he Postal Service generally receives no tax dollars for operating expenses and relies on the sale of postage, products and services to fund its operations
wait how can ZIP code boundary lines not be free information, that's totally wild, how do you then even know what ZIP code to use if you can't look it up...
what next paying for knowing street names or house numbers??!??
Iirc when I worked with these in the past ZIP codes did not map cleanly to boundaries, hence the ZCTAs. Zip codes are sometimes assigned to points, lines, they can overlap, and other weird arcana because they defined mail routes rather than tesselating areas.
I feel like this should be public. I wonder what would be the repercussion of a gofundme to buy it once and make it publicly available. There aren't many downsides of updating every couple years.
There are plenty of 'good enough' options that are free; just ignore the USPS' offerings unless you ABSOLUTELY have to match them 1:1 for business reasons.
Using ZIP codes to define geographic regions is always a bad idea. A ZIP code is an address attribute, not a geographic boundary. Some ZIP codes are assigned to PO boxes or parcel lockers, while entire cities may share a single ZIP code. You can even have streets stretching 30 km across a city, all under the same ZIP code.
Fun fact, a postcode can represent up to 100 addresses, apartment buildings with more than 100 units have multiple postcodes. Sometimes third-party systems will only recognize a subset of those postcodes (e.g: a system might assume a building only has 1 postcode) which can lead to some residents being in the geographic region for a service while others are not despite being in the same building.
Also postcode data is licensed by the Royal Mail, not free.
Interestingly, there are no polygons for UK postcodes, because UK postcodes don’t represent a geographical area; instead, they represent one or more discrete points.
ZIPs don't represent areas either. They represent routes, so a collection of paths on a road map is bundled together and named with a ZIP. If you built a new house in between towns, whichever post office decides to serve it would extend one of their lines to go past your house, and then you are assigned that ZIP code. Since it's all based on their convenience, they don't pay any mind to things like city limits or even in some cases state lines.
"A full postcode identifies a group of addresses (typically around ten) or a major delivery point."
The United States can be more granular, as a "full postcode" equivalent in the United States is ZIP+4, which can resolve down to an individual building, mailbox, or person, depending on the characteristics of the location.
The bummer thing about their data is it's ZIP, not ZIP+4. Technically ZIP+4 is internal to USPS because it identifies a specific route (or something like that), but it's also is more precise than ZIP+4.
The original tiger/line or ZCTA data is probably good enough for everyone. Those are available "around." I think the census provides them. I believe the census has the zip+4, but it's been years and I might have gotten them from somewhere else.
The interesting thing in the data is the ESRI feature classes. I wonder what the heck those are.
As someone who has done tons of geospatial work I hate this. A ZIP code was never technically a geospatial boundary. Being "inside" a boundary does not guarantee you have that ZIP code, just that the space is surrounded by a bunch of postal delivery addresses bearing the ZIP code.
most people dont know that zip codes are specific to the postal service and dont have anything to do with actual municipal government boundaries. the hierarchy of geo boundaries and the ways to locate and communicate within them is way more interesting than one would believe!
Polygons do have value in some workflows, if used with the appropriate caveats.
And in no instances have I ever run across use cases where these are worth paying any substantial money for. If USPS is going to jump into the fray here, really bad look (and probably net negative revenue for them) to offer as a paid product.
I know that many people do use ZIP codes for grouping locations, and polygons may be useful for tieing a lat/long to a zipcode if it doesn't have a delivery location. But it's all kind of silly unless you're sorting mail. Also, I'd hate/love to see some of the polygons where delivery boundaries get weird.
Whatever you're grouping is likely better served by some grouping based on geography, not based on delivery routes. You probably wouldn't group by telephone company central office either, unless you're telco related.
We want to group by geography, zip codes are easy and vaguely geographic, lets use that is kind of a valid decision, but it's deeply frustrating :p
Its funded with the expectation of hypercapitalist efficiency.
Somehow they actually run a profit off delivering junk mail annually, but they also have amortized expenses such as pensions etc which are sinking them. Again as per above, as a hyper regulated universal service they can't declare bankruptcy, while at the same time they're hypercapitalist and somehow have to make due as the financials sink lower and lower.
Some say this is an intentional plan to destroy the postal system. You can't run on a political platform of destroying the office, it would be very unpopular to propose everyone pay more for for-profit mail delivery and did I mention who one of my corporate campaign donors is? but you can intentionally sabotage the USPS by always making the worst choice at every decision intentionally, and then "unavoidably we have to shut the service down for no known clear reason it just doesn't work". My guess is the intentional destruction will continue unabated until closure is announced.
Its currently illegal for private carriers to deliver normal non-urgent letters because the USPS is a monopoly. You can put a document in an envelope or small box and UPS it, but its technically quite illegal at the federal level. My guess is eventually UPS or Amazon or fedex will purchase a law to be able to sell normal ground service physical first class mail delivery. I'm betting on Amazon winning a contract for this.
My bills are all emails lost in my spam folder and I "just know" to visit my car insurance website and electric company website every month or so.
Its worth considering that junk mail delivery is hyper profitable for the USPS, so thats probably not going away when mail delivery gets privatized. What is going away is the 82 cent postage stamp. UPS ground saver is a couple bucks. It'll be cheaper to take a picture of a letter then order prints of the picture at Walgreens nearby my mother than to mail her a greeting card LOL. Walgreens charges 39 cents for a post card sized digital print and their letter size prints are a ripoff at $4.50, better off sending multiple post card sized prints.
Reminds me of one of my favorite little rabbit holes, trying to find this data for Canada:
Canada is one of the only major countries where the postal/zip code boundary data is not available as an open data set. Canada Post has a monopoly on that dataset. As a Canadian GIS person it drives me nuts as many other Candian government GIS programs have been active in the open data/open-source world for decades. Even crazier is that Statistics Canada has an open database of all addresses in the country here https://www.statcan.gc.ca/en/lode/databases/oda that has a postal code column, but it's empty for all addresses.
Anyone who has tried to create their own dataset of polygons has usually ended up being chased down by Canada post. There is a company called Geocoder.ca who made a geocoder and when you passed in a street address with a postal code in it, it would keep track of that, and geocode based on the street address. Over time they built up a database of coordinates and postal codes and were able to generate their own approximate boundaries that where pretty accurate. Canada Post went after them: https://geocoder.ca/?sued=1 Their data is still free for non-profits, and relatively cheap for commercial purposes: https://geocoder.ca/?freedata=1 The only other open data related postal codes you will find easily available is Forward Sortation Code boundaries (FSA) which is the area that represents the first three characters of a Canadian Postal code. For example, postal code "N0R 1K0" would have an FSA of "N0R". For demo's and some analysis scenarios that can often be enough.
For everyone saying it should be free, the USPS charges for services. They charge to deliver mail.
Cut them some slack. They are supposed to be budget neutral. It is difficult to do when A) they have to compete with the private sector while adhering to public sector rules and B) being sabotaged by Trump's postmaster general appointee.
Structural changes are required for then USPS to be financially stable. Chief among them is modifying the Universal Service Obligation (USO).
For far too long, private shipping/logistics firms like UPS & FedEx unfairly take advantage of the requirement by the USPS to deliver mail six days a week to over 160 million addresses at uniform, affordable rates. UPS/FedEx will receive the package and do the long haul. But then instead of driving the package to a final residential doorstep themselves (incurring high residential and fuel surcharges), they drop it off at a local USPS branch or regional hub. USPS letter carriers complete the final-mile delivery to the recipient's home or P.O. Box. It's literally part of their business model. UPS calls it 'UPS Ground Saver' and FedEx calls it 'FedEx Ground Economy'.
These hybrid services typically cost 20% to 40% less than standard UPS Ground or FedEx Ground. It takes longer to ship but UPS/FedEx bypass the steep residential delivery fees (often $6.45–$6.50+ per package) that private carriers charge for dropping off at houses rather than businesses. Also, it's the only way to deliver to PO Boxes because standard UPS and FedEx ground services don't do directly.
This is classic example of capitalism where private companies 'keep profits and socialize losses'. The 5% annual dividend paid by FedEx every year to shareholders is paid for by American tax-payers funding the last-mile delivery of packages at dirt cheap rates.
The USPS is losing money hand over fist delivering the unwanted junk mail
The fact that you think the Postal Service loses money delivering junk mail shows that you don't have any idea what's going on.
Junk mail is a massive revenue source for the USPS. According to the congressmen I've spoken with (Yes, I actually have done that), junk mail is hugely revenue positive, which is why it's allowed to continue.
USPS' financial problems largely have to do with pensions and other non-delivery issues.
blame EDDM, aka junk mail, aka physical SPAM that you can not opt out of. its a jobs program that I suppose also benefits the paper product recycling industry
nice! but DMAchoice has no effect on EDDM delivery, it only affects mail that is directly addressed to you. anything addressed to Postal Customer, Residential Customer, or any of the other names they use can not be stopped. Even if you put a sign on the mailbox that says 'No Junk Mail', a postal carrier is legally obligated to deliver EDDM correspondance to every stop on their route
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.
Can someone with expertise in govt data rights explain? Do any other US govt agencies sell data to the private sector?
One of the features I would try to add at employers was address correction. The addresses API used to be free (became a paid service in August 2026). If you've ever seen a popup at on an order/address form which says something like "you entered X, but the Post Office recommends Y" (or similar words), then you've seen the results of the address API [1].
Notes:
0 - 2022 changes to the 2006 law let them stop prefunding 75 years ahead of time.
https://www.uspsoig.gov/focus-areas/did-you-know/what-did-po...
> To qualify for regular retirement, employees must have at least 30 years of service and be 55 or older; or 20 years of service and be age 60 or older; or 5 years of service and be age 62 or older.
https://en.wikipedia.org/wiki/Postal_Accountability_and_Enha...
1 - https://developers.usps.com/addressesv3
> But, beginning in the 1970s, the Postal Service largely stopped receiving any taxpayer money for ongoing operations. Postal operations are instead funded by sales to you, the postal customer. Now it depends almost entirely on sales to keep the lights on.
https://www.uspsoig.gov/focus-areas/did-you-know/postal-serv...
If you ever wonder why you get so much postal spam, this is why. The USPS is mostly funded by advertising. They could, for instance, stop the practice of accepting "deliver this junk to every mailbox in this region"...but then they'd go bankrupt.
1. Mandate universal delivery of letters regardless of distance or remoteness, even out in some wilderness region of Alaska, guarantee everyone the right to get a letter for the same stamp price as to deliver a letter from one office in the Chrysler Building to another one.
2. Have USPS not get taxpayer funds for anything
3. Impose arbitrary price controls on postage based on Congressional vibes
4. Have postal employees still be federal employees and qualify for cushy benefits and retirement (I assume this is there because their unions would strike if it was taken away)
5. Micromanage how that retirement plan is funded
6. Give USPS special privileges like the one being discussed... or like the basic monopoly on 'delivering non-urgent letters' that bars UPS from delivering mail into your mailbox.
If all the above sound extremely confused, that's because the USPS has been the object of political meddling for at least 5-6 decades, so it still shows the fingerprints of many ideologically-conflicting schemes and agendas all at once.
So yeah, they can sell that data legally.
https://about.usps.com/who/profile/
> he Postal Service generally receives no tax dollars for operating expenses and relies on the sale of postage, products and services to fund its operations
FWIW if you're willing to deal with some 'fuzziness' and the occasional missing zip code that's commercial only, the ZCTA shapefiles are free and are close enough for many purposes: https://www.census.gov/programs-surveys/geography/guidance/g...
what next paying for knowing street names or house numbers??!??
Do you know of anywhere I can learn more about why this is?
Have they ever thought about changing it so a “postal code” IS a geographical region?
"A full postcode identifies a group of addresses (typically around ten) or a major delivery point."
https://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdo...
Also postcode data is licensed by the Royal Mail, not free.
https://docs.os.uk/osngd/data-structure/administrative-and-s...
The United States can be more granular, as a "full postcode" equivalent in the United States is ZIP+4, which can resolve down to an individual building, mailbox, or person, depending on the characteristics of the location.
https://en.wikipedia.org/wiki/ZIP_Code#ZIP+4
The original tiger/line or ZCTA data is probably good enough for everyone. Those are available "around." I think the census provides them. I believe the census has the zip+4, but it's been years and I might have gotten them from somewhere else.
The interesting thing in the data is the ESRI feature classes. I wonder what the heck those are.
We use https://github.com/OpenDataDE/State-zip-code-GeoJSON - it's from 2010, but open it in Claude and use the free-to-download data source to regen from the most recent census.
And in no instances have I ever run across use cases where these are worth paying any substantial money for. If USPS is going to jump into the fray here, really bad look (and probably net negative revenue for them) to offer as a paid product.
Whatever you're grouping is likely better served by some grouping based on geography, not based on delivery routes. You probably wouldn't group by telephone company central office either, unless you're telco related.
We want to group by geography, zip codes are easy and vaguely geographic, lets use that is kind of a valid decision, but it's deeply frustrating :p
Its funded with the expectation of hypercapitalist efficiency.
Somehow they actually run a profit off delivering junk mail annually, but they also have amortized expenses such as pensions etc which are sinking them. Again as per above, as a hyper regulated universal service they can't declare bankruptcy, while at the same time they're hypercapitalist and somehow have to make due as the financials sink lower and lower.
Some say this is an intentional plan to destroy the postal system. You can't run on a political platform of destroying the office, it would be very unpopular to propose everyone pay more for for-profit mail delivery and did I mention who one of my corporate campaign donors is? but you can intentionally sabotage the USPS by always making the worst choice at every decision intentionally, and then "unavoidably we have to shut the service down for no known clear reason it just doesn't work". My guess is the intentional destruction will continue unabated until closure is announced.
Its currently illegal for private carriers to deliver normal non-urgent letters because the USPS is a monopoly. You can put a document in an envelope or small box and UPS it, but its technically quite illegal at the federal level. My guess is eventually UPS or Amazon or fedex will purchase a law to be able to sell normal ground service physical first class mail delivery. I'm betting on Amazon winning a contract for this.
My bills are all emails lost in my spam folder and I "just know" to visit my car insurance website and electric company website every month or so.
Its worth considering that junk mail delivery is hyper profitable for the USPS, so thats probably not going away when mail delivery gets privatized. What is going away is the 82 cent postage stamp. UPS ground saver is a couple bucks. It'll be cheaper to take a picture of a letter then order prints of the picture at Walgreens nearby my mother than to mail her a greeting card LOL. Walgreens charges 39 cents for a post card sized digital print and their letter size prints are a ripoff at $4.50, better off sending multiple post card sized prints.
Canada is one of the only major countries where the postal/zip code boundary data is not available as an open data set. Canada Post has a monopoly on that dataset. As a Canadian GIS person it drives me nuts as many other Candian government GIS programs have been active in the open data/open-source world for decades. Even crazier is that Statistics Canada has an open database of all addresses in the country here https://www.statcan.gc.ca/en/lode/databases/oda that has a postal code column, but it's empty for all addresses.
Anyone who has tried to create their own dataset of polygons has usually ended up being chased down by Canada post. There is a company called Geocoder.ca who made a geocoder and when you passed in a street address with a postal code in it, it would keep track of that, and geocode based on the street address. Over time they built up a database of coordinates and postal codes and were able to generate their own approximate boundaries that where pretty accurate. Canada Post went after them: https://geocoder.ca/?sued=1 Their data is still free for non-profits, and relatively cheap for commercial purposes: https://geocoder.ca/?freedata=1 The only other open data related postal codes you will find easily available is Forward Sortation Code boundaries (FSA) which is the area that represents the first three characters of a Canadian Postal code. For example, postal code "N0R 1K0" would have an FSA of "N0R". For demo's and some analysis scenarios that can often be enough.
https://learn.microsoft.com/en-us/answers/questions/1655227/...
Cut them some slack. They are supposed to be budget neutral. It is difficult to do when A) they have to compete with the private sector while adhering to public sector rules and B) being sabotaged by Trump's postmaster general appointee.
https://maps.huge.info/zip.htm
I don't think this will stop the bleed, but maybe it'll help that they are charging??
For far too long, private shipping/logistics firms like UPS & FedEx unfairly take advantage of the requirement by the USPS to deliver mail six days a week to over 160 million addresses at uniform, affordable rates. UPS/FedEx will receive the package and do the long haul. But then instead of driving the package to a final residential doorstep themselves (incurring high residential and fuel surcharges), they drop it off at a local USPS branch or regional hub. USPS letter carriers complete the final-mile delivery to the recipient's home or P.O. Box. It's literally part of their business model. UPS calls it 'UPS Ground Saver' and FedEx calls it 'FedEx Ground Economy'.
These hybrid services typically cost 20% to 40% less than standard UPS Ground or FedEx Ground. It takes longer to ship but UPS/FedEx bypass the steep residential delivery fees (often $6.45–$6.50+ per package) that private carriers charge for dropping off at houses rather than businesses. Also, it's the only way to deliver to PO Boxes because standard UPS and FedEx ground services don't do directly.
This is classic example of capitalism where private companies 'keep profits and socialize losses'. The 5% annual dividend paid by FedEx every year to shareholders is paid for by American tax-payers funding the last-mile delivery of packages at dirt cheap rates.
The fact that you think the Postal Service loses money delivering junk mail shows that you don't have any idea what's going on.
Junk mail is a massive revenue source for the USPS. According to the congressmen I've spoken with (Yes, I actually have done that), junk mail is hugely revenue positive, which is why it's allowed to continue.
USPS' financial problems largely have to do with pensions and other non-delivery issues.
https://www.gao.gov/blog/us-postal-service-losing-money-what...
That's not true: https://news.ycombinator.com/item?id=47619939
Doesn't get rid of all of it, but gets rid of the vast majority, IME.
oh, so are you having someone come out to patch the hole and fix it?
no, the hole is still there. we are spending 3k per month to get a water delivery truck to refill the pool.