Difference between revisions of "Admin Places Geocode"
Robinrichm (talk | contribs) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{TNGmod | {{TNGmod | ||
| mod_name = Admin Places Geocode | | mod_name = Admin Places Geocode | ||
| mod_summary = Creates a new Placelevel of -1 for "Don't Geocode." Establishes the number of desired decimal digits in Geocodes and rounds all Geocodes calculated from maps. Provides a filter to limit the Geocoding to selected Mediatypes and to ignore certain problematic placename components. | | mod_summary = Creates a new Placelevel of -1 for "Don't Geocode." Establishes the number of desired decimal digits in Geocodes and rounds all Geocodes calculated from maps. Provides a filter to limit the Geocoding to selected Mediatypes and to ignore certain problematic placename components. | ||
| mod_validation = | | mod_validation = | ||
− | | mod_last_update = | + | | mod_last_update = 30 Sep 2019 |
− | | download_link = [[Media:admin_places_geocode_v12.0.0. | + | | download_link = [[Media:admin_places_geocode_v12.0.0.4.zip|v12.0.0.4.zip]]{{Tv120}} |
− | |||
| download_stats = | | download_stats = | ||
| mod_author = [[User:Robinrichm|Robin Richmond]] | | mod_author = [[User:Robinrichm|Robin Richmond]] | ||
Line 12: | Line 10: | ||
| mod_contact = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | | mod_contact = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | ||
| mod_support = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums] | | mod_support = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums] | ||
− | | mod_version = v12.0.0. | + | | mod_version = v12.0.0.8 |
− | | min_TNG_ver = | + | | min_TNG_ver = 10.1 |
− | | max_TNG_ver = | + | | max_TNG_ver = 12.2 |
− | | TNG_file_list = admin_geocodeform.php, admin_geocode.php, admin_editplace.php, googlemaplib2.php, places_help.php, cust_text.php English | + | | TNG_file_list = admin_geocodeform.php, admin_geocode.php, admin_editplace.php, googlemaplib2.php, places_help.php, cust_text.php English, admin_genconfig.php, admin_updateconfig.php |
+ | <br>Installs shared files: rrinnermodmenu1_include.php, rrmodoptions1.php, img/rrmodadmin_wikilogo.png | ||
| related_mods = [[Admin Places Search]] | | related_mods = [[Admin Places Search]] | ||
| notes = | | notes = | ||
}} | }} | ||
== Purpose of the Mod == | == Purpose of the Mod == | ||
+ | {| style="margin-right:0.5 em;" align="right" | ||
+ | | __TOC__ | ||
+ | |} | ||
<ol><li>Creates a new Placelevel of -1 for "Don't Geocode"</li> | <ol><li>Creates a new Placelevel of -1 for "Don't Geocode"</li> | ||
<li>Defines a TNG system parameter that establishes the number of desired decimal digits in Geocodes and rounds all Geocodes calculated from maps,</li> | <li>Defines a TNG system parameter that establishes the number of desired decimal digits in Geocodes and rounds all Geocodes calculated from maps,</li> | ||
Line 31: | Line 33: | ||
<li>a new "Round" button that rounds existing geocodes to six decimal places. | <li>a new "Round" button that rounds existing geocodes to six decimal places. | ||
</ol> | </ol> | ||
− | + | ||
− | |||
− | |||
== Side Effects == | == Side Effects == | ||
Line 50: | Line 50: | ||
== Installation == | == Installation == | ||
− | This mod uses the standard installation procedure. {{RobinInstallationBoilerplate}} | + | This mod uses the standard installation procedure, though it should be noted that this mod contains two mod subfolders that are shared with other mods that implement ''[https://tng.lythgoes.net/wiki/index.php?title=Mod_Settings_Blocks Mod Settings Blocks]''' Admin>>Setup forms, and '''[https://tng.lythgoes.net/wiki/index.php?title=Inner_Mod_Menus Inner_Mod_Menus]'''. Because of the shared subfolders, as you unzip or copy the mod, you might get a warning noting that a folder already exists. You can just ignore that warning.<br>{{RobinInstallationBoilerplate}} |
+ | |||
== Visualizations == | == Visualizations == | ||
Line 86: | Line 87: | ||
{| border="0" cellspacing="1" cellpadding="2" class="wikitable" | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
! Mod Version !! TNG Version !! Date !! Note | ! Mod Version !! TNG Version !! Date !! Note | ||
− | |- style="vertical-align:top;" | + | |- style="vertical-align:top;" <!-- ############################################################## --> |
+ | | [[Media:admin_places_geocode_v12.0.0.4.zip|12.0.0.4]] | ||
+ | | 12.0 - 12.2+ | ||
+ | | 30 Sep 2019 | ||
+ | | The Mod option at Admin>>Setup>>General Settings>Miscellaneous now use an include file that is shared with other mods. | ||
+ | |- style="vertical-align:top;" <!-- ############################################################## --> | ||
| [[Media:admin_places_geocode_v12.0.0.3a.zip|12.0.0.3a]] | | [[Media:admin_places_geocode_v12.0.0.3a.zip|12.0.0.3a]] | ||
| 12.0+ | | 12.0+ | ||
| 14Nov2018 | | 14Nov2018 | ||
| Small improvements: Better error checking; deals with trailing spaces, displays the placename before trying to geocode it so that the log will more clearly show where the process crashed. | | Small improvements: Better error checking; deals with trailing spaces, displays the placename before trying to geocode it so that the log will more clearly show where the process crashed. | ||
− | |- style="vertical-align:top;" | + | |- style="vertical-align:top;" <!-- ############################################################## --> |
| [[Media:admin_places_geocode_v12.0.0.3.zip|12.0.0.3]] | | [[Media:admin_places_geocode_v12.0.0.3.zip|12.0.0.3]] | ||
| 12.0+ | | 12.0+ | ||
| 4May2018 | | 4May2018 | ||
| No functional changes; made compatible with TNGv12. | | No functional changes; made compatible with TNGv12. | ||
− | |- style="vertical-align:top;" | + | |- style="vertical-align:top;" <!-- ############################################################## --> |
| [[Media:admin_places_geocode_v12.0.0.3.zip|12.0.0.3]] | | [[Media:admin_places_geocode_v12.0.0.3.zip|12.0.0.3]] | ||
| 12.0+ | | 12.0+ | ||
| 4May2018 | | 4May2018 | ||
| No functional changes; made compatible with TNGv12. | | No functional changes; made compatible with TNGv12. | ||
− | |- style="vertical-align:top;" | + | |- style="vertical-align:top;" <!-- ############################################################## --> |
| [[Media:admin_places_geocode_v10.1.0.3.zip|10.1.0.3]] | | [[Media:admin_places_geocode_v10.1.0.3.zip|10.1.0.3]] | ||
| 10.1 | | 10.1 | ||
| 10Nov2017 | | 10Nov2017 | ||
| Defines a TNG system parameter that establishes the number of desired decimal digits in Geocodes and rounds all Geocodes calculated from maps. Provides new filters can ignore certain problematic placename components. | | Defines a TNG system parameter that establishes the number of desired decimal digits in Geocodes and rounds all Geocodes calculated from maps. Provides new filters can ignore certain problematic placename components. | ||
− | |- style="vertical-align:top;" | + | |- style="vertical-align:top;" <!-- ############################################################## --> |
| 10.1.0.1 | | 10.1.0.1 | ||
| 10.1 | | 10.1 | ||
Line 152: | Line 158: | ||
| [[User:Dlcole|see here]] | | [[User:Dlcole|see here]] | ||
| English | | English | ||
+ | |- | ||
+ | | [https://finnholbek.dk/index.php/ Skeel, Schaffalitzky. Find navne i Danmarks Adels Aarbog] | ||
+ | | [[User:Fholbek|Finn Holbek]] | ||
+ | | public & private | ||
+ | | 12.1 | ||
+ | | DA,EN,DE,CS,ES - etc. | ||
+ | | Danish | ||
+ | |- | ||
+ | | [https://www.ourfamilyhistories.org Our Family Histories] | ||
+ | | [[User:Bsl20b50|Bryan S. Larson]] | ||
+ | | Public - T8 customized | ||
+ | | [[User:Bsl20b50|see here]] | ||
+ | | [[User:Bsl20b50|see here]] | ||
+ | | EN | ||
|} | |} | ||
− | |||
[[Category:Mods for TNG v10]] | [[Category:Mods for TNG v10]] | ||
[[Category:Mods for TNG v11]] | [[Category:Mods for TNG v11]] | ||
Line 162: | Line 181: | ||
[[Category:googlemaplib2.php mods]] | [[Category:googlemaplib2.php mods]] | ||
[[Category:places_help.php mods]] | [[Category:places_help.php mods]] | ||
+ | [[Category:admin_genconfig.php mods]] | ||
+ | [[Category:admin_updateconfig.php mods]] |
Revision as of 22:06, 10 December 2019
Admin Places Geocode | ||
---|---|---|
Summary | Creates a new Placelevel of -1 for "Don't Geocode." Establishes the number of desired decimal digits in Geocodes and rounds all Geocodes calculated from maps. Provides a filter to limit the Geocoding to selected Mediatypes and to ignore certain problematic placename components. | |
Validation | ||
Mod Updated | 30 Sep 2019 | |
Download link | v12.0.0.4.zip
| |
Download stats | ||
Author(s) | Robin Richmond | |
Homepage | Robin Richmond's Genealogy Database | |
Mod Support | My Mod Support form or TNG Community Forums | |
Contact Developer | My Mod Support form | |
Latest Mod | v12.0.0.8 | |
Min TNG V | 10.1 | |
Max TNG V | 12.2 | |
Files modified | admin_geocodeform.php, admin_geocode.php, admin_editplace.php, googlemaplib2.php, places_help.php, cust_text.php English, admin_genconfig.php, admin_updateconfig.php
Installs shared files: rrinnermodmenu1_include.php, rrmodoptions1.php, img/rrmodadmin_wikilogo.png | |
Related Mods | ||
Notes |
Purpose of the Mod
- Creates a new Placelevel of -1 for "Don't Geocode"
- Defines a TNG system parameter that establishes the number of desired decimal digits in Geocodes and rounds all Geocodes calculated from maps,
- In the Admin>>Places>>Geocode 'batch' Geoding program:
- You can limit the Geocoding to selected Mediatypes,
- Geocoding results are displayed right on the Geocode form, and
- New filters can ignore certain problematic placename components.
- In Admin>>Places>>Search Geocodes are rounded automatically for display.
- a new "Round" button that rounds existing geocodes to six decimal places.
Side Effects
In the distributed TNG code, admin_geocodeform.php displays the kickoff form, which invokes admin_geocode.php to do the geocoding. After admin_geocode.php displays the results, it displays a link back to the kickoff form in admin_geocodeform.php. This mod moves the PHP code that does geocoding into admin_geocodeform.php so that the results can be displayed on the same web page as another kickoff form. With this change, admin_geocode.php is no longer used at all.
Compatibility
This mod is compatible with Places Subject to Deletion, Tree ID Mod, Admin Places Search, TreeID-One Column, Placename Format, Google Maps - More Place Levels Mod, and Google maps 15, all of which also affect Admin>>Places.
The Geocode Assist Mod v10.0.0.2 will suppress the Geocode Globe is the place level is set to -1 (Do not Geocode).
- If you import your data, this value may not be preserved across an import. See the Do Not Geocode section in the Geocode Assist Mod on how to preserve the value across an import.
Related Mods
- The Admin Places Search mod changes the Place Level column to show descriptive values ("Country", "State/Province", etc) rather than raw numbers, and displays "Do Not Geocode" for the new value of -1 that is implemented by this mod. But there is no dependency between the two mods.
- This mod saves data that can be used by the optional Show Mod Names utility mod, but it is not dependent on that mod.
Installation
This mod uses the standard installation procedure, though it should be noted that this mod contains two mod subfolders that are shared with other mods that implement Mod Settings Blocks' Admin>>Setup forms, and Inner_Mod_Menus. Because of the shared subfolders, as you unzip or copy the mod, you might get a warning noting that a folder already exists. You can just ignore that warning.
[Show Installation Details]
Requirements
- A working TNG installation.
- An installed current version of the Mod Manager.
- You should backup files listed in the panel on the right.
Procedure
- Remove and delete previous version of this mod.
- Backup the files updated by this mod. They are listed in the panel at the upper right.
- Download the .zip file, Extract its .cfg file to the mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.
Problems?
- Try using the Mod Manager Remove capability
- Contact me through My Mod Support form.
Visualizations
BEFORE: The Admin >> Places Editor |
AFTER: The Admin >> Places Editor |
AFTER: New text in the Places help file
|
Revision History
Mod Version | TNG Version | Date | Note |
---|---|---|---|
12.0.0.4 | 12.0 - 12.2+ | 30 Sep 2019 | The Mod option at Admin>>Setup>>General Settings>Miscellaneous now use an include file that is shared with other mods. |
12.0.0.3a | 12.0+ | 14Nov2018 | Small improvements: Better error checking; deals with trailing spaces, displays the placename before trying to geocode it so that the log will more clearly show where the process crashed. |
12.0.0.3 | 12.0+ | 4May2018 | No functional changes; made compatible with TNGv12. |
12.0.0.3 | 12.0+ | 4May2018 | No functional changes; made compatible with TNGv12. |
10.1.0.3 | 10.1 | 10Nov2017 | Defines a TNG system parameter that establishes the number of desired decimal digits in Geocodes and rounds all Geocodes calculated from maps. Provides new filters can ignore certain problematic placename components. |
10.1.0.1 | 10.1 | 19Apr2017 | New mod. |
Sites using this mod
If you download and install this mod, please add your site to the table below.
URL | User | Note | Mod-Version | TNG-Version | User-language |
---|---|---|---|---|---|
Robin Richmond's Genealogy Database | Robin Richmond | Mod developer | v12.0.0.3 | 12.0 | English |
Joseph Oran Holtz Genealogy Pages | Jim Holt | Not a Public Site | 10.1.0.3 | 11.1.2 | English |
Our Roy and Boucher Family | Ken Roy | 10.1.0.2 beta | 11.1.1 | English | |
Cole / Tanner Family Tree | David Cole | Public/Private | see here | see here | English |
Skeel, Schaffalitzky. Find navne i Danmarks Adels Aarbog | Finn Holbek | public & private | 12.1 | DA,EN,DE,CS,ES - etc. | Danish |
Our Family Histories | Bryan S. Larson | Public - T8 customized | see here | see here | EN |