Hello,
I'm looking to get and store lat/lon for cities/towns worldwide, with the end goal of making geo rss for my nodes. Location module seems it will make the feeds. What makes sense to use to get and store the lat/long? It seems at location module's core, is locational lookup based on postal code, and thus requiring postal code. Secondly, location module does not do anything for getting lat/lon for cities/towns worldwide, though I am looking at and going to ask about using worldkit.org to fetch this data.
Does it make sense to make another module that will do two things:
1) use a third party API to get just lat/lon for cities/towns worldwide and store them in the location table
2) then use the code from the location module to make the feeds
Or, does it make sense to build this into the location.module inself?
Cheers,
Ian
Comments
Comment #1
IamPter commentedThis would be a very nice feature set for Drupal!
Comment #2
Anonymous (not verified) commentedI built a module that geocodes addresses using Yahoo's geocoding service. Good for sites that need no more than 5k addresses per day.
Right now, it works using address data provided by the user for events. Can be adapted for other uses.
M
Comment #3
Ian Ward commentedHi Michael,
Do you store the data retrieved from Yahoo - if so, where do you store it? I'm looking to get the lat/lon just during node creation or save, and store it in the DB. Then, i'll use the feed created by location.module or similar code, to connect to googlemaps.module to make markers on a map.
Ian
Comment #4
catchhttp://drupal.org/node/66887