[openstreetmap/openstreetmap-website] Support configurable coordinate format (lat, lon vs lon, lat) when displaying addresses (Issue #6165)

Minh Nguyễn notifications at github.com
Thu Jul 3 19:39:32 UTC 2025


1ec5 left a comment (openstreetmap/openstreetmap-website#6165)

> This would make copying coordinates into development tools and code snippets much more convenient and reduce confusion or errors.

If one of the internal result’s labels is just regurgitating what the user entered into the search bar, it seems unlikely to me that the user would be interested in copying the label.

For what it’s worth, iD’s Measurement panel is intended for copying, so it does show coordinates in two different formats: decimal and DMS, [always putting the latitude first](https://github.com/openstreetmap/iD/blob/f5b82daf24de0bbc01bea2f82bc7a55596403a97/modules/util/units.js#L180-L185).

<img src="https://github.com/user-attachments/assets/7326a4b6-25ca-41a9-8de6-a248b3d8d3ac" width="250" alt="Location: 39°16′58″N, 84°17′7″W; 39.2826582, -84.2851886">

For search input, openstreetmap/iD#10805 added a few formats that are rather specific to OSM, just for convenience when copy-pasting URL fragments and such.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6165#issuecomment-3033405275
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6165/3033405275 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250703/a144a3c5/attachment.htm>


More information about the rails-dev mailing list