Posted by itserich on December 18, 2010 at 1:50am
I would like to be able to enter a Zip + 4 and a radius and identify all the Zip + 4 within that radius.
Any low cost options?
I would like to be able to enter a Zip + 4 and a radius and identify all the Zip + 4 within that radius.
Any low cost options?
Comments
I did something similar in my
I did something similar in my post Benchmarking the OpenLayers module with Views and OpenLayers.js. I imported all of the US zipcodes as nodes and slowly increased the result limit in views. I could have also used the OpenLayers Proximity module to give me results of surrounding zipcodes from a specific point. The Location module also has a Views plugin to return results from a specified point and radius. Are you looking to map the results (in which case you could do something like I did) or just looking for a way to calculate the results in code for some specific purpose (in that case all you need is the data in a database and some SQL)?
Thanks rjstatic. For this
Thanks rjstatic.
For this purpose I need to input a Zip + 4 and input a very short radius such as .1 or .5 miles and find all the Zip + 4 within that range. I have found 5 digit Zip solutions but not Zip + 4. I think there are 50,000 5 digit Zips and 50 million Zip + 4.
I am curious about your importation of zip codes. I use Openlayers and found when I imported nodes with addresses, I had to first calculate the Latitude and Longitude within the external data set, a spreadsheet, and then import that Latitude and Longitude data point into the WKT field.
If I tried to import the plain street address into OL Geocoder, it would not populate the WKT field until the node was saved again.
This appears to be a common question.
So, I am curious how you imported the zip codes and got it to populate OL, or did you calculate longitude and latitude and import directly into WKT?
If that makes sense.
Thanks.