openstreetmap-website/app/controllers
Sarah Hoffmann a7b95e2a63 Improve guessing of labels for Nominatim results
This adapts to two changes in place handling by Nominatim:

* Place links that are computed by Nominatim are now found in
  extratags['linked_places']. Keep the check for extratags['place']
  as this may contain an explicitly mapped place label.
* Use address rank for guessing the admin level. This gets normalised
  by Nominatim with respect to country-specific use of admin_level.

Also adds additional labels for admin levels, so that we now have
complete coverage for all levels that are in use in OSM.
2020-12-01 22:52:40 +01:00
..
api Prefer keyword arguments when method has optional boolean arguments 2020-11-13 10:22:55 +00:00
api_controller.rb Fix new rubocop warnings 2020-09-16 08:28:25 +01:00
application_controller.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-12 11:24:44 +00:00
browse_controller.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-12 11:24:44 +00:00
changeset_comments_controller.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-12 11:24:44 +00:00
changesets_controller.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-12 11:24:44 +00:00
diary_entries_controller.rb Rename Notifier to UserMailer 2020-10-14 15:04:58 +02:00
directions_controller.rb Use CanCanCan for directions controller 2019-01-09 10:12:14 +01:00
errors_controller.rb Skip authorization checks for the errors controller 2019-01-16 11:44:55 +01:00
export_controller.rb Fix new rubocop warnings 2020-08-06 18:42:16 +01:00
friendships_controller.rb Rename Notifier to UserMailer 2020-10-14 15:04:58 +02:00
geocoder_controller.rb Improve guessing of labels for Nominatim results 2020-12-01 22:52:40 +01:00
issue_comments_controller.rb Remove custom deny_access handlers 2018-11-14 14:10:51 +01:00
issues_controller.rb Redirect to the error page for non-existent issues 2020-04-22 12:37:56 +01:00
messages_controller.rb Rename Notifier to UserMailer 2020-10-14 15:04:58 +02:00
notes_controller.rb Rename the notes#mine action to index 2020-07-08 18:43:30 +02:00
oauth_clients_controller.rb Use CanCanCan for oauth clients controller 2019-01-09 15:34:54 +01:00
oauth_controller.rb Move all settings to settings.yml 2019-03-13 18:06:23 +01:00
redactions_controller.rb Use CanCanCan for redaction authorizations 2018-11-07 13:28:58 +01:00
reports_controller.rb Fix new rubocop warnings 2019-07-18 16:47:08 +01:00
site_controller.rb Fix the Redirect warnings from Brakeman 2020-07-22 19:23:46 +01:00
traces_controller.rb Remove some debug logging comitted by mistake 2020-07-07 10:37:39 +01:00
user_blocks_controller.rb Fix rubocop Style/SoleNestedConditional warnings 2020-09-02 18:54:55 +01:00
user_roles_controller.rb Use CanCanCan for user_roles auth 2018-11-28 21:39:26 +01:00
users_controller.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-12 11:24:44 +00:00