[openstreetmap/openstreetmap-website] Search by latitude & longitude succeeds inconsistently (#2366)

Tom Hughes notifications at github.com
Tue Sep 3 09:53:03 UTC 2019


The actual code is at https://github.com/openstreetmap/openstreetmap-website/blob/master/app/controllers/geocoder_controller.rb#L293 and as you can see the patterns we recognise are already pretty... complicated...

I think the only two of your examples which don't work are the first one, because we don't allow a degree symbol when using decimal degrees, and the last one because we don't allow use of +/- when using sexagesimal notation - we expect N/S/E/W instead.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2366#issuecomment-527389293
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190903/e9f4fadc/attachment-0001.html>


More information about the rails-dev mailing list