* Having an issue getting full place name during Geocoding

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
avatar
Gary_G
Superstar
Posts: 304
Joined: 24 Mar 2023 19:05
Family Historian: V7
Location: Calgary, Alberta, Canada

Having an issue getting full place name during Geocoding

Post by Gary_G » 31 Mar 2023 19:37

I am polishing up my imported place names in FH7. In my previous program, a geocoded name might be something like; Somme-Tourbe, Département de la Marne, Champagne-Ardenne, France. When I do auto-geocoding in FH7, it does not complete the 2nd to 4th parts of the place-name. Is there a switch I have to set to have it record more than just the Commune (1st element)?
Gary Gauthier
Hunting History in the Wild!

avatar
Gowermick
Megastar
Posts: 1629
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: Having an issue getting full place name during Geocoding

Post by Gowermick » 31 Mar 2023 21:20

As far as I’m aware, geo-coding simply adds the Lat & Long to a place record.

So if I have a place simply called “Machester, England”, I wouldn’t expect it to amend it to add the missing county, and to be honest, I wouln’t want it to.
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

avatar
Gary_G
Superstar
Posts: 304
Joined: 24 Mar 2023 19:05
Family Historian: V7
Location: Calgary, Alberta, Canada

Re: Having an issue getting full place name during Geocoding

Post by Gary_G » 31 Mar 2023 21:39

"Gowermick";

I've seen programs use both approaches. MacFamilyTree 10 will look at a place and provide a list of all the possibilities from which a user can select the correct one. It then adds in the whole location and the coordinates.

I'm still new to FH7, so I'm playing on a test database. While waiting for a response, I unchecked the box that protects previously geocoded places and found that FH7 seems to return a more complete place name. I think that was my mistake. I had been preventing it from reevaluating the place names. Oddly; it sometimes messes up and supplies fewer terms than expected for a place. However; I can manually fix that.

I can see that the geocoding typically returns 3 columns of info plus the coordinates. Unfortunately; France typically uses 4 columns and FH7 is lumping the last two terms into the 3rd column. Do you know if there is a place to tell it that it should use 4 columns?
Gary Gauthier
Hunting History in the Wild!

avatar
Gowermick
Megastar
Posts: 1629
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: Having an issue getting full place name during Geocoding

Post by Gowermick » 31 Mar 2023 21:52

Gary,
I don’t understand your comment that FH7 offers a choice of alternatives for a place name when geo-coding. Are you confusing this with the auto-complete function when adding a place against a fact, which has nothing to do with geo-coding.
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

avatar
Gary_G
Superstar
Posts: 304
Joined: 24 Mar 2023 19:05
Family Historian: V7
Location: Calgary, Alberta, Canada

Re: Having an issue getting full place name during Geocoding

Post by Gary_G » 31 Mar 2023 22:14

"Gowermick";

I actually said, "MacFamilyTree 10 will look at a place and provide a list of all the possibilities from which a user can select the correct one". I was just giving an example of another program that actually allows the user to choose amongst similar alternatives.

I took a deeper look at what FH7 does and I'm starting to doubt, as you said, that it does much beyond get the coordinates. It makes me a bit nervous, since France is notorious for having places of the same name in different parts of the country. So; I'm not sure how it selects the correct alternative.
Gary Gauthier
Hunting History in the Wild!

User avatar
LornaCraig
Megastar
Posts: 2995
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Having an issue getting full place name during Geocoding

Post by LornaCraig » 31 Mar 2023 22:36

In Tools> Work with Data > Places if you click columns you can specify how many columns you want your data to be displayed in. If a place name has more comma separated parts than the number of columns you have set, the excess parts will be 'lumped' in the final column.

When you sart to enter a place name FH will offer to auto-complete the name based on the names of place records already in your project. If you have several places which start with the same letters I think it offers the most recently used one first. If this is not the one you want you just need to keep typing to narrow the options until the right one comes up, or create a new one if the place is not already in your project. It's up to you to make sure you select the correct one. FH doesn't make the selection for you, it just makes suggestions based on what you have already used.

None of this has anything to do with geocoding, except that if you have not specified enough elements in the place name to start with then the co-ordinates may well be wrong because the program doesn't know which place you want. But the geocoding process only attempts to add coordinates, it doesn't do any auto-completion of place names.
Lorna

avatar
Gowermick
Megastar
Posts: 1629
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: Having an issue getting full place name during Geocoding

Post by Gowermick » 31 Mar 2023 22:41

Gary,
Another way to apply geo-coding manually is via the map window. If you want to geo-code a new place or correct a wrongly geo-coded place, find the correct place location on the map (expanding map gives greater accuracy), find the place in the lisst of placenames to the left of the map, and simply click and drag the name and drop it onto the map. The place will then be given the Lat & Long of where you dropped the name.
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

avatar
Gary_G
Superstar
Posts: 304
Joined: 24 Mar 2023 19:05
Family Historian: V7
Location: Calgary, Alberta, Canada

