[openstreetmap-website] Use reverse geocoders for any lat/lon queries (#509)

John Firebaugh notifications at github.com
Wed Oct 9 18:17:51 UTC 2013


This simplifies the implementation, allows code sharing with "Where am I?", and produces friendlier results for lat/lon searches (actual reverse geocode results rather than a raw lat/lon display).
You can merge this Pull Request by running:

  git pull https://github.com/jfirebaugh/openstreetmap-website reverse-geocoder

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/509

-- Commit Summary --

  * Remove vestigial routes
  * Use reverse geocoders for any lat/lon queries

-- File Changes --

    M app/assets/javascripts/index/search.js (1)
    M app/controllers/geocoder_controller.rb (115)
    D app/views/geocoder/description.html.erb (13)
    M app/views/geocoder/search.html.erb (2)
    M app/views/site/_search.html.erb (2)
    M config/locales/en.yml (3)
    M config/routes.rb (8)
    M test/functional/geocoder_controller_test.rb (112)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/509.patch
https://github.com/openstreetmap/openstreetmap-website/pull/509.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131009/170573c6/attachment.html>


More information about the rails-dev mailing list