Transferring Places labels with GEO Location data

Post Reply
Roman
Posts: 118
Joined: 20 Dec 09 3:42
Location: Canberra, Australia

Transferring Places labels with GEO Location data

Post by Roman »

I wish to transfer Places labels, along with their associated GEO Location data, from one catalog to another. Is there a way to do this?
I have tried importing images but the labels are created without their GEO data.
I have tried exporting the Places as a formatted vocabulary, but the export does not include the associated GEO data.

To clarify, this is how a place label appears in the source catalog, with the data I wish to transfer highlighted:

Screenshot 2025-04-10 212146-a.jpg
Screenshot 2025-04-10 212146-a.jpg (26.1 KiB) Viewed 19102 times


And this is how it appears in the destination catalog after importing the image:

Screenshot 2025-04-10 212500-a.jpg
Screenshot 2025-04-10 212500-a.jpg (20.96 KiB) Viewed 19102 times


I would appreciate any suggestions on how to resolve this.

Roman
G8DHE
Posts: 763
Joined: 21 Aug 17 12:58

Re: Transferring Places labels with GEO Location data

Post by G8DHE »

Are you saving metadata to the images or only keeping it within the database?
Screenshot 2025-04-10 125259.jpg
Screenshot 2025-04-10 125259.jpg (30.82 KiB) Viewed 19100 times
Geoff Mather (G8DHE)
Roman
Posts: 118
Joined: 20 Dec 09 3:42
Location: Canberra, Australia

Re: Transferring Places labels with GEO Location data

Post by Roman »

I am writing metadata to the images. As far as I can work out when you assign GEO data to a place label and then assign the label to an image that does not have gps data assigned the label gets written to the file as a keyword and the GEO data linked to the label is used to update the image gps data. However there does not appear to be any GEO data written with, or linked to, the place keyword. So when you import the image the keyword is used to recreate the catalog label but no GEO data is assigned to the label.
G8DHE
Posts: 763
Joined: 21 Aug 17 12:58

Re: Transferring Places labels with GEO Location data

Post by G8DHE »

Ah yes I see where you coming from, its not Image specific metadata so there is no means of holding it other than in the Database, I wonder if there is a routine on the Resources page for doing this or if one could be written ? https://repository.idimager.com/
Geoff Mather (G8DHE)
Roman
Posts: 118
Joined: 20 Dec 09 3:42
Location: Canberra, Australia

Re: Transferring Places labels with GEO Location data

Post by Roman »

I checked out the repository but didn't find anything that looked like it would address my issue.
To me the logical solution would be to extend the ICS schema to include any geolocation data assigned to any label. This would include labels other than place name labels, as any label can have geolocation data assigned to it. The import process should then be modified to optionally permit the assignment of geolocation data to labels during the import process.
Additionally, the export/import Formatted Vocabulary processes should also be modified to include geolocation data assigned to labels.
G8DHE
Posts: 763
Joined: 21 Aug 17 12:58

Re: Transferring Places labels with GEO Location data

Post by G8DHE »

What happens if you tick the "Overwrite pre-existing Geo location data" box ? Does this not write the Geo data at least to the image ? Just tried it here and the Geo location Lat/Long/Alt and it works as expected, with the details added to the actual Image itself not just the Label.
Also the Location data if you set up the profile information is carried across to the actual Image metadata.
Geoff Mather (G8DHE)
Roman
Posts: 118
Joined: 20 Dec 09 3:42
Location: Canberra, Australia

Re: Transferring Places labels with GEO Location data

Post by Roman »

The issue is not with writing to the image. It is with recreating a label from the image metadata duing the import process. The label is created but without any geolocation data assigned.
G8DHE
Posts: 763
Joined: 21 Aug 17 12:58

Re: Transferring Places labels with GEO Location data

Post by G8DHE »

Yes! I see what you mean - again! I always think of the Image data rather than the Label data itself, not having had the need to move such data myself.
I guess you also have a lot of such locations as well, otherwise enable the Geo data "copy to clipboard" and then switch to a separate window with the other database and "paste" the data into the Geo fields, seem to work here, but only viable if its a smallish number to deal with!
Geoff Mather (G8DHE)
Roman
Posts: 118
Joined: 20 Dec 09 3:42
Location: Canberra, Australia

Re: Transferring Places labels with GEO Location data

Post by Roman »

Thanks for the suggestion, but it is not a practical solution for me.
RobiWan
moderator
Posts: 243
Joined: 03 Nov 17 8:14

Re: Transferring Places labels with GEO Location data

Post by RobiWan »

You have the following problem with the way you have proceeded:
1. they are catalog labels
2. the same name but with or without GEO Data are different labels.
3. the only option you have now is to enter the GEO data manually in the other catalog.
4. if the “other” catalog is empty, you can transfer the structure from one catalog to the other.


What you can try - but I don't know if it will work.
1. in the catalog where the GEO data is available, switch on the writing of the ICS data in the settings
2. in the 2nd catalog, switch on the reading of the ICS data
Cheers, Robert

PSU V2025 Single User, Windows 11/MacOS . PSU V2025 PostgreSQL on Debian Linux Server
Roman
Posts: 118
Joined: 20 Dec 09 3:42
Location: Canberra, Australia

Re: Transferring Places labels with GEO Location data

Post by Roman »

Thanks for the ICS suggestion Robert, but that is precisely what I have done.
The problem is that the ICS schema does not appear to record a label's geolocation data. When you import the label into a new catalog the label hierarchy is created but the label has no geolocation data assigned to it.
RobiWan
moderator
Posts: 243
Joined: 03 Nov 17 8:14

Re: Transferring Places labels with GEO Location data

Post by RobiWan »

Then contact support. I think it would be a BUG
Cheers, Robert

PSU V2025 Single User, Windows 11/MacOS . PSU V2025 PostgreSQL on Debian Linux Server
Roman
Posts: 118
Joined: 20 Dec 09 3:42
Location: Canberra, Australia

Re: Transferring Places labels with GEO Location data

Post by Roman »

I tested the "Export Import Catalog Structure" script with an empty database and that does appear to import the geolocation data. Unfortunately, it also imports everything else. Even if I could restrict the import to just the Places labels as I have over 2000 geotagged locations in the catalog and I don't really want to import all of them. The ideal solution for me would be for the image import process to create labels with their associated geolocation data.
I also tested the "Dump Catalog Structure To Text File" script and it does not export the label geolocation data.
If Hert does not respond to this thread in the next few days I will contact support.
Post Reply