* Google Mapping Plugin
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
I am currently working on a Goggle Mapping plugin for FH5.
As the moment is shows, Individual events, Family as Spouse events and children's births. Are there any other events you would include?
ID:5256
As the moment is shows, Individual events, Family as Spouse events and children's births. Are there any other events you would include?
ID:5256
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- PeterR
- Megastar
- Posts: 1129
- Joined: 10 Jul 2006 16:55
- Family Historian: V7
- Location: Northumberland, UK
Google Mapping Plugin
Burial would be useful.
Peter Richmond (researching Richmond, Bulman, Martin, Driscoll, Baxter, Hall, Dales, Tyrer)
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
It already includes all Individual events.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Google Mapping Plugin
Is this how the text output is supposed to look, Jane?
Born 3 March 1905 in Merthyr Tydfil, Glamorgan, Wales
Census 2 April 1911 in Merthyr Tydfil, Glamorgan, Wales
RESI Resident in Merthyr Tydfil, Glamorgan, Wales 9 February 1924 9 February 1924 in Merthyr Tydfil, Glamorgan, Wales
with Margaret Ellen ROBERTS:
Married 9 February 1924 in Merthyr Tydfil, Glamorgan, Wales
OCCU Coal-miner (hewer) January 1925
Child:Agnes Margaret JONES:
Born 19 January 1925 in Merthyr Tydfil, Glamorgan, Wales
OCCU Coal-hewer October 1931
OCCU Lamp Manufacturer's Store Keeper May 1948
RESI Resident in Yardley, Birmingham, England May 1948 May 1948 in Yardley, Birmingham, England
Died 10 May 1948 in Yardley, Birmingham, England
OCCU Coal miner
Born 3 March 1905 in Merthyr Tydfil, Glamorgan, Wales
Census 2 April 1911 in Merthyr Tydfil, Glamorgan, Wales
RESI Resident in Merthyr Tydfil, Glamorgan, Wales 9 February 1924 9 February 1924 in Merthyr Tydfil, Glamorgan, Wales
with Margaret Ellen ROBERTS:
Married 9 February 1924 in Merthyr Tydfil, Glamorgan, Wales
OCCU Coal-miner (hewer) January 1925
Child:Agnes Margaret JONES:
Born 19 January 1925 in Merthyr Tydfil, Glamorgan, Wales
OCCU Coal-hewer October 1931
OCCU Lamp Manufacturer's Store Keeper May 1948
RESI Resident in Yardley, Birmingham, England May 1948 May 1948 in Yardley, Birmingham, England
Died 10 May 1948 in Yardley, Birmingham, England
OCCU Coal miner
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
At the moment yes, there is a 'feature' on the fhGetDisplayText() for Attributes and although I can work around it I want to show Simon the issue, residence is being reported as an attribute and I think fh is treating it like an event.
Also I can't see a way to return the 'nice' name for Attributes. So I have raised both in the Beta Forum.
Did the mapping part work ok?
Also I can't see a way to return the 'nice' name for Attributes. So I have raised both in the Beta Forum.
Did the mapping part work ok?
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Google Mapping Plugin
It worked a treat, and I think this is going to be really useful!
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
I have improved the Residence support by making it a special case. Feel free to download again if you want.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Google Mapping Plugin
Thanks, Jane. That looks better!
If only Google Maps would recognise places that no longer exist or have changed their names...
If only Google Maps would recognise places that no longer exist or have changed their names...
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
Google Mapping Plugin
Jane,
I've had a few of strange results for this - I don't know if its the plug in or Google.
I put in myself and two events for Plumstead (SE London) show as Silicon Court, Milton Keynes and two for Sydenham, Kent (near Brixton) show as St Peter's Rd Whitstable.
Putting in a Fireman ancestor, I initially get OVER_QUERY_LIMIT and then Shooters Hill and New Cross are in deepest Kent (Margate and Eythorne respectively).
I've had a few of strange results for this - I don't know if its the plug in or Google.
I put in myself and two events for Plumstead (SE London) show as Silicon Court, Milton Keynes and two for Sydenham, Kent (near Brixton) show as St Peter's Rd Whitstable.
Putting in a Fireman ancestor, I initially get OVER_QUERY_LIMIT and then Shooters Hill and New Cross are in deepest Kent (Margate and Eythorne respectively).
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
Do you have full places in eg Plumbstead, London, England?
I have not seen any problems with my own tree, but all my places are qualified to county level.
I have not seen any problems with my own tree, but all my places are qualified to county level.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
Google Mapping Plugin
I have Plumstead, Kent, England (residence and marriage) although I think maybe I should have Plumstead, London, England as at the time of the events not even the Post Office considered it Kent.
From what Cole Valley Girl says, it looks like its Googlemaps that is the problem, having no historic ability.
With regards to use of the plugin I try to associate the event with the contemporary location of the place e.g. Lambeth, Surrey pre-1889 and Lambeth, London post-1889. I'm particularly vain when it comes to Sydenham as it was in Kent when I was born (parents and brother are mere Londoners) and did not become part of London until a couple of years after I was born. This kind of precludes me from getting the best out of the plugin.
How does TNG (which I believe has a similar mapping thing) deal with places that move counties etc?
Finally is there a maximum number of facts/events which would account for the OVER_QUERY_LIMIT?
From what Cole Valley Girl says, it looks like its Googlemaps that is the problem, having no historic ability.
With regards to use of the plugin I try to associate the event with the contemporary location of the place e.g. Lambeth, Surrey pre-1889 and Lambeth, London post-1889. I'm particularly vain when it comes to Sydenham as it was in Kent when I was born (parents and brother are mere Londoners) and did not become part of London until a couple of years after I was born. This kind of precludes me from getting the best out of the plugin.
How does TNG (which I believe has a similar mapping thing) deal with places that move counties etc?
Finally is there a maximum number of facts/events which would account for the OVER_QUERY_LIMIT?
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
I have not hit the limit yet, as I said I have only just started trying to get Google Maps to integrate and my Family don't move around much, I may need to put a time delay in if there are more than 20 places to encode I will try and play with that when I have a moment, and look at adding a delay between each set of 20 addresses.
I haven't looked at the TNG solution, lately, but I think you can add Alternate place names in to the database, my script is simply building a new Web page for each person so, I don't think I can do that.
Chris could you try adding
strPlaces = strPlaces..'usleep(66666);n'
into the place building routine near the end of the script
eg
for i,count in pairs(tblPlaces) do
strPlaces = strPlaces..'AddAddress(''..i..'',''..i..' '..count..' Events');n'
if max < count then
max = count
mainPoint = '''..i..'',''..i..' '..count..' Events''
end
strPlaces = strPlaces..'usleep(66666);n'
end
I haven't looked at the TNG solution, lately, but I think you can add Alternate place names in to the database, my script is simply building a new Web page for each person so, I don't think I can do that.
Chris could you try adding
strPlaces = strPlaces..'usleep(66666);n'
into the place building routine near the end of the script
eg
for i,count in pairs(tblPlaces) do
strPlaces = strPlaces..'AddAddress(''..i..'',''..i..' '..count..' Events');n'
if max < count then
max = count
mainPoint = '''..i..'',''..i..' '..count..' Events''
end
strPlaces = strPlaces..'usleep(66666);n'
end
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
I had a thought on the 'Moving Places' problem.
We could have a second plugin to maintain a cross reference so you could convert places for Google Maps. Would that help?
We could have a second plugin to maintain a cross reference so you could convert places for Google Maps. Would that help?
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Google Mapping Plugin
A cross reference would help... including an option for place to latitude/longitude perhaps? I'm thinking of cases where not only the county has changed, but the name has changed completely or the place has ceased to be shown on maps. For example, loads of my ancestors lived in Llanfair Nant Y Gof, Pembrokeshire, Wales but the nearest named place that Google recognises is Trecwn which isn't exactly the same place.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
So what we would need would be something like
location['Plumstead, Kent, England'] = {
modern = 'Plumstead, London, England',
long = 'xxxxxx',
lat = 'zzzzzz'
}
You could also have
location['Plumstead, Kent, England'] = {
modern = 'Plumstead, London, England'
}
Where Google Maps are working correctly with just the change of county.
location['Plumstead, Kent, England'] = {
modern = 'Plumstead, London, England',
long = 'xxxxxx',
lat = 'zzzzzz'
}
You could also have
location['Plumstead, Kent, England'] = {
modern = 'Plumstead, London, England'
}
Where Google Maps are working correctly with just the change of county.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Google Mapping Plugin
That would be good.
It would also be good to be able to generate map html for everyone in a named list rather than one at a time.
It would also be good to be able to generate map html for everyone in a named list rather than one at a time.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
The second one should not be too bad, as I think I have the base logic sorted. How would you like to see people on the map, different coloured icons? Also would you still want to see the events, as with a lot of people it could get quite unwieldy to show all the events for everyone.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Google Mapping Plugin
I was actually thinking of one page per person (formatted as now) rather than one page for all people...
If it was one page for a group of people, I don't think it would make sense to show all events. Different coloured markers for different people would make sense though.
If it was one page for a group of people, I don't think it would make sense to show all events. Different coloured markers for different people would make sense though.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
The multi-page option would be easy enough, It could prompt for a folder to put all the pages in. I'll think on it.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
Ok there is a new version of the Mapping Plug in here
http://www.fhug.org.uk/pushfile.php?fil ... nts.fh_lua
It now includes an option to create lots of maps and put them in a folder of your choice.
Also if you download
http://www.fhug.org.uk/pushfile.php?fil ... nce.fh_lua
You can maintain alternate place names and or Longitudes and Latitudes for your Places.
Just select the place from the drop down and enter the data.
http://www.fhug.org.uk/pushfile.php?fil ... nts.fh_lua
It now includes an option to create lots of maps and put them in a folder of your choice.
Also if you download
http://www.fhug.org.uk/pushfile.php?fil ... nce.fh_lua
You can maintain alternate place names and or Longitudes and Latitudes for your Places.
Just select the place from the drop down and enter the data.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Google Mapping Plugin
A little snag....
I have used the geo-code maintenance to map Llanfair nant Y gof, Pembrokeshire, Wales to Trecwn, Pembrokeshire, Wales. When I map the events, I get the error message LLanfair Nant Y Gof, Pembrokeshire, Wales 17 events was not found for the following reason: ZERO_RESULTS and the map displayed is centred on Sydney, Australia. If I move the focus of the map to Trecwn, there is a marker shown there for 17 events as I would expect.
I have used the geo-code maintenance to map Llanfair nant Y gof, Pembrokeshire, Wales to Trecwn, Pembrokeshire, Wales. When I map the events, I get the error message LLanfair Nant Y Gof, Pembrokeshire, Wales 17 events was not found for the following reason: ZERO_RESULTS and the map displayed is centred on Sydney, Australia. If I move the focus of the map to Trecwn, there is a marker shown there for 17 events as I would expect.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Google Mapping Plugin
Can you send me the web page as an attachment (and the Map Geo settings file ( from your Project data/Plugins folder) and I will try and work out why it's not working.
edit: Is that location the most common place on that person?
edit: Is that location the most common place on that person?
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Google Mapping Plugin
Yes, it's the most common place on the person.
I can't find anything in ProgramData/Calico Pie/Family Historian 5.0 Beta/Plugins except the plug in files themselves.
I can't find anything in ProgramData/Calico Pie/Family Historian 5.0 Beta/Plugins except the plug in files themselves.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history