I don't know if this is even possible, but i think it might be.
Views filters are shown to the user:
Country - Countrycode - Admin name - City (etc etc)
(This could be themed as a dropdown with a typing field next to it)
1) when pressing search, the filter initiates a search towards geonames that returns a lat/lon for the selected place.
2) then views, based on these coordinates, searches through locations stored in the location table.
If this is implemented in a usable way, it would be just *awesome*!
Comments
Comment #1
Marko B commentedyes, this would be great, any solutions to this?
Comment #2
Adam S commentedOpenLayers Proximity module (http://drupal.org/project/openlayers_proximity) is an exposed filter that takes and address and distance from the address in the exposed form. It then uses Google Maps API to geocode the address and returns a all the points by proximity.
Comment #3
Marko B commentedI'll try it out, looks good, hope i can use it with location module as i have all destinations inputed with that module.
Comment #4
Adam S commentedI don't think that it works with the location module. I wish geonames would have an exposed filter that requests an address to start a proximity search with.
Comment #5
Marko B commentedThink it could work, here is part which should go in that direction but still doesnt work for me.
http://drupal.org/node/918290
Comment #6
Marko B commentedAlso maybe you can try this. Dont know why is community not snyched, seems to me there are 3/4 modules doing the same thing in different ways all in some alphas/betas and seems so much time and energy will be waisted in the end, if some organization took place seems it could work better. anyway read... http://drupal.org/node/904576