Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Coordinates are missing after search-replace 1 month 1 day ago #1

  • otmar.mayr
  • otmar.mayr's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 345
If I want to correct an existing location (with coordinates) with Find-Replace, the coordinates are not adopted.
www.verwandten.info / PHP-Version 7.4.12 / webtrees 2.0.16

Please Log in or Create an account to join the conversation.

Coordinates are missing after search-replace 1 month 1 day ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14506
> with Find-Replace

Which "find-replace"?

Main menu -> Search -> Search and replace?
Data-fix: update place names?
Data-fix: search and replace?

> the coordinates are not adopted

Which co-ordinates?

The LATI/LONG attached to a fact?
The co-ordinates in control-panel -> Geographic data?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Coordinates are missing after search-replace 1 month 1 day ago #3

  • otmar.mayr
  • otmar.mayr's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 345
I haven't changed the locations of the events. I don't have to change that because I always do that with Brothers Keeper.

If I change the place name in Webtrees via data-fixes, the new place name has no coordinates, although they were previously available in Webtrees.
www.verwandten.info / PHP-Version 7.4.12 / webtrees 2.0.16

Please Log in or Create an account to join the conversation.

Coordinates are missing after search-replace 1 month 21 hours ago #4

  • hermann
  • hermann's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 293
Do I understand you correctly?
- you have a place: Musterdorf, Germany and there are coordinates for Musterdorf available
- you use the data fix "update place names" to change "Musterdorf, Germany" to "Musterstadt, Germany"
- you expect that the coordinates from Musterdorf are copied automatically to Musterstadt?

If you update an old place name to a new name then this is only a change in the name, maybe to correct a typo. If the new place name exists already the coordinates of this new place are used, to overwrite the coordinates of the new place would make no sense to me.
webtrees 2.0.16 (all available custom modules installed, php 7.4.15, MySQL 5.6) @ ahnen.hartenthaler.eu/
and webtrees 1.7.18 (many custom modules) @ ahnen1.hartenthaler.eu/

Please Log in or Create an account to join the conversation.

Last edit: by hermann.

Coordinates are missing after search-replace 1 month 21 hours ago #5

  • otmar.mayr
  • otmar.mayr's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 345
Overwriting of coordinates are really no problem. For me it is a far bigger problem when I have to enter an existing place twice and three times because of Webtrees.

I've been doing genealogy for 15 years. Because I'm not a historian, it happens all the time that I have to make changes in the places.

For example, I was of the opinion that Konstanz belonged to Vorderösterreich (HRR) in 1810. In the meantime I have discovered that this is wrong and that Konstanz belonged to the Großherzogtum Baden (Rheinbund) in 1810.

So it was necessary to change

Konstanz, Vorderösterreich, Heiliges Römisches Reich
in
Konstanz, Großherzogtum Baden, Rheinbund

Konstanz is still on the same place and has still the same coordinates. So if the old (correct) coordinates are overwritten with the new (correct) coordinates, then Webtrees will surely forgive me.

But the problem I mentioned is however, that after the change the new place name has "no" coordinates.
www.verwandten.info / PHP-Version 7.4.12 / webtrees 2.0.16

Please Log in or Create an account to join the conversation.

Coordinates are missing after search-replace 1 month 20 hours ago #6

  • hermann
  • hermann's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 293

Konstanz is still on the same place and has still the same coordinates.


You know that the new Konstanz is still the same place as the old Konstanz, but how should webtrees know that? "Konstanz, Großherzogtum Baden, Rheinbund" is a totally new location for webtrees and therefore has no coordinates. What if you change your old location "Konstanz, Vorderösterreich, Heiliges Römisches Reich" to "Freiburg, Vorderösterreich, Heiliges Römisches Reich" because you learned that a person was born in Freiburg instead of Konstanz. Do you expect that the coordinates of Konstanz are overwriting the coordinates of Freiburg? No! So I'm sorry but it is on you to transfer the coordinates from the old location to the new location if you believe that the new one is at the same place as the old one.
webtrees 2.0.16 (all available custom modules installed, php 7.4.15, MySQL 5.6) @ ahnen.hartenthaler.eu/
and webtrees 1.7.18 (many custom modules) @ ahnen1.hartenthaler.eu/

Please Log in or Create an account to join the conversation.

Coordinates are missing after search-replace 1 month 20 hours ago #7

  • otmar.mayr
  • otmar.mayr's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 345
I've just made the following correction and the coordinates have been preserved.

Lorraine, Königreich Frankreich
in
Lothringen, Königreich Frankreich

So it must have another reason that it didn't work before.
www.verwandten.info / PHP-Version 7.4.12 / webtrees 2.0.16

Please Log in or Create an account to join the conversation.

Coordinates are missing after search-replace 1 month 20 hours ago #8

  • hermann
  • hermann's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 293
If you change a place:

Lorraine, Königreich Frankreich
in
Lothringen, Königreich Frankreich

and "Lothringen, Königreich Frankreich" exists already before with the same coordinates as "Lorraine, Königreich Frankreich" then this place will not forget its coordinates.
webtrees 2.0.16 (all available custom modules installed, php 7.4.15, MySQL 5.6) @ ahnen.hartenthaler.eu/
and webtrees 1.7.18 (many custom modules) @ ahnen1.hartenthaler.eu/

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 
  • Page:
  • 1
Powered by Kunena Forum