Difference between revisions of "OpenStreetMap"
MichelKirsch (talk | contribs) |
(New support link) |
||
Line 8: | Line 8: | ||
| mod_author = Erik Hoppe<br/>TNG 10.1.3: Ken Roy + Alan Craxford<br/>Mod 10.1.3.4+: Alan Craxford | | mod_author = Erik Hoppe<br/>TNG 10.1.3: Ken Roy + Alan Craxford<br/>Mod 10.1.3.4+: Alan Craxford | ||
| mod_url = [[OpenStreetMap]] (this page) | | mod_url = [[OpenStreetMap]] (this page) | ||
− | | mod_support = [https:// | + | | mod_support = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons] |
− | | mod_contact = | + | | mod_contact = |
| mod_version = 10.1.3.5 for TNG v10.1.3<br/>11.1.2.5a for TNG v11.1.2<br/>12.0.0.5 for TNG v12 | | mod_version = 10.1.3.5 for TNG v10.1.3<br/>11.1.2.5a for TNG v11.1.2<br/>12.0.0.5 for TNG v12 | ||
| min_TNG_ver = 10.1.3 | | min_TNG_ver = 10.1.3 | ||
Line 114: | Line 114: | ||
== In the event of a problem == | == In the event of a problem == | ||
− | '''NOTE!''' ''Heatmaps'' may show a map only.<br/>This is a known problem as the data is read by a special interpretator and it is '''very''' sensitive about what characters there are in ''Place names, Person names'' and ''Notes''.<br/>All problematic characters I have found have been taken care of but there may be some I don't know.<br/>Please contact me through [https:// | + | '''NOTE!''' ''Heatmaps'' may show a map only.<br/>This is a known problem as the data is read by a special interpretator and it is '''very''' sensitive about what characters there are in ''Place names, Person names'' and ''Notes''.<br/>All problematic characters I have found have been taken care of but there may be some I don't know.<br/>Please contact me through [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons] if you encounter this.<br/><br/> |
Other issues: | Other issues: | ||
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability | * Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability | ||
* Replace all affected files with the copies you made before the installation. | * Replace all affected files with the copies you made before the installation. | ||
− | * | + | * [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons] |
Revision as of 10:41, 13 January 2019
OpenStreetMap | ||||
---|---|---|---|---|
Summary | Replaces the Google maps with OpenStreetMaps | |||
Validation | The mod is XHTML compliant. | |||
Mod Updated | 13 Dec 2018 | |||
Download link | for
OpenStreetMap v12.0.0.5 See Ancestor map for OpenStreetMap version for
OpenStreetMap v11.1.2.5a See Ancestor map for OpenStreetMap version for
OpenStreetMap v10.1.3.5 See Ancestor map for OpenStreetMap version | |||
Download stats | Click For Download Stats | |||
Author(s) | Erik Hoppe TNG 10.1.3: Ken Roy + Alan Craxford Mod 10.1.3.4+: Alan Craxford | |||
Homepage | OpenStreetMap (this page) | |||
Mod Support | TNG Community Forums: TNG Specific - Code Discussion - Addons | |||
Contact Developer | ||||
Latest Mod | 10.1.3.5 for TNG v10.1.3 11.1.2.5a for TNG v11.1.2 12.0.0.5 for TNG v12 | |||
Min TNG V | 10.1.3 | |||
Max TNG V | 12+ | |||
Files modified | ||||
Related Mods | {{{related_mods}}} | |||
Notes |
Purpose of the mod
This mod installs OpenStreetMap (OSM) maps if you don't have a GoogleMap API key.
The benefit is that you don't have to register anywhere for anything.
Simply Install, Empty your API key box, Save and it's done.
The downside is that OSM maps are in many cases not as detailed as Googlemaps, especially outside the more urban areas.
I have added two maps that are more detailed re "rural roads" called ESRI World Street Map and ESRI World Topo Map. (See the Edit Options below)
NEW from mod version 4: Toggle your map with a Satellite view
See Alan Craxford's sample link in the Sites list below.
(Previously on "Replacing Googlemaps with OSM": TNG Community Forum: Replace Google with OSM)
You can also use that link for News about this mod.
Update From Google
June 16, This was sent from google-maps-platform-noreply@google.com to keyholders(?)
Thanks to Steven Davis for the forward.
Hi, Google Maps Platform’s new pricing and terms of service go into effect today. Starting today, these changes go into effect: * New Maps, Routes, and Places functionality * Updated pricing for Maps, Routes, and Places * $200 free monthly usage per billing account * Free 24-hour customer support * Updated Query per Second (QPS) limits * New Terms of Service Thank you for using Google Maps Platform. Sincerely, The Google Maps Platform Team
The updated pricing is here: Updated pricing
The queries per second scheme is here: QPS limits
The terms of service are here: T.O.S
MOD Conflict
Placesearch-More Info and Cemetery_Edit mods by Robin Richmond can NOT be used with the current versions of the OSM mod!
Developer
This mod was developed by Erik Hoppe
Several people were involved and I Thank You all - especially you who TESTED the mods. WIthout you, we wouldn't see this mod today.
For TNG v10.1.3 Ken Roy and Alan Craxford kindly modified the v11 .cfg
For Mod v10.1.3.4+ Alan Craxford kindly provided the .cfg
Requirements
TNG version: | ≥ 10.1.3 |
- A working TNG installation.
- A backup of all affected files (see the list below)
- An installed current version of the Mod Manager (is already included in TNG)
- Latitude and Longitude with decimal points (not decimal commas)
Installation
- Click on the download link, shown in the summary in the upper right corner of the page.
- Un-zip the file and you will find a folder. Open it.
- Inside the folder you will find the .cfg file and the accompanying folder OpenStreetMap.X (X = current modversion)
- Move/copy/FTP the .cfg file and the folder OpenStreetMap.X to the mods folder of your TNG system.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
- Use Modmanager Edit options to select your map.
- Open Administrator >> Setup >> Map Settings and make sure the Map Key box is empty. Then click Save.
- Clear your cache.
Modmanager Edit options
- Choose from ten maps. Default = OSM. See the OpenStreetMap Choices page for examples
Acronyms for MM Edit options: OSM (default), OSMFR, SURF, EWSM, EWTM, SAT, HYDDA, WIKI, MTB and TOPO.
NOTE that the SATellite view contains NO names or other labels. - Scale units for maps. Select "degrees", "us" (miles) or some other. Spellcheck! default = "metric".
- Close pop-up also by clicking the map. Default = false (no)
- Mouse scroll-wheel can zoom maps. Default = false (no)
- A "glowing" layer between icons and map in the heatmaps. Default = true (yes) Not v10
Geocoding when Adding or Editing places (see below):
- Number of items in the suggestion list. Default = 5
- Keep the list open after selection. Default = false (no)
- Max zom after selection. Default = 16
- Copy place to Name box at page top. Default = false (no)
- Include Zip-code (when available) in copied name. Default = true (yes)
- Comma separated list of Country names to exclude from copied name. Default is "" (empty - none)
In the event of a problem
NOTE! Heatmaps may show a map only.
This is a known problem as the data is read by a special interpretator and it is very sensitive about what characters there are in Place names, Person names and Notes.
All problematic characters I have found have been taken care of but there may be some I don't know.
Please contact me through TNG Community Forums: TNG Specific - Code Discussion - Addons if you encounter this.
Other issues:
- Try using the Mod Manager Remove capability
- Replace all affected files with the copies you made before the installation.
- TNG Community Forums: TNG Specific - Code Discussion - Addons
Geocoding (Add and Edit place)
Batch geocoding is disabled. Simply because I don't know how to make batch calls to OSM.
Anyone can help us?
You CAN still (June 29) batch geocode! Read more here https://tng.community/index.php?/forums/topic/12898-geocoding-tab-missing-in-tng-1201/&_fromLogin=1
From October I can not batch geocode that way. (I have not removed the tab in mod v4.)
When you open the map (Add new place) it is pointed to Lat = 0, Long = 0 (if that's your Starting Latitude and Longitude in Administration --> Setup --> Map Settings.
(If you edit a place it is of course pointed to).
The map used below is EWSM (Esri World Street Map).
Click the magnifying glass to get a textbox: || Enter a (partial) placename - local name prefered but English often works (img: Jonkoping - Jönköping)
||
Press Enter to receive a reply. Nothing happens? If there is no reply, there is no sign of it. No message, nothing...
If you do get a reply you will have a list of suggestions (incl such characters as "ö"):
Click a suggestion and the map zooms in to the place and Latitude, Longitude and Zoom will be placed in their respective boxes:
It seems to me that it is the "tip" of the pop-up and the "hole" in the custom map-pin that are pointing to the target/coordinates - not the "tip" of the map-pin.
To really pin-point a location: Close the pop-up and click the Satellite View icon (top right)
Zoom in once more (zoom = 17) and place the pin quite exactly:
50 meters = 80 pixels = 0.625 meter/pixel = 2.05 feet/pixel
You have to provide the Level yourself. You also have to add the Place Name to the box at the top. There is a Modmanager Edit option to have the name copied automatically.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and all its tables, you should
- click the Remove button to uninstall the mod and then
- click the Delete button to delete the config file from the mods folder.
Revision History
Version | Date | Description |
---|---|---|
11.1.2.5a | 13 Dec 2018 | Heatmaps did not show for TNG 11. Thanks to Roeland V for the alert. |
10.1.3.5 11.1.2.5 12.0.0.5 |
2 Dec 2018 | One Map setting displayed a blank square for the map, but did show pins in the Event table and the Legend. Thanks to Patricia Hobbs for the alert. An annoying out-zoom when toggled at zoom > 16 removed. |
10.1.3.4 11.1.2.4 12.0.0.4 |
19 Nov 2018 | Optional map SAT = Satellite view, Toggle your map with Satellite view, Increased map free space inner margins, Zoom in new Event-map stabilized Credits to Alan Craxford for the TNG v10 .cfg |
10.1.3.3 | 18 Sep 2018 | Ken Roy and Alan Craxford kindly modified the v11 .cfg to suit TNG v10.1.3 |
10.beta9.3 | 18 Aug 2018 | MouseWheel Zoom is OFF by default. Added to MM Edit options - Sugg. by Steven Davis Eight new maps added for selection via MM Edit options - Sugg. by Katryne |
11.1.2.3 12.0.0.3 |
8 Aug 2018 | Googlemaps Key message removed from admin_main.php (TNG12) - Sugg. by Steven Davis MouseWheel Zoom is OFF by default. Added to MM Edit options - Sugg. by Steven Davis Eight new maps added for selection via MM Edit options - Sugg. by Katryne |
11.1.2.2 12.0.0.2 |
7 Jul 2018 | Place- and Zoom-levels didn't show at admin_places.php. Thanks to Steven D for the alert. |
10.0.0.beta8 11.1.2.1 12.0.0.1 |
11 Jun 2018 | The errors in heatmaps are gone - as far as I can tell. Thanks to cfj for the alert. Also one BETA version f TNG v10. |
11.1.2.0 12.0.0.0 |
10 Jun 2018 | Not public. Some errors still there in heatmaps!!! |
10.0.0.beta7 11.1.2.beta7 12.0.0.beta7 |
7 Jun 2018 | Everything pre release is found here: TNG Community Forum: Replace Google with OSM |
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 | Using Map (Edit Opt) |
TNG-Version | User-language |
---|---|---|---|---|---|---|
Andeersson, Hoppe, Sahlin, Thorell | Erik Hoppe | Mod dev. Satellite view only f. logged-in | 11.1.2.5 | EWSM | 11.1.2 | EN, DE, SE |
Van der Maarel Genealogy | Edward van der Maarel | 12.0.0.3 | 12.0.2 | NL, EN | ||
Keijzer, Bus | Marcel Keijzer | Not a public site | 12.0.0.2 | EWSM | 12.0.1 | NL, EN |
Treichel-Familie.de | A. Treichel | Public & Private | 12.0.0.2 | 12.0.1 | DE, UK, FR, ES, PL | |
Roots & Relatives Remembered | Ron Krzmarzick | Public & Private | 12.0.0.4 | EWSM | See Here | EN,DE,CS,ES |
my family | (no public site) TNG with OSM and (OSM-)Ancestor Map | see User:ojay | see User:ojay | D,(NL),(GB) | ||
Our Roy and Boucher Family | Ken Roy | Created Ancestor Map - Open Street Map to work with Open Street Map | 12.0.0 Beta6 | 12.0.1 beta2 | EN,FR | |
Martius Family | Hendrik Martius | Half public | 12.0.0.1 | 12.0.1 beta2 | DE,EN, FR, NL | |
Jegersberg.com | C. Jegersberg | Custom public | 12.0.0.3 | 12.0.2 | NO, SE, EN | |
Familiestamboom.frl | R. Petersohn | Public | 12.0.0.1 | 12.0.0 | NL, DE, FR, UK | |
Lignées Revestoises | Katryne Chauvigné-Bourlaud | Public | 12.0.0.1 | 12.0.1 | FR,EN | |
GeneaKat | Katryne Chauvigné-Bourlaud | Private | 12.0.0.3 | 12.0.1 | FR,EN | |
Family Histories | Steven Davis | Public/Private | 12.0.0.3 | 12.0.1 | EN | |
Kemp(e) Family History | Andrew Kemp | Public | See User:Kempons | See User:Kempons | EN | |
majercin genealogy resource | Lawrence Majercin | Public/Private | 12.0.0.2 | 12.0.1 | EN | |
Lindell-Herndon Genealogy | Bill Herndon | Public | 12.0.0.3 | OSM | 12.0.2 | DA, DE, EN, ES, FR, SV |
Cole / Tanner Family Tree | David Cole | Public/Private | see here | EWSM | see here | English |
Extended Craxford Family Magazine | Alan Craxford | Representative map page from website at Craxford Lane, Gretton | 10.1.3.4 | OSM | 10.1.3 | English |
[1] Byberry Waltons | Bill Walton | User Account required | 12.0.0.3 | EWSM | 12.0.1 | English |
Wooster Family Group | Nick Wooster | Public and Private (members of the Wooster Family Group) | 11.1.2.3 | OSM | 11.1.2 | EN |
MyMispoche Genealogy | Carlton Brooks | Public and Private | 12.0.0.3 | OSM | 12.0.1 | EN |
Bartelds/Kratzer Genealogy | Jos Bartelds | Public | 12.0.0.3 | OSM | 12.0.2 | DE, EN, NL |
Racine d'Alsace | J-Louis Valory | Public/Private - T17 customized | 12.0.0.3 | OSM | 12.0.2 | FR |
Lloyd & Lucas - A Merging of Interests | Chris Lloyd | Public site | 12.0.0.3 | 12.0.1 | English | |
MedicSearch | William Mooney | Public site | 12.0.0.3 | OSM | 12.0.1 | EN |
Howes One-Name Study | Paul Howes | Public site | 12.0.0.3 | OSM | 12.0.2 | EN |
Leicestershire Antills and Connected Families | John Antill | Public Site | 12.0.0.5 | |||
The Williams Family Tree | Phil Williams | Public site | 12.0.0.5 | OSM | 12.0.3 | EN |
[2] | 12.0.05 | EN |
TNG Modules Impacted
The following TNG Modules are modified, and should be backed up prior to installing this mod:
- admin_editcemetery.php
- admin_editmedia.php
- admin_editplace.php
- admin_main.php (TNG 12)
- admin_newcemetery.php
- admin_newplace.php
- admin_places.php
- genlib.php
- getperson.php
- headstones.php
- heatmap.php // Not v10
- personlib.php
- placesearch.php
- showmap.php
- Mods for TNG v12
- Mods for TNG v11
- Mods for TNG v10
- Genlib.php mods
- Personlib.php mods
- Admin editplace.php mods
- Admin editmedia.php mods
- Admin newplace.php mods
- Admin editcemetery.php mods
- Admin newcemetery.php mods
- Admin places.php mods
- Getperson.php mods
- Placesearch.php mods
- Headstones.php mods
- Showmap.php mods
- Heatmap.php mods