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

Anton Khorev notifications at github.com
Mon Jan 13 00:36:40 UTC 2025


@AntonKhorev commented on this pull request.



> +        level3: "Administrative Boundary (Level 3)"
+        level4: "Administrative Boundary (Level 4)"
+        level5: "Administrative Boundary (Level 5)"
+        level6: "Administrative Boundary (Level 6)"
+        level7: "Administrative Boundary (Level 7)"
+        level8: "Administrative Boundary (Level 8)"
+        level9: "Administrative Boundary (Level 9)"
+        level10: "Administrative Boundary (Level 10)"
+        level11: "Administrative Boundary (Level 11)"

> I noticed that other boundary types don’t say “Boundary”. For example, boundary=electoral is just “Electoral”. 

Those are constructed here:
https://github.com/openstreetmap/openstreetmap-website/blob/5d76ec051e2c429b6647401674e13688c1251956/app/assets/javascripts/index/query.js#L91-L100

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

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


More information about the rails-dev mailing list