Opened 11 years ago

Closed 4 months ago

#574 closed enhancement (fixed)

Parse more lat/lon formats

Reported by: ColinMarquardt 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 11 years ago by ColinMarquardt

  • Component changed from admin to namefinder

comment:2 Changed 6 years ago by GoemonGPS

  • Priority changed from minor to major

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 5 years ago by iandees

  • Component changed from namefinder to website
  • Owner changed from david@… 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 4 months ago by lonvia

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.