Opened 12 years ago

Closed 19 months ago

#574 closed enhancement (fixed)

Parse more lat/lon formats

Reported by: Colin Marquardt Owned by: rails-dev@…
Priority: major Milestone:
Component: website Version:
Keywords: search lat/lon format Cc:


It would be nice if the Search field on the OSM main page would allow some more formats for specifying lat/lon. E.g., I'm missing

51.9 -8.47 (I need to put a comma to separate them in OSM) -19°58´33.26" 23°25´41.52"

Both are supported in Google Maps.



Change History (4)

comment:1 Changed 12 years ago by Colin Marquardt

Component: adminnamefinder

comment:2 Changed 8 years ago by GoemonGPS

Priority: minormajor

I miss this feature as well! In another ticket (#1805) the issue was solved for plain coordinates.

Coordinate formats I'd like to have parsed are:

Normal GPS Coordinates (WGS84 Datum)
Decimal 12.3456 12.345
DDD MM.MMM N 12° 04.567 E 012° 34.567
DDD MM SS.SSS N 12° 3' 45.678" E 12° 34' 05.678"

with support of + and - for the NSEW and common separators like space, comma, semicolon.

UTM (WGS84 Datum)
33U E 345678 N 5671234

comment:3 Changed 6 years ago by iandees

Component: namefinderwebsite
Owner: changed from David Earl to rails-dev@…

This could be done in .js before it hits the server (matching a couple regexes), or in the the /geocoder/search_geonames endpoint in the railsport.

comment:4 Changed 19 months ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.