openstreetmap-website/app
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
..
abilities Rename the notes#mine action to index 2020-07-08 18:43:30 +02:00
assets Update to iD v2.19.0 2020-10-27 17:46:24 -04:00
controllers Improve guessing of labels for Nominatim results 2020-12-01 22:52:40 +01:00
helpers Fix HTML escaping issues with user role icons 2020-11-13 15:13:37 +00:00
jobs Prefer string interpolation to concatenation 2020-11-13 11:32:28 +00:00
mailers Refactor trace notifications to reduce lego translations 2020-11-18 18:14:55 +00:00
models Prefer string interpolation to concatenation 2020-11-13 11:32:28 +00:00
validators Fix new rubocop warnings 2020-11-17 08:17:34 +00:00
views Fix trace tag interpolation, and add a test 2020-11-25 11:34:35 +00:00