Re: Having an issue getting full place name during Geocoding

Post by Gary_G » 31 Mar 2023 23:29

Lorna;

That does help a lot. Thank you.
Gary Gauthier
Hunting History in the Wild!

avatar
Gary_G
Superstar
Posts: 304
Joined: 24 Mar 2023 19:05
Family Historian: V7
Location: Calgary, Alberta, Canada

Re: Having an issue getting full place name during Geocoding

Post by Gary_G » 31 Mar 2023 23:31

"Gowermick";

Thank you. I may have a use for that technique of setting coordinates, since some places are not in the online geocoding database.
Gary Gauthier
Hunting History in the Wild!

User avatar
AdrianBruce
Megastar
Posts: 1962
Joined: 09 Aug 2003 21:02
Family Historian: V7
Location: South Cheshire
Contact:

Re: Having an issue getting full place name during Geocoding

Post by AdrianBruce » 01 Apr 2023 11:38

Gary - I would suggest that in all cases, you should check on the map where the Geocoding thinks your place is. The routines used by FH seem to basically do a text based search that might miss out on any logic implied by your place-names. I've had place-names in Victoria (Australia) end up in British Columbia because there's a Victoria there...

For my (non-existent) money, the Geocoding used by the "Map Life Facts" plug-in is better than the "native" Geocoder accessed by the FH Map Window.
Adrian

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Having an issue getting full place name during Geocoding

Post by ColeValleyGirl » 01 Apr 2023 11:51

AdrianBruce wrote:
01 Apr 2023 11:38
For my (non-existent) money, the Geocoding used by the "Map Life Facts" plug-in is better than the "native" Geocoder accessed by the FH Map Window.
Was better, alas. I don't believe it works since Msoft withdrew support for IE -- at least, it doesn't work for me.

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Having an issue getting full place name during Geocoding

Post by tatewise » 01 Apr 2023 12:43

Map Life Facts works fine for me on Windows 10 Home 22H2 with the Web Page Map Options set for Leaflet Maps as stated on the Help page https://pluginstore.family-historian.co ... life-facts.

When I next update the plugin the Google Maps display Map Pane Mode option will be removed.
If chosen it produces a Script Error message as shown here https://pluginstore.family-historian.co ... -maps-mode.

However, the Google Maps geocoding still works fine and correctly plotted 'Somme-Tourbe, Département de la Marne, Champagne-Ardenne, France' in exactly the correct location.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Having an issue getting full place name during Geocoding

Post by ColeValleyGirl » 01 Apr 2023 13:52

tatewise wrote:
01 Apr 2023 12:43
However, the Google Maps geocoding still works fine and correctly plotted 'Somme-Tourbe, Département de la Marne, Champagne-Ardenne, France' in exactly the correct location.
Which is excellent news, as I use the plugin in preference to the built in alternative.

However, it currently only works if the Map Pane Mode is set for Leaflet Maps. If it isn't, the plugin starts up with the script error you describe and all tabs inaccessible for a prolonged period (hence me believing it didn't work at all).

I've never used the Create Web Page Maps functionality, so have never touched the Web Page Map Options. It seems counterintuitive that a feature I don't use and don't care about affects other functionality, but I realise the issue will be going away when you next update it.

If you're not going to update if for a while, you may want to amend the version history for 5.1 to reflect the changes around Google Maps and make more prominent the necessary adjustments. Yes, it's buried in the FAQs, but as the Google Maps issue wasn't mentioned in the Version history, I didn't go looking further.

Incidentally, when you do update it, will you remove the NLS Historic UK maps option?

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Having an issue getting full place name during Geocoding

Post by tatewise » 04 Apr 2023 13:08

Helen, thank you for prompting me to update the plugin. It was on my hit list, and I started looking at Bing Maps as an alternative to Google Maps, but then got distracted by more pressing matters and it got pushed down the list.
An updated Map Life Facts plugin Version 5.2 Date 03 Apr 2023 is now in the Plugin Store and the Help & Advice pages have been revised. The plugin now forces the maps to use the Leaflet Maps option and Google Maps are deprecated.
If you notice anything that could be improved further then let me know.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
Gary_G
Superstar
Posts: 304
Joined: 24 Mar 2023 19:05
Family Historian: V7
Location: Calgary, Alberta, Canada

Re: Having an issue getting full place name during Geocoding

Post by Gary_G » 04 Apr 2023 13:32

