Difference between revisions of "OSM Automatic Geocoding"

From TNG_Wiki
Jump to navigation Jump to search
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{restricted}}
 
{{restricted}}
{{Languages|OSM Automatic Geocoding}}
+
{{V12_cust_text}}
 +
{{Languages}}
 +
 
 
{{TNGmod
 
{{TNGmod
 
| mod_name        = OSM Automatic Geocoding
 
| mod_name        = OSM Automatic Geocoding
 
| mod_summary    = Automatic geocoding for Open Street Maps users
 
| mod_summary    = Automatic geocoding for Open Street Maps users
| mod_validation  =  
+
| mod_validation  = [http://compteur.mkirsch.be/compte.php?id=92&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} v13.0.0.3b]{{Tv130}}<hr>[http://compteur.mkirsch.be/compte.php?id=60&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} v12.2.0.3a]{{Tv120}}<hr>
| mod_last_update = 10 Jun 2020
+
| mod_last_update = 16 nov 2020
| download_link  = [http://compteur.mkirsch.be/compte.php?id=45&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} OSM Auto Geocode v12.2.0.2a]
+
| download_link  =
 
| download_stats  = [http://compteur.mkirsch.be/collect.php?action=collect Montrer les statistiques]
 
| download_stats  = [http://compteur.mkirsch.be/collect.php?action=collect Montrer les statistiques]
 
| mod_author      = [[User:MichelKirsch|Michel Kirsch]]
 
| mod_author      = [[User:MichelKirsch|Michel Kirsch]]
Line 12: Line 14:
 
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_contact    = [[Image:Image mail.png|MyMail]]
 
| mod_contact    = [[Image:Image mail.png|MyMail]]
| mod_version    = v12.2.0.2a for TNG v12
+
| mod_version    = v12.2.0.3a for TNG v12 - v13.0.0.3b for TNG 13+
 
| min_TNG_ver    = n.c
 
| min_TNG_ver    = n.c
 
| max_TNG_ver    = v12+
 
| max_TNG_ver    = v12+
Line 26: Line 28:
  
 
== Purpose of the Mod ==
 
== Purpose of the Mod ==
<font color="red">The Mod is currently under maintenance. It is not possible to download it.</font>
 
 
<hr>If you have not purchased a Google Maps key and you use an another map provider, this Mod allows you to automatically geo-code locations that do not yet have coordinates. <br>It uses the [[https://nominatim.openstreetmap.org Nominatim API]] for Open Street Map
 
<hr>If you have not purchased a Google Maps key and you use an another map provider, this Mod allows you to automatically geo-code locations that do not yet have coordinates. <br>It uses the [[https://nominatim.openstreetmap.org Nominatim API]] for Open Street Map
  
 
== Mod Developer ==
 
== Mod Developer ==
 
Author :  
 
Author :  
[[User:MichelKirsch|Michel Kirsch from Charleroi-Hainaut-Belgium]]
+
[[User:MichelKirsch|Michel Kirsch from Charleroi-Hainaut-Belgium]].
 +
and Rob Severijns for Dutch translation
  
 
== Requirements ==
 
== Requirements ==
Line 57: Line 59:
  
 
== Known Problems ==
 
== Known Problems ==
If you use the [[https://tng.lythgoes.net/wiki/index.php?title=OpenStreetMap Open Street Map]] Mod, it must be installed first !
+
None
  
 
== In the event of a problem ==
 
== In the event of a problem ==
Line 71: Line 73:
 
! Release&nbsp;Date
 
! Release&nbsp;Date
 
! Contents
 
! Contents
 +
|-
 +
| v13.0.0.3b
 +
| 16 nov 2020
 +
| The "Geocoding" tab is now visible everywhere. Automatic geocoding is working again. Dutch translations
 +
|
 +
|-
 +
| v13.0.0.3a
 +
| 25 sep 2020
 +
| TNG 13 version
 +
|
 +
|-
 +
| v12.2.0.3a
 +
| 25 aug 2020
 +
| Add a line indicating how many places are not geocoded (see screenshot) + Dutch translation
 +
|
 +
|-
 +
| v12.2.0.3
 +
| 18 aug 2020
 +
| Modify code for queriyng Nominatim API. Old code receives no more answers.
 +
|
 
|-
 
|-
 
| v12.2.0.2a
 
| v12.2.0.2a
Line 86: Line 108:
 
| First online version.
 
| First online version.
 
|}
 
|}
 +
 +
== Visualization ==
 +
[[Image:osm_counter.jpeg|800px|Left|osm_counter.jpeg]]
 +
 +
'''The new line indicates how many places are not yet geocoded.'''
  
 
== Sites using this mod ==
 
== Sites using this mod ==
Line 103: Line 130:
 
| [[User:MichelKirsch|Michel Kirsch]]
 
| [[User:MichelKirsch|Michel Kirsch]]
 
| Developper of the Mod
 
| Developper of the Mod
| v12.2.0.3
+
| v13.0.0.3b
| v12.2.0
+
| v13.0.1
 
| FR/EN/NL/D/SP
 
| FR/EN/NL/D/SP
 
|-
 
|-
Line 120: Line 147:
 
| v11.2.1
 
| v11.2.1
 
| EN/DE/SE
 
| EN/DE/SE
 +
|-
 +
| [https://www.jegersberg.com Jegersberg.com]
 +
| [[User:cfj| C. Jegersberg]]
 +
| Custom Public Site
 +
| 13.0
 +
| 13.0
 +
| NO, SE, EN
 
|-
 
|-
 
| [http://www.stamboomgeerts.com/ Stamboom Geerts / de Waal (Wael)]
 
| [http://www.stamboomgeerts.com/ Stamboom Geerts / de Waal (Wael)]
Line 156: Line 190:
 
| FR
 
| FR
 
|-
 
|-
| [http://oceanwharf.com/tng_hfl_genealogy/ Hooley Family Links (v1210)]
+
| [http://genealogy.oceanwharf.com Hooley Family Links]
| [[User:Lastejas|Lastejas]]
+
| [[User: lastejas|Rick Hooley]]
|
+
| Public/Private
| v12.2.0.2
+
| [[User: lastejas|See Here]]
| 12.1
+
| [[User: lastejas|See Here]]
 
| EN
 
| EN
 
|-
 
|-
Line 224: Line 258:
 
| v12.2.0.1
 
| v12.2.0.1
 
| 12.2
 
| 12.2
 +
| EN
 +
|-
 +
| [https://www.ourfamilytreesearch.com Our Family Tree Search]
 +
| [[User:JessSenk|JessSenk]]
 +
|
 +
| 13.0.0.3a
 +
| v13.0
 
| EN
 
| EN
 
|}
 
|}
  
[[Category:Mods for TNG v12]]
+
[[Category:Mods for TNG v12]][[Category:Mods for TNG v13]]
 
[[Category:admin_newplace.php mods]][[Category:admin_places.php mods]][[Category:geocodelib.php mods]]
 
[[Category:admin_newplace.php mods]][[Category:admin_places.php mods]][[Category:geocodelib.php mods]]

Revision as of 14:45, 14 December 2020

Restricted Downloads of OSM Automatic Geocoding 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



Ambox notice.png The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]

If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0



OSM Automatic Geocoding
Summary Automatic geocoding for Open Street Maps users
Validation v13.0.0.3b
TNG 13.0

v12.2.0.3a
TNG 12.0

Mod Updated 16 nov 2020
Download link
Download stats Montrer les statistiques
Author(s) Michel Kirsch
Homepage Racines luxo-hennuyeres
Mod Support TNG Community Forums
Contact Developer MyMail
Latest Mod v12.2.0.3a for TNG v12 - v13.0.0.3b for TNG 13+
Min TNG V n.c
Max TNG V v12+
Files modified
admin_newplace.php
admin_places.php
geocodelib.php
Related Mods
Notes



Purpose of the Mod


If you have not purchased a Google Maps key and you use an another map provider, this Mod allows you to automatically geo-code locations that do not yet have coordinates.
It uses the [Nominatim API] for Open Street Map

Mod Developer

Author : Michel Kirsch from Charleroi-Hainaut-Belgium. and Rob Severijns for Dutch translation

Requirements

A TNG v12.2.0 installation in working order. Mod [Open Street Map] does NOT have to be installed.

IMPORTANT : Before installing

Before installing, it is judicious to make a backup copy of the files that will be modified by this mod.

TNG Modules Impacted

You can click on the [Expand] link on the right to display the list of TNG Modules change and the [Collapse] link to hide this section again.

The following TNG Modules are modified, and should be backed up prior to installing this mod:

admin_newplace.php
admin_places.php
geocodelib.php

INSTALLATION

  • Unzip the received file directly in the "mods" sub directory of your TNG installation.
  • Via Mod Manager, install the Mod.

Upgrade

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

Known Problems

None

In the event of a problem

  • Try using the Mod Manager Remove capability
  • Copy the backup of the affected files back to your TNG directory
  • Retry. If the problem persists, open an issue in the TNG Community Forums or on the page of Michel Kirsch. At worst, send a mail to MyMail

Historic of modifications

Version Release Date Contents
v13.0.0.3b 16 nov 2020 The "Geocoding" tab is now visible everywhere. Automatic geocoding is working again. Dutch translations
v13.0.0.3a 25 sep 2020 TNG 13 version
v12.2.0.3a 25 aug 2020 Add a line indicating how many places are not geocoded (see screenshot) + Dutch translation
v12.2.0.3 18 aug 2020 Modify code for queriyng Nominatim API. Old code receives no more answers.
v12.2.0.2a 10 jun 2020 Added a condition to display the 'geocode' tab when Google Maps is installed.
v12.2.0.2 30 Apr 2020 Modifying conditions when geoignore is set to 1.
v12.2.0.1 01 Apr 2020 First online version.

Visualization

osm_counter.jpeg

The new line indicates how many places are not yet geocoded.

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:
If you have any problem to do it, send me a mail...

URL User Note Mod-Version TNG-Version User-language
Racines luxo-hennuyeres Michel Kirsch Developper of the Mod v13.0.0.3b v13.0.1 FR/EN/NL/D/SP
Genealogie Dorp en Marke Losser Peter Heerink Public Site v12.2.0.2 12.3 NL
Andersson-Hoppe-Sahlin-Thorell Erik Hoppe Great w/ OSM + TNG11 v12.2.0.2 v11.2.1 EN/DE/SE
Jegersberg.com C. Jegersberg Custom Public Site 13.0 13.0 NO, SE, EN
Stamboom Geerts / de Waal (Wael) Lcgeerts v12.2.0.1 12.2 EN/NL
MyMispoche Carltonb v12.2.0.1 12.1 EN
MULL FAMILIES Manofmull v12.2.0.2 11.1.2 EN
Généalogie des Malvache Cmalvache v12.2.0.2 12.2 FR
Ma Tribu Katryne v12.2.0.1 FR
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Genealogie.derieppe.fr Derieppe v12.2.0.1 12.1 EN
Genealogia Polska TyszkiewiczOla v12.2.0.1 12.2 EN
Four Branches Genealogy Mkosinski v12.2.0.1 12.2 EN
Johnson Family Genealogy BradleyJJohnson v12.2.0.2 12.2 EN
Les Lapierre d'Amérique NLapierre v12.2.0.2 12.3 EN/FR
Howell & McDonald Ancestry Imach v12.2.0.1 12.2 EN
Startpagina Abram v12.2.0.1 12.2 EN
[1] Cartogis v12.2.0.1
Crawford County, Pennsylvania Genealogy Gateway Fraber v12.2.0.1 12.2 EN
Our Family Tree Search JessSenk 13.0.0.3a v13.0 EN