tomtaylor.co.uk

Blog

LongLat

Sunday, September 30th, 2007 at 10:42 am in Life.

Tagged with: , , , .

I got a new toy recently - a NaviGPS device. It’s a GPS logger with Bluetooth and a bike mount. Partly for messing with, partly for navigation and partly for contribute to OpenStreetMap.

Of course, the device needs programming with waypoints before you set off, but allows for manual input of longitude and latitudes. It’s fine if you’re organised, but if not, then you’re a bit stuck. So I wrote a web application that looks up longitudes and latitudes from the Google Maps API, based on a search term such as “Marylebone Station, UK”. It’s deliberately very simple and very low bandwidth, because I wanted to be able to look up from my mobile phone. It’s called LongLat (did I mention it was written very quickly?), and I hope it’s useful to someone.

Comments

  1. Wig on October 2nd, 2007 at 10:29 pm

    Looks nice dude, but on searches with multiple results how does it select the result, for example, searching London Road returns a location in the US…

    Good stuff though :)

  2. Tom on October 3rd, 2007 at 7:55 pm

    It just looks up against the Google Maps API, so probably prioritises US locations. I could append “, UK” to each search term, but that prevents people from outside the UK from using it. Maybe I’ll supply a drop down box for country?