Where can I get a TopoJSON file with 3 digit zip codes (zip3) shapes

I have searched for days and I just can find 5 digit zip codes shapes.

  • or you could dissolve your 5-digit ZIP code polygons by the first 3 numbers. – Maksim Oct 6 '14 at 17:16
  • how can I do that? – earlyriser Oct 6 '14 at 17:54
  • what GIS software do you have at your disposal? – Maksim Oct 6 '14 at 17:57
  • None. I'm just trying to make a d3 colored map with some data. I'm more a front end code guy than a GIS guy. – earlyriser Oct 6 '14 at 18:07

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

  • Thanks I downloaded the zip file: it has a shp, dbf & shx files inside. Still trying to convert them to a topojsoon one. – earlyriser Oct 6 '14 at 18:09
  • 2
    are you using Mike Bostock's tools? I added a link above... – DPSSpatial Oct 6 '14 at 18:23
  • 5
    I was using that for mixing some csv data to the topojson I had about US States. Your comment made me check the docs and yes: there's a converter from shapefile to topojson. So, for future reference here are the steps: 1.Download the zip3 file here vdstech.com/usa-data.aspx (It's a zip containing .shp .dbx & .shx files) 2.Install topojson in the command line github.com/mbostock/topojson 3. Covert the file and remember to add the data in the .dbx using "-p" topojson -o output.json -p -- zip3.shp – earlyriser Oct 6 '14 at 18:50
  • @earlyriser good stuff! – DPSSpatial Oct 6 '14 at 19:05
  • Anyone know if there's another source for this data? The website appears to no longer exist. If you happen to have it that would be great if you could post it in another link, thanks! – clhenrick Jul 17 '18 at 0:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.