Author Topic: Lat/Long from google?  (Read 1397 times)

Offline Rattus

  • RootsChat Member
  • ***
  • Posts: 215
  • Census information Crown Copyright, from www.nationalarchives.gov.uk
    • View Profile
Re: Lat/Long from google?
« Reply #9 on: Friday 16 March 18 11:03 GMT (UK) »
I just experimented further. I am generally signed out of Google, except when I have a specific need to sign in.

When signed out, it shows D/M/S in the blue part and decimal degrees in the white search box. When signed in, it is showing me D/M/S in both. When signed out again, it reverts to previous behaviour.

Not entirely sure what this tells us or how it can help you, other than pointing towards experimentation at your end to see if you can come up with the right combination of variables.
BARTRAM - Nottingham, Derby, originally Beds (Stagsden)
PERFETT - St Pancras & Marylebone, Rugby, Nottingham
RADFORD - Nottinghamshire, also back & forth to Bury
RUDD - Durham, Margate, Bermondsey, Newcastle, Nottingham

Online KGarrad

  • RootsChat Marquessate
  • *******
  • Posts: 26,084
  • Census information Crown Copyright, from www.nationalarchives.gov.uk
    • View Profile
Re: Lat/Long from google?
« Reply #10 on: Friday 16 March 18 11:07 GMT (UK) »
Just searching in Google.
Found this site: http://www.earthpoint.us/Convert.aspx

Copy-and-paste latitude and longitude separately, and hit "Calc".
Garrad (Suffolk, Essex, Somerset), Crocker (Somerset), Vanstone (Devon, Jersey), Sims (Wiltshire), Bridger (Kent)

Online KGarrad

  • RootsChat Marquessate
  • *******
  • Posts: 26,084
  • Census information Crown Copyright, from www.nationalarchives.gov.uk
    • View Profile
Re: Lat/Long from google?
« Reply #11 on: Friday 16 March 18 12:33 GMT (UK) »
I have been playing around!
So, I wrote an Excel spreadsheet to do the conversion ;D

Send me your email address via PM if you want a copy.

With the Latitude-Longitude character string in cell A2, enter the following formulae:

B2 =LEFT(A2,(FIND("N",A2)-1))    Split out the Latitude coordinates
C2 =LEFT(B2,(FIND("°",B2)-1))     Split out the Degrees
D2 =MID(B2,(FIND("°",B2)+1),2)  Split out the Minutes
E2 =MID(B2,(FIND("'",B2)+1),4)   Split out the Seconds
F2 =C2+D2/60+E2/3600              Calculate the Decimal Latitude

Repeat for Longitude
G2 =RIGHT(A2,(FIND("N",A2)-1))   Split out the Longitude coordinates
H2 =LEFT(G2,(FIND("°",G2)-1))      Split out the Degrees
I2 =MID(G2,(FIND("°",G2)+1),2)    Split out the Minutes
J2 =MID(G2,(FIND("'",G2)+1),4)     Split out the Seconds
K2 =H2+I2/60+J2/3600                 Calculate the Decimal Longitude

Obviously, don't copy the red comments! ;D
Garrad (Suffolk, Essex, Somerset), Crocker (Somerset), Vanstone (Devon, Jersey), Sims (Wiltshire), Bridger (Kent)

Offline bugbear

  • RootsChat Aristocrat
  • ******
  • Posts: 2,167
  • Census information Crown Copyright, from www.nationalarchives.gov.uk
    • View Profile
Re: Lat/Long from google?
« Reply #12 on: Friday 16 March 18 13:44 GMT (UK) »
I have been playing around!
So, I wrote an Excel spreadsheet to do the conversion ;D
Thank for that!

I already use a perl/CGI script to tidy FreeBMD data, so I added some perl "inspired" by your Excel work to my script.

I'd still prefer google to give the format I want in the first place though.

 BugBear
BICE Middlesex
WOMACK Norfolk/Suffolk


Online KGarrad

  • RootsChat Marquessate
  • *******
  • Posts: 26,084
  • Census information Crown Copyright, from www.nationalarchives.gov.uk
    • View Profile
Re: Lat/Long from google?
« Reply #13 on: Friday 16 March 18 13:53 GMT (UK) »
I know what you would prefer! ;D ;D

Just offering an alternative - and I use Excel every day.
Thought I'd write something that would work on any spreadsheet?

A change is as good as a rest - and it was certainly a change from Ice Hockey Statistics, and Beer/Cider Festival stuff ;D  (My usual activities)
Garrad (Suffolk, Essex, Somerset), Crocker (Somerset), Vanstone (Devon, Jersey), Sims (Wiltshire), Bridger (Kent)

Offline Marwite

  • RootsChat Extra
  • **
  • Posts: 12
  • Census information Crown Copyright, from www.nationalarchives.gov.uk
    • View Profile
Re: Lat/Long from google?
« Reply #14 on: Friday 16 March 18 14:12 GMT (UK) »
Have you tried clicking on "directions" under the degrees/minutes/seconds result?  For me, also Firefox, that produces the required format in a selectable field. 

(Another Gramps user, first used Streetmap to get lat & long but its search is so very clunky.  Google maps has never given me decimal format in that first panel.  Very odd.)

Offline bugbear

  • RootsChat Aristocrat
  • ******
  • Posts: 2,167
  • Census information Crown Copyright, from www.nationalarchives.gov.uk
    • View Profile
Re: Lat/Long from google?
« Reply #15 on: Friday 16 March 18 14:22 GMT (UK) »
Have you tried clicking on "directions" under the degrees/minutes/seconds result?  For me, also Firefox, that produces the required format in a selectable field.
No. No I hadn't.

But I have now, and it gives me sacred, blessed decimals.  :)

  BugBear
BICE Middlesex
WOMACK Norfolk/Suffolk