Download & Extend

Integration with views (exposed) filters

Project:GeoNames
Version:6.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

yes, this would be great, any solutions to this?

#2

OpenLayers 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.

#3

I'll try it out, looks good, hope i can use it with location module as i have all destinations inputed with that module.

#4

I 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.

#5

Think it could work, here is part which should go in that direction but still doesnt work for me.

http://drupal.org/node/918290

#6

Also 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