22

There are 13 multi-state US Census' ZIP Code Tabulation Areas (ZCTAs): 02861, 42223, 59221, 63673, 71749, 73949, 81137, 84536, 86044, 86515, 88063, 89439 & 97635. As others have mentioned, there are a few different ways to figure out the area covered by a ZIP Code, but ZCTAs are the easiest, and the only official version that I know of. So your ...


21

I maintain the Zip Code feature class for the USPS. Of our 34,000~ Zip Codes, I alter the boundaries of maybe 5~ a month. Some Zip Codes contain thousands of addresses, some contain less than one hundred. Hard to estimate an average yearly change per address, I would say .01%


19

There are no duplicate ZIP Codes. There are some ZIP Codes that are multi-part polygons, but those polygons are usually adjacent. Source: I manage/update ZIP Codes for the USPS


16

create a new field and copy the first two digits from the left using the field calculator -> for text, you can use (left(fieldname,2)) in the field calculator. With numeric field you can use floor(fieldname/1000) dissolve your polygons based on this new field -> this command is in vector -> geometry -> dissolve


15

There's no strict algorithmic relationship between latitude and longitude and zip code - they're all custom areas generated by the postal service. You need access to a dataset that codes polygons / polygon centroids by zip code. 1) Complex Traditionally, this task (coupled with address lookup) is termed 'Geocoding'. The most convenient method for full ...


13

From what I've gathered you've got a list of zip codes and their respective coverage status. Get the Shapefile First off you will need to source something called a 'shapefile' which defines the boundaries of the zip codes that you have. A simple google search brings up the following page: http://www.census.gov/geo/www/cob/z52000.html (...assuming you're ...


11

There really isn't a way to tell this; since there is not a ZipCode boundary shape that is defined by the USPS. ZipCodes are defined by a bounding box of Streets delivered to by carriers from a particular distribution center. So you would need to take the USPS AIS data and extract by ZipCodes the streets that are delivered by a given Post Office, then Join ...


11

Unless you have the precise geometry of each polygon, there's no way to just change a point into a polygon of the size and shape of something complex like political boundaries. What you could do, however, is download a polygon file of zip codes (try here) and do a join (spatial join if you don't have a common identifier, by attributes if you do) to transfer ...


9

have you looked at the zipcode package? it's basically a dataframe with ~45,000 zipcodes along with their city, state, latitude and longitude.


7

In Vector - Geometry tools you'll find the Voronoi Polygons tool. It will create an area around each point. Afterwards, you can merge areas with same zip code. This will only give a rough approximation of the real shape of the zip code areas but I don't see how to get any closer to the real shape with the input data you have.


7

The US Census Bureau derives approximate boundaries for ZIP codes based on the addresses contained within them, called ZIP Code Tabulation Areas (ZCTAs). They publish relationship files that describe how their ZCTAs map to various other geographies. If you examine the ZCTA to Place relationship file you can see how they map to cities and towns. You can ...


7

Get a polygon feature class of the zip codes that you want to add Store your polygon zip code feature class in a RDBMS like PostGIS Encode your polygon zip code geometry objects to GeoJSON objects Create a GeoJSON layer and populate it with your GeoJSON objects Use the polygon extension of the path abstract class from Leaflet documentation to symbolize fill ...


6

From the Comments it appears that the asker solved this by unzipping the *.lpk to find a *.sdc file that was then converted to shapefile format using instructions from NCSU Libraries' Geospatial Data Formats page.


6

Let me point out first that there are also addresses that the US Post Office doesn't deliver to at all. Not even to a common mail receptacle or group of mailboxes. Certainly anyone can get a PO box at the nearest Post Office. Many times, a remote, or extremely rural address will still be serviced by UPS or Fedex. The USPS designates each ZIP Code with a "...


6

