Get Lat Lon. I finally got fed up of hunting around for simple latitude/longitude tools when messing around with mapping APIs, so I built my own with a memorable URL. I plan to add new features as and when I need them.
Get Lat Lon. I finally got fed up of hunting around for simple latitude/longitude tools when messing around with mapping APIs, so I built my own with a memorable URL. I plan to add new features as and when I need them.
Thanks a lot. This is realy helpful. When I was adding alot of locations to a new webapp the last couple of weeks, I thought about this idea, too.
Could you alter the view to make it possible to append a lat, long and high value in the url? This would make it possible to jump to an area pretty fast.
jfroehlich - 12th October 2007 15:27 - #
Much appreciated, thanks. Shocking that it was necessary to build it really, but I have encountered the same frustrations as you.
Yay, this looks very useful :) Enabling scroll-wheel zoom would be good (though not exactly crucial).
Jon Leighton - 12th October 2007 16:05 - #
It'd be handy to be able to single-click to center the map. Took me a few seconds to puzzle out that I was centering the map to pick a location rather than moving the crosshairs; having the map move would've made it plain.
Finally a simple service to do just that \o/. As for features it seems to me that a search would really be handy.
Wow, glad other people have had the same itch! I've enabled the scroll wheel now. I'm thinking about the other feedback - I definitely intend to add geocoding search of some sort.
This feature has always been available on multimap.com, just take a look under the map :)
Colm - 12th October 2007 17:47 - #
(of course the web app is still lovely)
Colm - 12th October 2007 17:58 - #
Wicked. Thanks for sharing!
C.
OK, I've added geocoding search as an undocumented feature. If you add a search term to the page as a query string it will use Google's geocoder to re-center and zoom the map, like so:
http://www.getlatlon.com/?london
I'll add a UI for that some time soon.
Cool - this is a very handy tool. I have a related website that might be of interest to you. It calculates elevations given a file of lat/lon values. a beta version is at www.LatLonToElevation.com
Matt - 12th October 2007 23:21 - #
I'm somewhat confused - what does this do that Google Maps doesn't already do in the 'link to this page' window? It seems kind of overkill to create a whole website to avoid copying and pasting from the URL bar...
If messing around with mapping API's, surely you have fairly simple geocoding tools available to you. eg,
http://developer.multimap.com/API/geocode/1.2/open apidemo?qs=brighton&countryCode=UK
Seems to do the job fairly well for me. :)
Daniel: to be honest pretty much the only thing this gives you over Google Maps is the crosshair. I usually want to centre the maps that I create precisely on a certain point: to do that I need the exact lat/lon pair and the exact zoom level as well. Finding these was just frustrating enough to justify building a custom tool, and since I needed it I figured it could be helpful to others as well, especially if I put it up at a memorable URL.
Seems to me like this is a job for greasemonkey...
Gotta love the stop energy. Especially the "you could solve this by using a non-existent script for a custom extension to a specific browser, so doing it in a simple and fully portable way that doesn't require installation of anything is pointless" variety. Wankers.
Fredrik - 13th October 2007 07:14 - #
Cool.
I've been using FlashEarth.com for this.
Get a cross hair, lat-lon, search, and access too many different map tiles.
Sure, it's flash, not HTML, but it's bloody useful =)
Mark S - 13th October 2007 12:31 - #
Awesome. I would have loved having something like this about a year ago when I was working on a Google Maps-based web app. Nice work, and great URL.
Bernie Zimmermann - 14th October 2007 01:00 - #
What about creating an API for this service?
Henrik Lied - 14th October 2007 12:06 - #
I can't think of a way of building an API around this that would be useful - there's no server-side code at all, in fact the entire site consists of just two files: a static HTML page and a single background image for the crosshair.
Henrik, the API can be found at http://www.google.com/apis/maps/documentation/serv ices.html#Geocoding
Crescent Fresh - 14th October 2007 12:28 - #
There is a problem that when this site gets really, really popular you will exceed the limit of 50.000 geocode request per day. Per day that is!
Berry: the geocode request restriction is per-IP, and since the lookups are done using client-side JavaScript the IP address is that of the user. This means every visitor to the site with a unique IP gets up to 50,000 geocode requests a day, so I don't need to worry about that side of things at all.
I use http://www.informationfreeway.org/ for this since I'm an OpenStreetMap kind of guy. But having the coordinates change on the cursor move means you can't copy+paste, I guess.
Andy: exactly! I had the same problem with a bunch of the other ones I looked at. Another common issue is ones that give you the lat/lon for a marker - the problem being that markers leave the exact point a little ambiguous. That's why I went with a custom crosshair in the center of the page.
Fantastic Simon, just what I need! It's been a real pain finding the lat/long of precise locations (and appropriate zoom levels) for places in Pepys' Diary.
also check:
http://maps.forum.nu/gm_plot.html
It is the best tool I have found for drawing polygons on top of a map and export coordinates by cut&paste or Json...
Lucap - 16th October 2007 09:06 - #
Thanks for this Simon. Yet again you've done the right thing at the right time(for me). Was having the same lat lon frustrations and this helps getting things sorted.
Leon - 24th October 2007 11:16 - #
My site http://www.earthtools.org/ has done all this and more for over a year now!
Jonathan Stott - 25th October 2007 22:26 - #
Jonathan: earthtools is almost what I was looking for, but it doesn't show the Google Maps zoom level (important for making a mashup) and more importantly it doesn't show up when you search for "find latitude longitude" on Google, so I completely missed it when I was looking for a solution (despite having played with your fantastic APIs in the past - I think you've redesigned the homepage since then).
Simon,
I've added a "Google Maps Zoom Level" field on the Location tool: http://www.earthtools.org/map/51.944264879028765/- 1.8896484375/6/5/Map/
Getting to the top of Google's search results is less easy - EarthTools is down at around 13th when I search for "find latitude longitude", but has been slowly rising.
Jonathan Stott - 27th October 2007 11:11 - #
Excellent! A simple, intuitive function. I was struggling to find a speedy way for creating geocodes for various locations on www.beatlesmapped.com - now I'll be able to speed up additions to the site.
andrew pendrick - 13th December 2007 20:07 - #
Hi, brilliant tool. Just adding my +1 to the idea of single-clicking to center the view.
Matt Fletcher - 7th July 2008 12:12 - #
Excellent work. Do you live in Kansas City? I live in KC. I am about to launch alpha version and would like to visit. send email to vstilw01@yahoo.com
VStilwell - 10th October 2008 11:25 - #
Very helpful. Excellent.
Will Fastie - 16th October 2008 04:34 - #
Refreshingly clean and simple. Thanks Simon. God bless
Steve Crocker - 8th November 2008 13:12 - #
Very nice tool, thanks. Since you're looking for ideas....
It'd be nice to have some way to quickly copy a lat/long pair to the clipboard. One way would be to mimic what Google Maps does with the "link to this map" thing, but perhaps it's possible to always keep the lat/long text selected so that the user only need copy it?
Another idea is to keep the lat/lon in the url all the time, by writing it to document.location.hash. The modern version of Yahoo! Maps does this, which I think is spiffy.
Jeffrey Friedl - 11th November 2008 14:27 - #
Great!
Love it excellent tool.
Like to double check Land Surveyors work
Suggestions for additional options - more zoom capabilities (prob not for free right?) - markers (flag multiple spots on the map. GE have built in tool but I like this one better
Jarlath - 23rd February 2009 20:44 - #
Great tool, just what I needed. Thanks!! Great job!
rtny - 17th September 2009 00:38 - #
Simon, would you be offended if inserted this page within my website? this is exactly what I have been looking for,
Thanks
Benny - 25th September 2009 15:07 - #
Benny: please don't iframe it, but the code is open source so you are welcome to take it and do whatever you like: http://github.com/simonw/getlatlon.com
Excellent tool, good on you, looking forward to mash ups!
John Forde - 4th October 2009 18:10 - #
oh, for FYI..
http://www.downloadsquad.com/2009/10/03/find-out-g ps-co-ordinates-with-get-lat-lon/
John Forde - 4th October 2009 18:11 - #
One suggestion: direct export of that location to the GPS as you can with some locations on Google Maps. That would be awesome
Amir Findling - 8th October 2009 15:56 - #
I'm a web developer and I have tried to use the method or methods getLatLng of the Google API to query the latitude and longitude of the addresses found that does not return the coordinates correctly in my country (Colombia) probably can give me any recommendations, advice ore guide for GEO referenc the addresses in my country. Thanks in advance.
felipegarcian@gmail.com
Felipe - 17th October 2009 18:28 - #
Nice work. Feature request: How about customisable number of decimal places, please? 16 dec pl is - um - a bit much.
Jinlye - 2nd November 2009 13:21 - #
Any way of plotting multiple postcodes on a map? I'm busy designing Disaster Recovery plans, and need to find out how many staff are snowed into Essex / stuffed because the M1 is under water / within 2 miles of their nearest office - and so on. Doesn't need to be uber-precise.... cheers, Danny
Danny - 5th November 2009 01:53 - #
This is a very useful tool!
A worthwhile feature would be to limit the number of digits of accuracy based on the image scale. 15 decimal digits implies microscopic (10E-10m) accuracy.
With degrees, you need only 5 digits behind the decimal point to get to 1 meter, and that's already better than most GPS receivers can show.
timberwoof - 6th November 2009 00:35 - #
Perfect, one of the most elegant sites I use on a regular basis. I forward it on to folks on a regular basis . . Cheers!
jason griffith - 16th December 2009 23:16 - #
your get latlon doesn't zoom properly. It seems that it always zooms to the southwest of where it should, I think because you resized the standard google map viewing area.
Thanks for building this, am using it now to pull coordinates for us power plants. Cheers.
brad - 18th January 2010 23:23 - #
Great - exactly what I was looking for. Now I can preset my satnav to pinpoint those odd places I visit!
Lord Hutton - 7th February 2010 11:06 - #
You've saved me a lot of walking in my job.
Anonnymous - 8th February 2010 21:14 - #