[openstreetmap/openstreetmap-website] Avoid use of scientific notation in geocoder results (PR #4961)

Tom Hughes notifications at github.com
Fri Jul 12 13:47:25 UTC 2024


@tomhughes commented on this pull request.



> @@ -60,6 +60,19 @@ def test_identify_latlon_ne_d
     end
   end
 
+  ##
+  # Test identification of integer lat/lon pairs using N/E with degrees
+  def test_identify_latlon_ne_d_int_deg
+    [
+      "N50 E14",
+      "N50° E14°",
+      "50N 14E",
+      "50°N 14°E"
+    ].each do |code|
+      latlon_check code, 50, 14
+    end
+  end
+

Fixed that now...

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

Message ID: <openstreetmap/openstreetmap-website/pull/4961/review/2174934116 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240712/7d971db1/attachment-0001.htm>


More information about the rails-dev mailing list