Jump to content
TNG Community

Geocode and similar problems


eFFemeer

Recommended Posts

eFFemeer

1) Many places don't show .long and .lat, but still bring up the right place when the "white on purple arrow" is clicked

2) Maps are shown with numbers 1 , 2 ... on a pink tick mark. When clicking on those tick marks a Google map is shown that would try to indicate the route from my location to that place. Strange!

Screenshot 2026-04-15 131256.png

Screenshot 2026-04-15 132020.png

Screenshot 2026-04-15 132045.png

Link to comment
Share on other sites

Pink is the color in TNG that is used to chow that you haven't yet set a "placelevel" for that place, e.g. Country, State, County/Shire, City/Town, etc. The route from that place to your location is a Google feature, not TNG...

When you edit a place in TNG, you can set the Place Level on the Admin screen...

 

GOGGS

Link to comment
Share on other sites

eFFemeer

Thank you for your reply, but Places is really going bezirk these days.
I just tried to  change the "placelevel" for one location, -> 31,643 (all) places have been reallocated to the same location!

And geocoding either does nothing or gives erroneous results.image.png

Link to comment
Share on other sites

Hopefully you're NOT doing "Select All" when making changes to Place Level... These are done one at a time unless you have some code to do them automatically when entered/saved. I attached a pic of Geocoding in bulk as well...

Regarding Google and geocoding or finding places, some people don't like it (haha), but a place will be parsed (as Katryne suggested) and it will do it's best to find a match. It is somewhat place/country specific. Some of your places only resolved to Den Haag and nothing more specific. Some of mine end up in a completely different place if I use the wrong address or format. 

For example, the Grote Kerk (as an attraction) is known in Google from a place/address as Rond de Grote Kerk 12, 2513 AM Den Haag, Netherlands. Again, that may not be your preference, but that's what Google has. BTW, aren't 's- designations for tram stops? That is a transit "layer" on Google, which does show on the maps by default.

I've had to change a lot of my data in TNG to work with Google Maps, but I like the way it works!

 

GOGGS

Screenshot 2026-04-15 110224.png

Geocode.png

Link to comment
Share on other sites

Katryne

If you do not want to show the route to the place in Google Earth, there is a mod to hide it :

https://tng.lythgoes.net/wiki/index.php?title=Hide_google_earth_links

Citation

Purpose of the Mod
Hide, delete or replace Google Earth links from maps. Replace some of them by a link to placesearch.php. Links are hidden on showmap.php, headstones.php, placesearch.php and getperson.php. On this last page, the link is replaced by a link to placesearch.php for the considered place.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...