[openstreetmap/openstreetmap-website] Label administrative boundaries by real-world designation (PR #5493)

Minh Nguyễn notifications at github.com
Fri Mar 7 12:37:41 UTC 2025


@1ec5 commented on this pull request.



> @@ -101,9 +101,13 @@ def search_osm_nominatim
       if klass == "boundary" && type == "administrative"
         rank = (place.attributes["address_rank"].to_i + 1) / 2
         prefix_name = t "geocoder.search_osm_nominatim.admin_levels.level#{rank}", :default => prefix_name
+        border_type = false
+        place_type = false

Fixed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5493#discussion_r1984987577
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5493/review/2667129483 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250307/db41d902/attachment.htm>


More information about the rails-dev mailing list