If Zip Code Tabulated Areas (http://www.census.gov/geo/reference/zctas.html, http://en.wikipedia.org/wiki/ZIP_Code_Tabulation_Area) will do, ftp://ftp2.census.gov/geo/tiger/TIGER2013/ZCTA5/tl_2013_us_zcta510.zip These are not exactly US zip codes though, but are probably what you want.


5

You can download shape files for 2014 or 2013 Zip Code Tabulation Areas at no cost from https://www.census.gov/geo/maps-data/data/tiger-cart-boundary.html However, these are ZCTAs, and the overlap between ZIP codes and ZCTAs is only 80% or so.


5

I use the geocode function in the ggmap package.


5

As Don points out, the US Postal Service makes available their detailed delivery routes with zip code, carrier route and zip+4 detail for every truck route. The USPS web site lists this data as their Zip+4 Product and it is available for yearly license. Conversion of this address-by-address detail into ZIP code (and Carrier Route) polygons is a somewhat ...


5

I realize this is an old question, and you may have an answer. The problem is that ZIP codes are defined by the Postal Service and change constantly. Also, Census wants geographies to be continuous, integral, and comprehensive; the ZIP code is none of these. At its heart, it is a list of addresses and not an "area." Census does realize, however, that many ...


5

I work with Address Quality Programs for the National Customer Support Center for the USPS, and looking at our Delivery Point File database, it appears that every residential and business address has an associated ZIP+4s


5

Try this link: https://www.baruch.cuny.edu/confluence/display/geoportal/ESRI+USA+Data There is a link to ZIP3 Shapefiles. As for how to convert to topojson, try Mike Bostock's tools: https://github.com/mbostock/topojson


5

All of the world's postal code formats are tabulated here: http://www.grcdi.nl/gsb/world%20postal%20code%20formats.html Some countries may precede their postal codes with a country code, as you describe in your question; and where codes contain spaces or punctuation they may be found written without, but even then there are only a few hundred possible ...


5

Some background: The USPS maintains zip codes as sets of delivery zones(5 digit) and routes(+4 digits), usually along streets with address boundaries. USPS does not maintain zip codes in any shape format. I had the issue of finding a viable source as well. I narrowed my possible solutions to the following 4 and chose to go with #3. You can download the 5 ...


4

2016 TIGER Data with PostGIS As a special caveat, ZCTA data isn't USPS Zip Codes. It's an approximation of it. USPS Zip Codes are really horrible and not useful except to approximate. Everyone, including every governmental entity other than USPS, and (the Census for making ZCTA) ignores them entirely. If USPS wanted to a grow up a bit, they'd just convert ...


4

There are a couple of things to look up. Geocoding, and intersect. I have never used magic maps so I can't say if it has this capability but from your sample map I would guess it does. 1. If you don't have location data for your csv, then you can use geocoding. (It sounds like you already mapped your points so I assume this is not the case). The wording ...


4

Nokia/NavTeq and TomTom both have datasets for sale/use that are Zip+4 points. These can be wildly inaccurate for many uses since a +4 record represents a Sector and Segment of a postal delivery route and can include several streets or miles of a single route.


4

Spatial join would be my answer too but if you do not have anything else than the points for the zip codes I think that the best you can do is to generate Voronoi polygons.


4

Check out a tutorial I wrote on my blog: http://dillonshook.com/leaflet-zip-code-map-part-1/ Doing this dynamically requires some back-end setup to serve up the geoJSON with data joined


4

**Disclaimer I work here* Very simple solution to this. sign up here: boundaries-io.com then in your code: .../rest/v1/public/boundary?zipcode=20037,20002 The results are GeoJson to easily integrate that takes GeoJson like Google Map... used GeoJSONLint to cut and paste my GeoJson Results from the API call above to display the below image...Hope this ...


4

There are a few options: Latitude / Longitude to ZIP + 4, allows you to input the lat, long and receive a Zip code in return. You could also use this to input the values and run the search yourself All US zip codes with their corresponding latitude and longitude coordinates. Comma delimited for your database


Only top voted, non community-wiki answers of a minimum length are eligible