Get Zip Codes within Radius

4876
3
12-05-2013 11:22 AM
TraverSisson
New Contributor
I am working on a project where I need to return all zip codes within a given radius of another zip code, user will provide zip code and search radius I would like to return all the postal codes within that radius.  Has anyone done anything similar like this and wouldn't mind pointing me in the right direction?
0 Kudos
3 Replies
AnttiKajanus1
Occasional Contributor III
Hi,

Do you have a service that contains ZIP codes?

I would probably do it like this:
- user selects area that is used as a base geometry
- user gives radius
- Create buffer from base geometry by radius (using ie. http://resources.arcgis.com/en/help/rest/apiref/buffer.html)
- Use buffered geometry to get other ZIP code areas from the service by using it as a filter

Hope this helps
0 Kudos
KyleDixon
Occasional Contributor

You can use the SelectNear tool. Pass in the centroid of the selected ZIP, and a radius.

0 Kudos
JeffNelson5
New Contributor

We are also having a similar requirement to draw a circle from center of zip code, zip code and radius will be provided by the user.
Thanks

0 Kudos