Difference between revisions of "Geocode Assistant"

From TNG_Wiki
Jump to navigation Jump to search
 
(124 intermediate revisions by 29 users not shown)
Line 1: Line 1:
{{restricted}}{{Languages}}
+
{{restricted}}{{TNGmod
{{TNGmod
 
 
| mod_name        = Geocode Assist
 
| mod_name        = Geocode Assist
 
| mod_summary    = Allows geocoding locations from the person page  
 
| mod_summary    = Allows geocoding locations from the person page  
 
| mod_validation  = Latest mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
 
| mod_validation  = Latest mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
| download_link  = for {{Tv1010}} [https://www.royandboucher.com/ccount/click.php?id=210&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} geocode_assist_v10.1.0.1.zip]<hr /><span class="nowrap">for {{Tv100}}{{Tv90}}</span>[https://www.royandboucher.com/ccount/click.php?id=146&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} geocode_assist_v9.0.0.0.zip]<hr /> {{Tv80}}[[Media:geocode_assist_v8.1.2.zip|geocode_assist_v8.1.2.zip]] for<hr />{{Tv70}}[[Media:geocode_assist_v1.6.zip|geocode_assist_v1.6.zip]] for{{Tv60}}
+
| mod_last_update = 8 December 2022
| download_stats = [https://www.royandboucher.com/ccount/index.php?action=stats&id=146-210 View download stats]
+
| download_link  = For{{Tv140}}[https://www.royandboucher.com/ccount/click.php?id=688&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} geocode_assist_v14.0.0.6.zip]<hr style="clear: both;"/>For{{Tv1304}}[https://www.royandboucher.com/ccount/click.php?id=601&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} geocode_assist_v13.0.4.5.zip]<hr style="clear: both;"/>For{{Tv130}}[https://www.royandboucher.com/ccount/click.php?id=568&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} geocode_assist_v13.0.0.4.zip]<hr style="clear: both;"/>For{{Tv120}}{{Tv110}}[http://www.royandboucher.com/ccount/click.php?id=427&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} geocode_assist_v11.0.0.3.zip]<hr style="clear: both;"/>For{{Tv1010}}[http://www.royandboucher.com/ccount/click.php?id=415&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} geocode_assist_v10.1.0.2.zip]<br />excludes Don't Geocode locations<br />[https://www.royandboucher.com/ccount/click.php?id=210&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} geocode_assist_v10.1.0.1.zip]<hr style="clear: both;"/><span class="nowrap">For{{Tv100}}{{Tv90}}</span>[https://www.royandboucher.com/ccount/click.php?id=146&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} geocode_assist_v9.0.0.0.zip]<hr style="clear: both;"/>For{{Tv70}}{{Tv80}}[[Media:geocode_assist_v8.1.2.zip|geocode_assist_v8.1.2.zip]]<hr style="clear: both;"/>For{{Tv60}}<br />[[Media:geocode_assist_v1.6.zip|geocode_assist_v1.6.zip]]
| mod_author      = Brian McFadyen<br />maintainted by Ken Roy
+
| download_stats = [https://www.royandboucher.com/ccount/index.php?action=stats&id=146-210-415-427-568-601-677-688 View download stats]
 +
| mod_author      = Brian McFadyen<br />maintainted by [[User:Ken Roy|Ken Roy]]
 
| mod_url        = [[Geocode Assist Mod]] (this page)
 
| mod_url        = [[Geocode Assist Mod]] (this page)
| mod_support    = [http://tng.community/ TNG Community Forums]
+
| mod_support    = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums]
| mod_contact    =
+
| mod_contact    = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums]
| mod_version    = 10.1.0.1 for TNG 10.1 and up<br/>9.0.0.0 for TNG V9<br />8.1.2 for TNG V8
+
| mod_version    = 14.0.0.6 for TNG 14+<br />13.0.4.5 for TNG 13.0.4+<br/>13.0.0.4 for TNG 13+<br/>11.0.0.3 for TNG 11 and up<br/>10.1.0.1/2 for TNG 10.1 and up<br/>9.0.0.0 for TNG V9<br />8.1.2 for TNG V8
| use_mod_manager = Yes
 
| manual_install  = No
 
 
| min_TNG_ver    = 7.1.0
 
| min_TNG_ver    = 7.1.0
| max_TNG_ver    = 11+
+
| max_TNG_ver    = 14+
| TNG_file_list  = personlib.php<br />globe.gif<br />
+
| TNG_file_list  = globabllib.php - v11.0.0.1 and later<br />personlib.php - v10.1.0.2 and previous<br />globe.gif
 
| related_mods    =  
 
| related_mods    =  
 
| notes          = In TNG V9 through TNG 10.0.3, if you install the [[Wiki Integration]] mod along with this mod, the Wiki Integration mod must be installed before the  Geocode Assist Mod.  
 
| notes          = In TNG V9 through TNG 10.0.3, if you install the [[Wiki Integration]] mod along with this mod, the Wiki Integration mod must be installed before the  Geocode Assist Mod.  
}}
+
}}{| style="margin-right:0.5 em;" align="right"
{|align=right
+
| __TOC__
|__TOC__
 
 
|}
 
|}
 
 
==Introduction==
 
==Introduction==
  
Line 29: Line 25:
 
'''Geocoding''' is the process of coding a latitude and longitude for a location that allows the display of the location in the Google Maps section of the TNG page.  In TNG, it also includes setting the Place Level and Zoom values. The small globe icon will only be shown when you are logged in with Admin privileges and only for locations that currently do not have latitude and longitude information.
 
'''Geocoding''' is the process of coding a latitude and longitude for a location that allows the display of the location in the Google Maps section of the TNG page.  In TNG, it also includes setting the Place Level and Zoom values. The small globe icon will only be shown when you are logged in with Admin privileges and only for locations that currently do not have latitude and longitude information.
  
The geocode_assistant function is added to personlib.php to return the html that adds a geocode globe url link next to the location name if no latitude and longitude information exists.  When you click on the globe, a new window will be opened that allows you to quickly geocode this location, since the Edit Place geocode screen form has been pre-filled you only need to click the Search button.  The latitude and longitude information will be automatically added to the TNG Place record when you click the Save button.
+
The geocode_assistant function is added to personlib.php to return the HTML that adds a geocode globe URL link next to the location name if no latitude and longitude information exists.  When you click on the globe, a new window will be opened that allows you to quickly geocode this location, since the Edit Place geocode screen form has been pre-filled you only need to click the Search button.  The latitude and longitude information will be automatically added to the TNG Place record when you click the Save button.
  
 
Version 8.1.1 of the mod now '''closes''' the Edit / Update Place window when you save the geocoded location.  Note that the Edit window close is incorporated into TNG V9, so the enhancement part of the mod was dropped.
 
Version 8.1.1 of the mod now '''closes''' the Edit / Update Place window when you save the geocoded location.  Note that the Edit window close is incorporated into TNG V9, so the enhancement part of the mod was dropped.
  
 
Version 8.1.2 of the mod is XHTML compliant.
 
Version 8.1.2 of the mod is XHTML compliant.
 +
{{TNG 10.0.3|and before}}{{TNG 9.0|and after}}
 +
In TNG 9 through TNG 10.0.3, while there is not mod conflict per se.  If you install the [[Wiki Integration]] mod along with the the [[Geocode Assist Mod]], the Wiki Integration mod must be installed before the Geocode Assist Mod in order to get the globe icon to display after the Place name.  This conflict was resolved in TNG 10.1.
  
{{TNG 10.0.3|and before}}{{TNG 9.0|and after}}In TNG V9 throught TNG 10.0.3, while there is not mod conflict per se.  If you install the [[Wiki Integration]] mod along with the the [[Geocode Assist Mod]], the Wiki Integration mod must be installed before the Geocode Assist Mod in order to get the globe icon to display after the Place name.  This conflict was resolved in TNG 10.1
+
==Developer==
  
==Developer==
+
This mod was developed by [[User:Bmcfadyen|Brian McFadyen]].
  
This mod was developed by Brian McFadyen and enhanced by Ken Roy in version 8.1.1  
+
This mod is currently supported by [[User:KenRoy|Ken Roy]] who enhanced it in version 8.1.1 and again in 11.0.0.1 to add the geocode assistant to the search results page using code provided by [[User:Teresa|Teresa Goatham]].
  
 
==Requirements==
 
==Requirements==
 
+
* A working TNG installation.
* A working TNG installation. The config file release was initially tested at TNG Version  7.1.0
+
* A backup of all affected files (see the list in the summary in the upper right corner of the page)
* A backup of your TNG '''personlib.php''' file.
 
 
* An installed current version of the [[Mod Manager]].
 
* An installed current version of the [[Mod Manager]].
 +
* An updated Map Settings file that provides
 +
** a map key for the [[Google_Maps_-_Getting_Started#TNG_Map_Settings|Google Maps]] platform OR
 +
** a map key of '''OSM''' to activate the [[OpenStreetMap]] mod which also must be installed
  
 
==Revision History==
 
==Revision History==
 
+
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
{| border="1" cellspacing="5" cellpadding="2" width="70%" class="wikitable"
 
 
|-
 
|-
! Version
+
! Mod Version
 +
! TNG Version
 
! Date
 
! Date
 
! Contents
 
! Contents
|-
+
 
| V10.1.0.1
+
|- style="vertical-align:top;"
| 10 January 2015
+
| 14.0.0.6
 +
| 14.0
 +
| style="white-space: nowrap;"|8 Dec 2022
 +
| Updated to use TNG v14 after beta 1.1.2<br />Code for $thisperson['birthplace'] and $thisperson['altbirthplace'] are now both $birthplace in personlib.php
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.4.5
 +
| 13.0
 +
| style="white-space: nowrap;"|5 Jun 2021
 +
| Updated to use TNG v13.0.4 so that admin_editplace.php screen returns control to the Individual (getperson.php) page when Save+Exit or Cancel button is clicked.<br />Mod may install correctly on all TNG v13 versions/releases.<br />Requires TNG 13.0.4 change in admin_editplace.php to return control to getperson.php page
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.0.4
 +
| 13.0
 +
| 2 Nov 2020
 +
| style="white-space: nowrap;"|Updated to use TNG v13 Do Not Geocode functionality<br />Fix PHP warnings and notices for TNG v13 and later
 +
 
 +
|- style="vertical-align:top;"
 +
| 11.0.0.3
 +
| 11.0
 +
| style="white-space: nowrap;"|4 Mar 2018
 +
| Updated to add the geocode assistant to the Search results page. Code provided by [[User:Teresa|Teresa Goatham]].<br />Geocode assistant function was moved from personlib.php to globallib.php.<br />This version might in fact install and work on TNG 10.1 and above but has not been tested as such.
 +
 
 +
|- style="vertical-align:top;"
 +
| 10.1.0.2
 +
| 10.1
 +
| style="white-space: nowrap;"|16 May 2017
 +
| Updated to not display the geocode globe if the placelevel is set to "-1" (Don't geocode).<br />Now be set by the [[Admin Places Geocode]] mod
 +
 
 +
|- style="vertical-align:top;"
 +
| 10.1.0.1
 +
| 10.1
 +
| style="white-space: nowrap;"|10 Jan 2015
 
| Updated for TNG V10.1 to support MySQLi  
 
| Updated for TNG V10.1 to support MySQLi  
|-
+
 
| V9.0.0.0
+
|- style="vertical-align:top;"
| 2 February 2012
+
| 9.0.0.0
 +
| 9.0
 +
| style="white-space: nowrap;"|2 Feb 2012
 
| Updated for TNG V9
 
| Updated for TNG V9
|-
+
 
| V8.1.2
+
|- style="vertical-align:top;"
| 8 February 2011
+
| 8.1.2
 +
| 8.1
 +
| style="white-space: nowrap;"|8 Feb 2011
 
| Updated to be XHTML compliant.
 
| Updated to be XHTML compliant.
|-
+
 
| V8.1.1
+
|- style="vertical-align:top;"
| 30 October 2010
+
| 8.1.1
 +
| 8.1
 +
| style="white-space: nowrap;"|30 Oct 2010
 
| Updated to now '''close''' the Edit Place window when you save the geocoded location.
 
| Updated to now '''close''' the Edit Place window when you save the geocoded location.
|-
+
 
| V8.1.0
+
|- style="vertical-align:top;"
| May 28, 2010
+
| 8.1.0
 +
| 8.1
 +
| style="white-space: nowrap;"|28 May 2010
 
| Updated for TNG 8 and to conform to the Mod Manager Parameter Editing
 
| Updated for TNG 8 and to conform to the Mod Manager Parameter Editing
|-
+
 
| V1.6
+
|- style="vertical-align:top;"
| Dec 4, 2009  
+
| 1.6
| Updated config file documentation to point to TNG Wiki. This file is identical as that of V1.5 included in the Mod Manager zip file, but will soon be eliminated from the bundle.  
+
|  
|-
+
| style="white-space: nowrap;"|4 Dec 2009  
| V1.5
+
| Updated config file documentation to point to TNG Wiki.<br />This file is identical as that of V1.5 included in the Mod Manager zip file, but will soon be eliminated from the bundle.  
| May 18, 2009  
+
 
 +
|- style="vertical-align:top;"
 +
| 1.5
 +
|  
 +
| style="white-space: nowrap;"|18 May 2009  
 
| Initial release of config file
 
| Initial release of config file
 +
|}
  
|}
+
==Installation==
 +
# Uninstall and delete previous version of this mod (if installed)
 +
# Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
 +
# Extract the file from the downloaded zip file into the '''./mod_folder (V7)''' or '''./mods (v8 and after)''' or FTP the extracted file to your mods folder.
 +
# Follow the normal automated installation for Mod Manager, as shown in  the example [[Mod Manager - Installing Config Files]] to install the mod.
 +
 
 +
== In the event of a problem ==
 +
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
 +
* Copy the backup of the affected files back to your TNG  directory
 +
* Contact us through the [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums].
 +
 
 +
== Uninstalling the mod ==
 +
If  you want to completely '''Remove''' (uninstall) this mod and all its tables, you should
 +
# click the '''Uninstall''' button to uninstall the mod
 +
# click the '''Delete''' button to delete the config file from the mods folder.
 +
 
 +
== Upgrade ==
 +
*Uninstall and eventually Delete the current Mod.
 +
*Proceed as for an installation with the new Mod.
 +
 
 +
== Do not Geocode ==
 +
 
 +
Version v10.1.0.2 of the mod will not display the Geocode globe if the place level is to -1 (Don't Geocode) which can be set by the [[Admin Places Geocode]] mod.  If you import your data via GEDCOM, then it requires that your Places set to Don't Geocode not be deleted or replaced by the import.
 +
 
 +
As far as I know TNG only preserves the Places table entry under the following circumstances:
  
==[[Mod Manager - Installing Config Files | Automated Installation]] ==
+
* Place contains geocode (latitude/longitude) data
 +
* Places are shared or pooled with other trees
  
# Download the appropriate distribution for your TNG version from the download links in the status area in the upper right.
+
You can set the option to [[Pooling Places|pool Places]] in Admin > Setup > General Settings by expanding the Miscellaneous section and changing the '''Assign Place records to Trees''':  to NO
# Extract the geocode_assist.zip to your '''./mod_folder (V7)''' or '''./mods (v8 and after)'''. 
 
# Uninstall the previous version of the mod before installing the new version
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''geocode_assist.cfg'''.
 
  
== Side effects ==
+
Setting the option to No will then provide another screen to eliminate the treeID (gedcom column) from the places.  Make sure you click '''Save''' in General Settings after changing this option, which was designed to Pool Places for multiple trees. Changing the option to remove the tree from the Places means you are pooling places, that is sharing them with other tree, so TNG will not delete the places table or entries within it. [[Pooling Places]] can be used even though you only have one tree, to prevent the Don't Geocode information from being deleted or replaced.
  
As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented(Using the [[Mod Manager]] greatly simplifies this process).
+
The downside of this approach means that you now need to manage (delete or merge) unused placesYou can use my [[Places Subject to Deletion]] mod to help with this or the SQL Report for [[Maintenance - Pooled Places with no Events]]
 
  
 
== Visualization==
 
== Visualization==
Line 102: Line 168:
 
|[[Image:Geocode_assist_visualizaton.jpg|600px|right]]
 
|[[Image:Geocode_assist_visualizaton.jpg|600px|right]]
 
|}
 
|}
 
==In the event of a problem with your TNG site==
 
 
# Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager to Remove]] the mod
 
# Copy your backup personlib.php to your base TNG directory
 
#* all should be well now
 
 
  
 
== Sites using this mod ==
 
== Sites using this mod ==
Line 114: Line 173:
 
If you download and install this mod, please add your TNG site to the table below:
 
If you download and install this mod, please add your TNG site to the table below:
  
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
+
{| class="wikitable" cellspacing="1" cellpadding="2" border="0"
 
|-
 
|-
 
! URL
 
! URL
Line 126: Line 185:
 
| [[User:Bmcfadyen|Brian McFadyen]]
 
| [[User:Bmcfadyen|Brian McFadyen]]
 
| Mod Developer
 
| Mod Developer
|  
+
|
 
|
 
|
 
|
 
|
 
|-
 
|-
| [http://www.teige.eu my family]
+
| [https://www.treichel-familie.de Treichel-Familie.de]
| [[File:Oname.gif|link=User:ojay]]
+
| [[User:EAndy| Andreas Treichel]]
| (no public site)
+
| Public & Private
| see [[User:ojay]]
+
| 14​.0​.0​.6
| see [[User:ojay]]
+
| 14.0.3
| D,(NL),(GB)
+
| DE, UK, FR, ES, PL
 
|-
 
|-
 
| [https://www.royandboucher.com/ Our Roy and Boucher Family]
 
| [https://www.royandboucher.com/ Our Roy and Boucher Family]
 
| [[User:Ken Roy|Ken Roy]]
 
| [[User:Ken Roy|Ken Roy]]
| Added Close Window enhancement
+
| Added Close Window enhancement and support for Don't Geocode
| 10.1.0.1
+
| 14.0.0.6
| 11.1.1
+
| {{Tv1404}}
| EN, FR
+
| EN,FR
 +
|-
 +
| [https://vanseeventer.nl Fam. van Seeventer]
 +
| [[User:See7ter|Sandor van Seeventer]]
 +
| Public site
 +
| 14.0.0.6
 +
| 14.0
 +
| NL, EN, DE
 +
|-
 +
| [https://tng.stegemueller.dk Stegemüller Family History]
 +
| [[User:Stegemüller|Hanne B. Stegemüller]]
 +
| Public
 +
| 14.0.0.6
 +
| 14.0
 +
| EN, DE, DA
 +
|-
 +
| [http://genealogie.mkirsch.be/ Racines luxo-hennuyeres]
 +
| [[User:MichelKirsch|Michel KIRSCH]]
 +
|
 +
| 13.0.4.5
 +
| 13.0.3
 +
| FR,EN,NL,SP,IT
 +
 
 +
|-
 +
| [http://www.teige.eu my family]
 +
| [[User:ojay|Olaf Teige]]
 +
| Not a Public Site
 +
| [[User:ojay|See Here]]
 +
| [[User:ojay|See Here]]
 +
| D,NL,EN
 +
 
 
|-
 
|-
| [http://genealogy.ravensbeak.com/index.php Genealogy.Ravensbeak.com]
+
| [http://genealogy.ravensbeak.com/index.php Mueller Diefenbach Heritage Pages]
 
| [[User:cmhbob|Bob Mueller]]
 
| [[User:cmhbob|Bob Mueller]]
|...
+
|  
 
| 9.0.0.0
 
| 9.0.0.0
 
| 9.2.0
 
| 9.2.0
| EN, DE
+
| EN,DE
 
|-
 
|-
 
| [http://www.appelthaus.com/ AppeltHaus Genealogy]
 
| [http://www.appelthaus.com/ AppeltHaus Genealogy]
Line 158: Line 247:
 
| EN
 
| EN
 
|-
 
|-
| [http://www.arsenaultfamily.com; Arsenault and Simpson families]
+
| [http://www.arsenaultfamily.com Arsenault and Simpson families]
 
| [[User:BobA|Bob Arsenault]]
 
| [[User:BobA|Bob Arsenault]]
 
| Not a Public Site
 
| Not a Public Site
| V9.0.0.0
+
| 9.0.0.0
| V9.0.3
+
| 9.0.3
 
| EN
 
| EN
 
|-
 
|-
| [http://www.kempfamilyhistory.com Kemp(e) Family History]
+
| [http://www.kempfamilyhistory.com Kemp(e) Family History]
 
| [[User:Kempons|Andrew Kemp]]
 
| [[User:Kempons|Andrew Kemp]]
|  
+
|
| see [[User:Kempons]]
+
| [[User:Kempons|See Here]]
| see [[User:Kempons]]
+
| [[User:Kempons|See Here]]
 
| EN
 
| EN
|-
 
 
| [https://genealogywings.com/ MOTYER Family Genealogy]
 
| [[User:JMM|John Mark Motyer]]
 
| Public site
 
| [[User:JMM|see here]]
 
| [[User:JMM|see here]]
 
| EN, DE, RU
 
 
|-
 
|-
 
| [http://legacygazette.com Legacy Gazette: My Roots - My Legacy]
 
| [http://legacygazette.com Legacy Gazette: My Roots - My Legacy]
Line 184: Line 265:
 
| Public Site
 
| Public Site
 
| 9.0.0.0
 
| 9.0.0.0
| TNG 9.2.1
+
| 9.2.1
 
| EN
 
| EN
 
|-
 
|-
 
| [http://genealogy.oceanwharf.com Hooley Family Links]
 
| [http://genealogy.oceanwharf.com Hooley Family Links]
 
| [[User:lastejas|Rick Hooley]]
 
| [[User:lastejas|Rick Hooley]]
| Public Site
+
| Public/Private
| 10.1.0.1
+
| [[User: lastejas|See Here]]
| 10.1.1
+
| [[User: lastejas|See Here]]
 
| EN
 
| EN
 
|-
 
|-
| [http://www.wortelboer.tk Wortelboer Genealogy]  
+
| [http://www.wortelboer.tk Wortelboer Genealogy]
 
| [[User:Bernard57|Bernard Wortelboer]]
 
| [[User:Bernard57|Bernard Wortelboer]]
 
| Public site
 
| Public site
 
| 10.1.0.1
 
| 10.1.0.1
 
| 11.0.0
 
| 11.0.0
| NL, EN
+
| NL,EN
 
|-
 
|-
 
| [http://mossfamilytree.info Moss Family Tree]
 
| [http://mossfamilytree.info Moss Family Tree]
 
| [[User:Chris Moss|Chris Moss]]
 
| [[User:Chris Moss|Chris Moss]]
|  
+
|
 
| 9.0.0.0
 
| 9.0.0.0
 
| 10.0.3
 
| 10.0.3
 
| EN
 
| EN
 
|-
 
|-
| [http://www.duttongenealogy.com The Dutton's of Vermont]
+
| [http://www.duttongenealogy.com The Duttons of New England]
 
| [[User:Darrin65|Darrin Dutton]]
 
| [[User:Darrin65|Darrin Dutton]]
| Public Site
+
| Public/Private Site
| 10.1.0.1
+
| 14.0.0.6
| 11.0.1
+
| 14.0.1
 
| EN
 
| EN
 
|-
 
|-
 
| [https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia]
 
| [https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia]
 
| [[User:bradyfamilytree|Darryl Brady]]
 
| [[User:bradyfamilytree|Darryl Brady]]
| Public site  
+
| Public site
 
| 10.1.0.1
 
| 10.1.0.1
 
| 10.1.1
 
| 10.1.1
| EN, DE
+
| EN,DE
|-
 
 
|-
 
|-
| [http://www.bastiaanssen.us/tng Bastiaans(s)en Genealogy]  
+
| [http://bastiaanssen.us Bastiaanssen Genealogy]
| [[User:janbastiaanssen|Jan Bastiaanssen]]
+
| Jan Bastiaanssen
| Public site
+
| Public / Private
| 10.1.0.1
+
| 13.0.4.5
| 10.1.2
+
| 13.1.2
 
| EN, NL, ES
 
| EN, NL, ES
 
|-
 
|-
Line 233: Line 313:
 
| [[User:Rgstrong|Russell G. Strong]]
 
| [[User:Rgstrong|Russell G. Strong]]
 
| Public Site
 
| Public Site
| 10.1.0.1
+
| 14.0.0.6
| 11.0.1
+
| 14.0.4
| EN, FR, DE, NL
+
| EN,FR,DE,NL
 
|-
 
|-
| [https://barrettnas2.synology.me/wordpress// Our Family History]
+
| [https://ourfamilyhistory.club Our Family History]
 
| [[User:Paul Barrett|Paul Barrett]]
 
| [[User:Paul Barrett|Paul Barrett]]
| Public Site
+
| Public except for living
 
| 10.1.0.1
 
| 10.1.0.1
 
| 11.1
 
| 11.1
Line 246: Line 326:
 
| [http://leverette-family-history.us Leverette Family History]
 
| [http://leverette-family-history.us Leverette Family History]
 
| [[User:Jefflev3893|Jeff Leverette]]
 
| [[User:Jefflev3893|Jeff Leverette]]
|  
+
|
 
| 10.1.0.1
 
| 10.1.0.1
 
| 10.1.3
 
| 10.1.3
Line 256: Line 336:
 
| 10.1.0.1
 
| 10.1.0.1
 
| 11.1.0
 
| 11.1.0
| English
+
| EN
 
|-
 
|-
 
| [http://www.maesen-beusen.be/ Maesen-Beusen]
 
| [http://www.maesen-beusen.be/ Maesen-Beusen]
Line 263: Line 343:
 
| 9.0.0.1
 
| 9.0.0.1
 
| 9.2.2
 
| 9.2.2
| Dutch
+
| DU
 
|-
 
|-
 
| [https://www.kmtrees.com Roots & Relatives Remembered]
 
| [https://www.kmtrees.com Roots & Relatives Remembered]
 
| [[User:Tngrlkrz|Ron Krzmarzick]]
 
| [[User:Tngrlkrz|Ron Krzmarzick]]
|  
+
| Public & Private
| 10.1.0.1
+
| [https://www.kmtrees.com/mods-installed See Here]
| 11.1.0
+
| [https://www.kmtrees.com/mods-installed See Here]
| English, German, Spanish
+
| EN,DE,CS
 
|-
 
|-
 
| [http://tng.oberhof24.de/ unserer Familien-Genealogie]
 
| [http://tng.oberhof24.de/ unserer Familien-Genealogie]
Line 277: Line 357:
 
| 10.1.0.1
 
| 10.1.0.1
 
| 11.1.0
 
| 11.1.0
| German, English
+
| GE,EN
 
|-
 
|-
 
| [https://www.larleegenealogy.org The Larlee Genealogy]
 
| [https://www.larleegenealogy.org The Larlee Genealogy]
 
| [[User:HeatherFeuer|Heather Feuerhelm]]
 
| [[User:HeatherFeuer|Heather Feuerhelm]]
|  
+
|
 
| 10.1.0.1
 
| 10.1.0.1
 
| 11.1.0
 
| 11.1.0
| English
+
| EN
 
|-
 
|-
 
| [http://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages]
 
| [http://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages]
 
| [[User:Stores|Jim Holt]]
 
| [[User:Stores|Jim Holt]]
|  
+
| Not a Public Site
| 10.1.0.1
+
| 10.1.0.2
 +
| 11.1.1
 +
| EN
 +
|-
 +
| [http://kjoellesdal.com OurRoots&amp;Relatives - genealogy pages of Anne Hegland and Kåre Kjøllesdal]
 +
| [[User:Kare|Kåre Kjøllesdal]]
 +
| Not a Public Site
 +
| 10.1.0.2
 +
| 11.1.0
 +
| EN
 +
|-
 +
| [http://www.rodriguezuribe.co Rodriguez Lopez y Uribe Senior pagina de Genealogia]
 +
| [[User:Camiloro|Camilo Rodriguez Uribe]]
 +
| Not a Public Site
 +
| 10.1.0.2
 +
| 11.1.0
 +
| EN,SP
 +
|-
 +
| [http://kystslekt.no Hans and Hennes Families]
 +
| [[User:Roakdah|Roar Dahle]]
 +
| Not a Public Site
 +
| 10.1.0.2
 +
| 11.1.0
 +
| NO
 +
|-
 +
| [http://vanheerden.net Genealogy of the van Heerden Family]
 +
| [[User:Emile|Emile van Heerden]]
 +
|
 +
| 10.1.0.2
 
| 11.1.0
 
| 11.1.0
| English
+
| EN
 +
|-
 +
| [http://www.mullfamilies.co.uk Mull Families]
 +
| [[User:Manofmull|Michael Ford]]
 +
| Not a Public Site
 +
| 10.1.0.2
 +
| 11.0.2
 +
| EN
 +
|-
 +
| [http://total-family-history.com/tng11/ Total Family History]
 +
| [[User:Fallonman|Scott Bennett]]
 +
| Not a public site
 +
| 10.1.0.2
 +
| 11.1.1
 +
| EN
 +
|-
 +
| [http://tng.oberhof24.de/ unserer Familien-Genealogie]
 +
| [[User:Anke|Angelika Oberhof]]
 +
| Not a public site
 +
| 10.1.0.2
 +
| 11.1.1
 +
| GE,EN
 +
|-
 +
| [http://www.ourfamilyhistories.org Our Family Histories]
 +
| [[User:Bsl20b50|Bryan S. Larson]]
 +
| Not a public site
 +
| 10.1.0.2
 +
| 11.1.1
 +
| EN
 +
|-
 +
| [http://www.duttongenealogy.com The Dutton's of Vermont Genealogy & History]
 +
| [[User:darrin65|Darrin Dutton]]
 +
| Public Site
 +
| 10.1.0.2
 +
| 11.1.1
 +
| EN
 +
|-
 +
| [http://justalittleleaf.co.uk Genealogy of the Weir and Drain Families]
 +
| [[User:BeverleyStimpson|Beverley Stimpson]]
 +
| Public Site
 +
| 10.1.0.2
 +
| 11.1.2
 +
| EN
 +
|-
 +
| [http://bumbery.com/ Bumbery-Wangler]
 +
| [[User:Bob|Bob Bumbery]]
 +
| Public Site
 +
| 10.1.0.2
 +
| 11.1.2
 +
| EN
 +
|-
 +
| [https://finnholbek.dk/ Skeel, Schaffalitzky og Ahlefeldt]
 +
| [[User:Fholbek|Finn Holbek]]
 +
| Public Site
 +
| 11.0.0.3
 +
| 12.1.0.0
 +
| DA,DE,EN
 +
|-
 +
| [https://ourfamilytreesearch.com/ Our Family Tree Search]
 +
| [[User:JessSenk|Jessica Senkyr-Robinette]]
 +
| Not a public site
 +
| 11.0.0.3
 +
| 12.0.2
 +
| EN
 +
|-
 +
| [https://WokingFamily.com/ Woking Family Tree Project]
 +
| [[User:TBirdUK|Pete Smee]]
 +
| Public/Private
 +
| 11.0.0.3
 +
| 12.1
 +
| EN
 +
|-
 +
| [https://scabell.de/ Familienforschung Scabell]
 +
| [[User:Helgaskally|Helga Scabell]]
 +
| Public/Private
 +
| 11.0.0.3
 +
| 13.0.1
 +
| DE
 +
|-
 +
| [https://www.severijns.family/Severijns The Severijns / Timmer Familytree]
 +
| Rob Severijns
 +
| Public / Private
 +
| 14.0.0.6
 +
| 14.0.4
 +
| NL, EN
 +
|-
 +
| [http://LookingBackwards.net/tng/ LookingBackwards - All Our Relations]
 +
| [[User:Ash.Mitchell| Ashleigh Mitchell]]
 +
| Public
 +
| 13.0.4.5
 +
| 13.0.3
 +
| EN
 +
|-
 +
|OldDeadRelatives.com
 +
|CaptKate
 +
|Public
 +
|13.0.4.5
 +
|13.0.3
 +
|EN
 +
|-
 +
| [https://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages]
 +
| [[User:Stores|Jim Holt]]
 +
| Private
 +
| [[User:Stores|See Here]]
 +
| [[User:Stores|See Here]]
 +
| EN
 +
|-
 +
|[https://cnl-gla.ca/nos-ancetres/lapierreamerique/ Les Lapierre d'Amérique]
 +
| [[User:NLapierre|Normand Lapierre]]
 +
| Public/Private site
 +
| 14.0.0.6
 +
| 14.0
 +
| FR, EN
 +
|-
 +
|[https://kielakowie.com Kielakowie.com]
 +
|[[User:Janusz Kielak|Janusz Kielak]]
 +
|Public site
 +
|14.0.0.6
 +
|14.0.1
 +
|PL, EN, DE
 +
|-
 +
|[https://slekt.solem.info Solem Genealogy]
 +
|[[User:JTS|Jan-Thore Solem]]
 +
|Private
 +
|14​.0​.0​.6
 +
|14.0.2
 +
|EN, NO
 
|-
 
|-
| ...
 
| ...
 
| ...
 
| ...
 
| ...
 
| ...
 
 
|}
 
|}
 +
 +
[[Category:Mods for TNG v14]]
 +
[[Category:Mods for TNG v13]]
 +
[[Category:Mods for TNG v12]]
 
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v10]]

Latest revision as of 22:19, 4 March 2024

Restricted Downloads of Geocode Assistant are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox


Caution


Geocode Assist
Summary Allows geocoding locations from the person page
Validation Latest mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 8 December 2022
Download link For
TNG 14.0
geocode_assist_v14.0.0.6.zip
For
TNG 13.0.4
geocode_assist_v13.0.4.5.zip
For
TNG 13.0
geocode_assist_v13.0.0.4.zip
For
TNG 12.0
TNG 11.0
geocode_assist_v11.0.0.3.zip
For
TNG 10.1.0
geocode_assist_v10.1.0.2.zip
excludes Don't Geocode locations
geocode_assist_v10.1.0.1.zip
For
TNG 10.0
TNG 9.0
geocode_assist_v9.0.0.0.zip
For
TNG 7.0
TNG 8.0
geocode_assist_v8.1.2.zip
For
TNG 6.0

geocode_assist_v1.6.zip
Download stats View download stats
Author(s) Brian McFadyen
maintainted by Ken Roy
Homepage Geocode Assist Mod (this page)
Mod Support TNG Community Forums
Contact Developer TNG Community Forums
Latest Mod 14.0.0.6 for TNG 14+
13.0.4.5 for TNG 13.0.4+
13.0.0.4 for TNG 13+
11.0.0.3 for TNG 11 and up
10.1.0.1/2 for TNG 10.1 and up
9.0.0.0 for TNG V9
8.1.2 for TNG V8
Min TNG V 7.1.0
Max TNG V 14+
Files modified
globabllib.php - v11.0.0.1 and later
personlib.php - v10.1.0.2 and previous
globe.gif
Related Mods
Notes
In TNG V9 through TNG 10.0.3, if you install the Wiki Integration mod along with this mod, the Wiki Integration mod must be installed before the Geocode Assist Mod.

Introduction

This mod provides an easy way to geocode locations. A small globe icon is added on the person page to the location that has not yet been geocoded. You must have Admin privileges to use this mod.

Geocoding is the process of coding a latitude and longitude for a location that allows the display of the location in the Google Maps section of the TNG page. In TNG, it also includes setting the Place Level and Zoom values. The small globe icon will only be shown when you are logged in with Admin privileges and only for locations that currently do not have latitude and longitude information.

The geocode_assistant function is added to personlib.php to return the HTML that adds a geocode globe URL link next to the location name if no latitude and longitude information exists. When you click on the globe, a new window will be opened that allows you to quickly geocode this location, since the Edit Place geocode screen form has been pre-filled you only need to click the Search button. The latitude and longitude information will be automatically added to the TNG Place record when you click the Save button.

Version 8.1.1 of the mod now closes the Edit / Update Place window when you save the geocoded location. Note that the Edit window close is incorporated into TNG V9, so the enhancement part of the mod was dropped.

Version 8.1.2 of the mod is XHTML compliant.

TNG version: 10.0.3
TNG version: 9.0

In TNG 9 through TNG 10.0.3, while there is not mod conflict per se. If you install the Wiki Integration mod along with the the Geocode Assist Mod, the Wiki Integration mod must be installed before the Geocode Assist Mod in order to get the globe icon to display after the Place name. This conflict was resolved in TNG 10.1.

Developer

This mod was developed by Brian McFadyen.

This mod is currently supported by Ken Roy who enhanced it in version 8.1.1 and again in 11.0.0.1 to add the geocode assistant to the search results page using code provided by Teresa Goatham.

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary in the upper right corner of the page)
  • An installed current version of the Mod Manager.
  • An updated Map Settings file that provides
    • a map key for the Google Maps platform OR
    • a map key of OSM to activate the OpenStreetMap mod which also must be installed

Revision History

Mod Version TNG Version Date Contents
14.0.0.6 14.0 8 Dec 2022 Updated to use TNG v14 after beta 1.1.2
Code for $thisperson['birthplace'] and $thisperson['altbirthplace'] are now both $birthplace in personlib.php
13.0.4.5 13.0 5 Jun 2021 Updated to use TNG v13.0.4 so that admin_editplace.php screen returns control to the Individual (getperson.php) page when Save+Exit or Cancel button is clicked.
Mod may install correctly on all TNG v13 versions/releases.
Requires TNG 13.0.4 change in admin_editplace.php to return control to getperson.php page
13.0.0.4 13.0 2 Nov 2020 Updated to use TNG v13 Do Not Geocode functionality
Fix PHP warnings and notices for TNG v13 and later
11.0.0.3 11.0 4 Mar 2018 Updated to add the geocode assistant to the Search results page. Code provided by Teresa Goatham.
Geocode assistant function was moved from personlib.php to globallib.php.
This version might in fact install and work on TNG 10.1 and above but has not been tested as such.
10.1.0.2 10.1 16 May 2017 Updated to not display the geocode globe if the placelevel is set to "-1" (Don't geocode).
Now be set by the Admin Places Geocode mod
10.1.0.1 10.1 10 Jan 2015 Updated for TNG V10.1 to support MySQLi
9.0.0.0 9.0 2 Feb 2012 Updated for TNG V9
8.1.2 8.1 8 Feb 2011 Updated to be XHTML compliant.
8.1.1 8.1 30 Oct 2010 Updated to now close the Edit Place window when you save the geocoded location.
8.1.0 8.1 28 May 2010 Updated for TNG 8 and to conform to the Mod Manager Parameter Editing
1.6 4 Dec 2009 Updated config file documentation to point to TNG Wiki.
This file is identical as that of V1.5 included in the Mod Manager zip file, but will soon be eliminated from the bundle.
1.5 18 May 2009 Initial release of config file

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the ./mod_folder (V7) or ./mods (v8 and after) or FTP the extracted file to your mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.

In the event of a problem

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Uninstall button to uninstall the mod
  2. click the Delete button to delete the config file from the mods folder.

Upgrade

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

Do not Geocode

Version v10.1.0.2 of the mod will not display the Geocode globe if the place level is to -1 (Don't Geocode) which can be set by the Admin Places Geocode mod. If you import your data via GEDCOM, then it requires that your Places set to Don't Geocode not be deleted or replaced by the import.

As far as I know TNG only preserves the Places table entry under the following circumstances:

  • Place contains geocode (latitude/longitude) data
  • Places are shared or pooled with other trees

You can set the option to pool Places in Admin > Setup > General Settings by expanding the Miscellaneous section and changing the Assign Place records to Trees: to NO

Setting the option to No will then provide another screen to eliminate the treeID (gedcom column) from the places. Make sure you click Save in General Settings after changing this option, which was designed to Pool Places for multiple trees. Changing the option to remove the tree from the Places means you are pooling places, that is sharing them with other tree, so TNG will not delete the places table or entries within it. Pooling Places can be used even though you only have one tree, to prevent the Don't Geocode information from being deleted or replaced.

The downside of this approach means that you now need to manage (delete or merge) unused places. You can use my Places Subject to Deletion mod to help with this or the SQL Report for Maintenance - Pooled Places with no Events

Visualization

The image on the right shows a visualization of the Geocode Assist Mod on the Individual page. The globe that you can click on to launch the Admin edit place screen is only shown if you have Admin privilege.
Geocode assist visualizaton.jpg

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
McFadyen - Parker History Brian McFadyen Mod Developer
Treichel-Familie.de Andreas Treichel Public & Private 14​.0​.0​.6 14.0.3 DE, UK, FR, ES, PL
Our Roy and Boucher Family Ken Roy Added Close Window enhancement and support for Don't Geocode 14.0.0.6
TNG 14.0.4
EN,FR
Fam. van Seeventer Sandor van Seeventer Public site 14.0.0.6 14.0 NL, EN, DE
Stegemüller Family History Hanne B. Stegemüller Public 14.0.0.6 14.0 EN, DE, DA
Racines luxo-hennuyeres Michel KIRSCH 13.0.4.5 13.0.3 FR,EN,NL,SP,IT
my family Olaf Teige Not a Public Site See Here See Here D,NL,EN
Mueller Diefenbach Heritage Pages Bob Mueller 9.0.0.0 9.2.0 EN,DE
AppeltHaus Genealogy Lawrence Appelt Not a Public Site. 10.1.0.1 10.1.0 EN
Arsenault and Simpson families Bob Arsenault Not a Public Site 9.0.0.0 9.0.3 EN
Kemp(e) Family History Andrew Kemp See Here See Here EN
Legacy Gazette: My Roots - My Legacy Melissa Watson Padilla Public Site 9.0.0.0 9.2.1 EN
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Wortelboer Genealogy Bernard Wortelboer Public site 10.1.0.1 11.0.0 NL,EN
Moss Family Tree Chris Moss 9.0.0.0 10.0.3 EN
The Duttons of New England Darrin Dutton Public/Private Site 14.0.0.6 14.0.1 EN
Brady Family Tree in Western Australia Darryl Brady Public site 10.1.0.1 10.1.1 EN,DE
Bastiaanssen Genealogy Jan Bastiaanssen Public / Private 13.0.4.5 13.1.2 EN, NL, ES
R G Strong Family Genealogy Russell G. Strong Public Site 14.0.0.6 14.0.4 EN,FR,DE,NL
Our Family History Paul Barrett Public except for living 10.1.0.1 11.1 EN
Leverette Family History Jeff Leverette 10.1.0.1 10.1.3 EN
OurLife Family History - McMullen Clan Sean Thompson Not a public site 10.1.0.1 11.1.0 EN
Maesen-Beusen Pierre Maesen Not a public site 9.0.0.1 9.2.2 DU
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS
unserer Familien-Genealogie Angelika Oberhof Not a public site 10.1.0.1 11.1.0 GE,EN
The Larlee Genealogy Heather Feuerhelm 10.1.0.1 11.1.0 EN
Joseph Oran Holtz Genealogy Pages Jim Holt Not a Public Site 10.1.0.2 11.1.1 EN
OurRoots&Relatives - genealogy pages of Anne Hegland and Kåre Kjøllesdal Kåre Kjøllesdal Not a Public Site 10.1.0.2 11.1.0 EN
Rodriguez Lopez y Uribe Senior pagina de Genealogia Camilo Rodriguez Uribe Not a Public Site 10.1.0.2 11.1.0 EN,SP
Hans and Hennes Families Roar Dahle Not a Public Site 10.1.0.2 11.1.0 NO
Genealogy of the van Heerden Family Emile van Heerden 10.1.0.2 11.1.0 EN
Mull Families Michael Ford Not a Public Site 10.1.0.2 11.0.2 EN
Total Family History Scott Bennett Not a public site 10.1.0.2 11.1.1 EN
unserer Familien-Genealogie Angelika Oberhof Not a public site 10.1.0.2 11.1.1 GE,EN
Our Family Histories Bryan S. Larson Not a public site 10.1.0.2 11.1.1 EN
The Dutton's of Vermont Genealogy & History Darrin Dutton Public Site 10.1.0.2 11.1.1 EN
Genealogy of the Weir and Drain Families Beverley Stimpson Public Site 10.1.0.2 11.1.2 EN
Bumbery-Wangler Bob Bumbery Public Site 10.1.0.2 11.1.2 EN
Skeel, Schaffalitzky og Ahlefeldt Finn Holbek Public Site 11.0.0.3 12.1.0.0 DA,DE,EN
Our Family Tree Search Jessica Senkyr-Robinette Not a public site 11.0.0.3 12.0.2 EN
Woking Family Tree Project Pete Smee Public/Private 11.0.0.3 12.1 EN
Familienforschung Scabell Helga Scabell Public/Private 11.0.0.3 13.0.1 DE
The Severijns / Timmer Familytree Rob Severijns Public / Private 14.0.0.6 14.0.4 NL, EN
LookingBackwards - All Our Relations Ashleigh Mitchell Public 13.0.4.5 13.0.3 EN
OldDeadRelatives.com CaptKate Public 13.0.4.5 13.0.3 EN
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN
Les Lapierre d'Amérique Normand Lapierre Public/Private site 14.0.0.6 14.0 FR, EN
Kielakowie.com Janusz Kielak Public site 14.0.0.6 14.0.1 PL, EN, DE
Solem Genealogy Jan-Thore Solem Private 14​.0​.0​.6 14.0.2 EN, NO