none
Zip Code finder RRS feed

  • Question

  • I was wondering if there is a way to find receive all zip codes from one location to another. I am building an application, but a main part of it is knowing many zip codes in between two locations. So let's say I pick the locations Victorville CA, to Salt Lake City UT, I would like to know what zip codes you are passing along the way, such as Cedar City UT 84720.
    • Moved by Ricky_Brundritt Friday, March 9, 2012 5:49 PM (From:Bing Maps: Map Control and Web services Development)
    Thursday, June 2, 2011 4:27 PM

Answers

  • You can't do this directly in Bing Maps, but you could do this in SQL Server using ZCTA data downloaded from the U.S. Census Bureau - http://www.census.gov/geo/ZCTA/zcta.html

    You can also combine the two technologies - say, using Bing Maps AJAX to allow a user to choose the start and end locations, using the Bing Maps REST routing service to calculate the route between them, then using SQL Server to identify all those ZCTAs that the route passes through, and finally sending a list of those areas (or the outline of their shape) back to Bing Maps for display.


    twitter: @alastaira blog: http://alastaira.wordpress.com/
    Thursday, June 2, 2011 4:33 PM
    Moderator