Difference between revisions of "OpenStreetMap"

From TNG_Wiki
Jump to navigation Jump to search
(Added message re Placesearch - More Info mod)
(Update message from Google)
Line 35: Line 35:
 
== Update From Google ==
 
== Update From Google ==
  
June 12, I found this here: [https://developers.google.com/maps/billing/important-updates https://developers.google.com/maps/billing/important-updates]<br/>
+
June 16, This was sent from '''google-maps-platform-noreply@google.com''' to keyholders(?)<br/>
 
<pre>
 
<pre>
Important Updates
+
Hi,
  
We’ve moved the effective date of our new pricing, and the $200 free monthly
+
Google Maps Platform’s new pricing and terms of service go into effect today.
credit, to July 16th. We’re launching the new Maps, Routes and Places
 
functionality on June 11th. To provide you with an additional month of lead
 
time, our new terms and pricing won’t go into effect until July 16th. Please
 
take advantage of this time to try the new features and familiarize yourself
 
with how billing will work.
 
  
Starting June 11th
+
Starting today, these changes go into effect:
  
We will enforce the use of API keys beginning on June 11th. Keyless usage will
+
* New Maps, Routes, and Places functionality
result in a degraded experience, or an error. See the Guide for Existing Users
+
* Updated pricing for Maps, Routes, and Places
for details.
+
* $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
 
</pre>
 
</pre>
 +
 +
The updated pricing is here: '''[https://cloud.google.com/maps-platform/pricing/sheet/?utm_source=em-anncmt&utm_medium=em&utm_campaign=fy18-q2-global-adhoc-email-cs-maps_none_maps_spicestandardplanwithbillingcomms&utm_content=global%7Cen%7Chybr%7C%7C%7C%7C%7C%7Cver1%7Cs:a Updated pricing]'''<br/>
 +
The queries per second scheme is here: '''[https://developers.google.com/maps/faq?utm_source=em-anncmt&utm_medium=em&utm_campaign=fy18-q2-global-adhoc-email-cs-maps_none_maps_spicestandardplanwithbillingcomms&utm_content=global%7Cen%7Chybr%7C%7C%7C%7C%7C%7Cver1%7Cs:a#usage_apis QPS limits]'''<br />
 +
The terms of service are here: '''[https://cloud.google.com/maps-platform/terms/?utm_source=em-anncmt&utm_medium=em&utm_campaign=fy18-q2-global-adhoc-email-cs-maps_none_maps_spicestandardplanwithbillingcomms&utm_content=global%7Cen%7Chybr%7C%7C%7C%7C%7C%7Cver1%7Cs:a T.O.S]'''
  
  

Revision as of 09:16, 16 July 2018

OpenStreetMap
Summary Replaces the Google maps with OpenStreetMaps
Validation The mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 07 Jul 2018
Download link for
TNG 12.0

OpenStreetMap v12.0.0.2
See Ancestor map for OpenStreetMap version
for
TNG 11.0

OpenStreetMap v11.1.2.2
See Ancestor map for OpenStreetMap version
for
TNG 10.1.3

OpenStreetMap v10.0.0.beta8
See Ancestor map for OpenStreetMap version
Download stats Click For Download Stats
Author(s) Erik Hoppe
Homepage OpenStreetMap (this page)
Mod Support My Mod Support
Contact Developer My Mod Support
Latest Mod (10.0.0.beta8 for TNG v10.?)
11.1.2.2 for TNG v11.1.2
12.0.0.2 for TNG v12
Min TNG V (10.?) 11.1.2
Max TNG V 12+
Files modified
Related Mods
{{{related_mods}}}
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


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.
They also seem to load slower and sometimes not in full. Maybe because of heavy load as many sites now (June 11, 2018) switches from GoogleMaps to OSM.

(Previously on "Replacing Googlemaps with OSM": TNG Community Forum: Replace Google with OSM)

Mod version 10: I supply a version for TNG 10 also but it will not work!
I have no TNG 10 environment.
The .cfg is the same as v11 but everything regarding heatmaps is removed. It's called v10.0.0.beta8.cfg and can be used by anyone who is inclined to make a v10 mod...


Update From Google

June 16, This was sent from google-maps-platform-noreply@google.com to keyholders(?)

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


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

  1. Click on the download link, shown in the summary in the upper right corner of the page.
  2. Un-zip the file and you will find the .cfg file and the accompanying folder
  3. Move/copy/FTP the .cfg file and the folder OpenStreetMap.X to the mods folder of your TNG system.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
  5. Open Administrator >> Setup >> Map Settings and make sure the Map Key box is empty. Then click Save.
  6. Clear your cache.


Modmanager Edit options

  • 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)
  • A "glowing" layer between icons and map in the heatmaps. Default = true (yes) Not v10
  • Geocoding when Adding or Editing places:
    • 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 My Mod Support if you encounter this.

Other issues:


Geocoding (Add and Edit place)

Batch geocoding is disabled. Simply because I don't know how to make batch calls to OSM.
Anyone care to help?

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

When you open the map (Add new place) it is empty. (If you edit a place it is of course pointed to).
Geocode1.jpg

Click the magnifying glass to get a textbox:   ||   Enter a (partial) placename - local name prefered but English often works (img: Jonkoping - Jönköping)
Geocode2.jpg         ||   Geocode3.jpg

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 "ö"):
Geocode4.jpg

Click a suggestion and the map zooms in to the place and Latitude, Longitude and Zoom will be placed in their respective boxes:
Geocode5.jpg

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

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


Revision History

Version Date Description
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 TNG-Version User-language
Treichel-Familie.de A. Treichel Public & Private 12.0.0.2 12.0.1 DE, UK, FR, ES, PL
Andeersson, Hoppe, Sahlin, Thorell Erik Hoppe Mod dev. 11.1.2.1 11.1.2 EN, DE, SE
Roots & Relatives Remembered Ron Krzmarzick Public & Private 12.0.0.1 12.0.1 EN,DE,CS,ES
my family Oname.gif (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 11.1.2.1 11.1.2 NO, SE
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.0 FR,EN
GeneaKat Katryne Chauvigné-Bourlaud Private 12.0.0.1 12.0.0 FR,EN
Family Histories Steven Davis Public/Private 12.0.0.2 12.0.1 EN

TNG Modules Impacted

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

  • genlib.php
  • personlib.php
  • admin_editplace.php
  • admin_editmedia.php
  • admin_newplace.php
  • admin_editcemetery.php
  • admin_newcemetery.php
  • admin_places.php
  • getperson.php
  • placesearch.php
  • headstones.php
  • showmap.php
  • heatmap.php // Not v10