Hi Anh,
I would build it in list manager. You can set List Manager lists to be dynamic.
Anh Le said:I’d like to have a dynamic list of any patrons in our database who live within 50 miles of our theater.
If you have SQL access to your database, I'd recommend updating the geo_location column in your T_ADDRESS table. With that, creating a dynamic list by distance would be straightforward.
(We get monthly updates of Zip codes (among other data) from zip-codes.com, which includes latitude and longitude values, which I use to populate the geo_location data.)
At Mount Vernon , we have a group called Neighborhood friends which are members who live in the surrounding zip codes. We use Geo Areas to determine who is in the group. As people move in and out of the area they are added or removed when there primary address is updated. Extended Services help us set up the update portion of the program. The zip codes are added as table in SQL .
With Geo Area, you can use that to build a dynamic list.
We also added a Geo Area of all constituent within 100 miles of Mount Vernon. The one drawback is an address can only have one Geo Area.
I have built one with consecutive zip codes, but I think the suggestion of Geo locations is actually a better approach.
Chris,
I am curious how once you have the geo_location loaded, how do you select records wtihin a certain radius using the geo_location?
Thanks,
Seth
Seth Ghitelman said:I am curious how once you have the geo_location loaded, how do you select records wtihin a certain radius using the geo_location?
Most recently I've used this data to find Edu constituents within X miles of the Guthrie for e-mail promotions. Please see a code sample attached. This example wasn't used in a dynamic list, but could be modified to do so.
Chris Jensen For the data from zip-code.com which of their services are you using and what is the level of accuracy of the geolocation lat. lon. data?
Do you also use any of the Census data that they are including in their service?
Tom Brown (Past Member) said:Is it a centroid of a zip code
I assume so.
Tom Brown (Past Member) said:Do you also use any of the Census data that they are including in their service?
Yes. We've done Zip updates to keep TR_CITYSTATE up-to-date for over ten years now, were happy with that, but noticed their Zip data includes congressional districts, which Devo had a need for. That eventually led us to upgrade our subscription to include Census data. We've downloaded the 2010 data, and have been informed that 2020 data will be arriving this month.