[openstreetmap/openstreetmap-website] Add parsing coordinates in lon, lat format (#1958)

Tom Hughes notifications at github.com
Mon Aug 27 11:35:53 UTC 2018


I think this is working at the wrong level - it would probably be better done by having the initial search trigger multiple calls to the backend.

The reason I say that is that `normalize_params` parses many things into lat/lon pairs but in most cases the order is clear as there are N/S/E/W markers - only the pure numeric cases can be ambiguous.

As this stands an entirely unambiguous search string will produce two results...

-- 
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/pull/1958#issuecomment-416198197
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180827/f7ca1c49/attachment-0001.html>


More information about the rails-dev mailing list