Mike;
If I remember correctly, Google maps wanted a Credit Card number (even though it didn't use it) to get a code.
Does the substitute, Bing Maps, do the same?
Hopefully it doesn't.
Gary Gauthier
Hunting History in the Wild!

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Having an issue getting full place name during Geocoding

Post by ColeValleyGirl » 04 Apr 2023 13:37

tatewise wrote:
04 Apr 2023 13:08
Helen, thank you for prompting me to update the plugin.
Thank you for updating -- in a quick check everything looks fine.

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Having an issue getting full place name during Geocoding

Post by tatewise » 04 Apr 2023 14:33

Gary, yes, Google Maps needs a credit card.
It looks like Bing Maps just needs a Microsoft Account and Bing Maps API Key to use a range of free services, but I got distracted before getting very far.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
Gary_G
Superstar
Posts: 304
Joined: 24 Mar 2023 19:05
Family Historian: V7
Location: Calgary, Alberta, Canada

Re: Having an issue getting full place name during Geocoding

Post by Gary_G » 04 Apr 2023 15:05

Thanks, Mike. It was the option to use Bing that interests me.
I already have the required account.
Hopefully it is as good or better than the Google service.
Will give it a try.
Gary Gauthier
Hunting History in the Wild!

avatar
Gowermick
Megastar
Posts: 1629
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: Having an issue getting full place name during Geocoding

Post by Gowermick » 04 Apr 2023 15:41

tatewise wrote:
04 Apr 2023 14:33
Gary, yes, Google Maps needs a credit card.
Eh? I use google maps as a gazeteer all the time, and apart from logging in to my account, I don't have to subscribe or pay.
And as far as I'm aware I have never given it my credit card details - I'd draw the line at that!
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

avatar
arthurk
Superstar
Posts: 339
Joined: 31 Jan 2015 20:24
Family Historian: V7

Re: Having an issue getting full place name during Geocoding

Post by arthurk » 04 Apr 2023 16:10

tatewise wrote:
04 Apr 2023 14:33
Gary, yes, Google Maps needs a credit card.
It looks like Bing Maps just needs a Microsoft Account and Bing Maps API Key to use a range of free services, but I got distracted before getting very far.
I've never got round to any kind of mapping or geocoding in FH, and I don't know when I ever will, but if it needed me to give credit card details to Google I'd almost certainly never bother.

However, if the alternative is Bing Maps in the way you describe, then as things are at present I still wouldn't do it. I run my PC (Windows 10) with a local account rather than an online Microsoft one, and intend to stick with that for as long as possible, so presumably that would rule me out.

But I'm also not convinced about the accuracy of Bing Maps: search for Keighley (Yorkshire, England), then click the black 'X' in the side panel to unhighlight it. 'Keighley' on the map is replaced by 'Queensbury', which is an entirely different place about 10 miles away. I've reported this (fairly recently, admittedly), but there doesn't seem to be any rush to correct it.

I mention this particular error because it's an area I'm familiar with, but who knows what others there might be?

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Having an issue getting full place name during Geocoding

Post by ColeValleyGirl » 04 Apr 2023 16:24

Gowermick wrote:
04 Apr 2023 15:41
tatewise wrote:
04 Apr 2023 14:33
Gary, yes, Google Maps needs a credit card.
Eh? I use google maps as a gazeteer all the time, and apart from logging in to my account, I don't have to subscribe or pay.
And as far as I'm aware I have never given it my credit card details - I'd draw the line at that!
The credit card is needed to use the Geocoding API via the plugin.

User avatar
AdrianBruce
Megastar
Posts: 1962
Joined: 09 Aug 2003 21:02
Family Historian: V7
Location: South Cheshire
Contact:

Re: Having an issue getting full place name during Geocoding

Post by AdrianBruce » 04 Apr 2023 20:29

Gowermick wrote:
04 Apr 2023 15:41
... And as far as I'm aware I have never given it my credit card details - I'd draw the line at that!
So you've never paid for an Android app? ;) I need my CAMRA Good Beer Guide subs!
Adrian

avatar
jelv
Superstar
Posts: 366
Joined: 03 Feb 2020 22:57
Family Historian: V7
Location: Mere, Wiltshire

Re: Having an issue getting full place name during Geocoding

Post by jelv » 04 Apr 2023 21:09

Even free Android apps it nags you for a card when you try to download them (you can skip over that) - if you don't see that you've given them a card.
John Elvin

avatar
Gowermick
Megastar
Posts: 1629
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: Having an issue getting full place name during Geocoding

Post by Gowermick » 04 Apr 2023 21:52

AdrianBruce wrote:
04 Apr 2023 20:29
Gowermick wrote:
04 Apr 2023 15:41
... And as far as I'm aware I have never given it my credit card details - I'd draw the line at that!
So you've never paid for an Android app? ;) I need my CAMRA Good Beer Guide subs!
No, they don’t work on an iPhone or iPad😂
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Having an issue getting full place name during Geocoding

Post by tatewise » 04 Apr 2023 22:14

Getting back to the earlier topic...
(I wish users would read the whole thread before jumping to conclusions and going off on a tangent.) :roll:

I have knocked together a version of the plugin that uses Bing Maps for both plot geocoding and map pane display.
The Bing geocoding seems to work quite well and the Bing map pane is supported in the old IE shell used in the plugin.
Bing Maps needs you to sign in to a Microsoft Account and obtain a unique Bing Maps API Key but you do not need to remain signed in and no credit card is required. So it looks promising.
However, there is still a lot of Java script coding and testing required before the plugin is suitable for public trials...
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply