OSM Automatic Geocoding

From TNG_Wiki
Jump to: navigation, search
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



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 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