Location in XMP bei Geo Data

Started by Rene Toepfer, March 24, 2021, 05:27:48 PM

Previous topic - Next topic

Rene Toepfer

I try to use these values as placeholders for my Metadata: {city}, {state}, {location}. As described in Help, I have left the masks for them empty

If I set {city} in Metadata tag Composite\City the field remains empty.
The file contains GPS data which will also be used for the Map and works there fine. As Geoservice I use Geonames.org with an account.
How can I make it work that city, state and location will be filled-in in Metadata?


As per https://www.photools.com/help/imatch/#md_templates.htm?dl=h-8 the GPS data should be work.

Mario

I don't understand what you are doing. You use placeholders where?
The only place I remember where this can be used is to control how the city name is formed when IMatch does reverse-geocoding (because of the ZIP etc.).
This is not used by Metadata Templates.

Metadata Templates offer an option to match the processed files via the GPS coordinates to one of the locations you have created in the Map Panel.
And if found, the data of the location is added to the image file. This is useful when you often take photos at the same locations and you don't want to use reverse geocoding or want to fill in the data by hand for best precision.

Reverse geo-coding is unrelated to Metadata Templates. You trigger it manually via a menu command or let IMatch automatically reverse geo-code files when you add or change their GPS coordinates in the Map Panel.
Keep in mind that GeoNames.org is a free service, financed by donations (mostly from online casinos, it seems).
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Rene Toepfer

I was of the opinion that I can use {city} of the Geodata also within a Metadata template. But you answered what I was afraid of: I need to set the locations manually to get them automatically added in XMP Metadata or run manually a reverse geocoding.


Geonames is definitelly not my first choice. I would like to use Google but I have difficulties in creating an API key. I have either "developer mode" as a layer at the maps or nothing (IMatch prompts "Hoppla" on the map).

Mario

If you create locations for frequently uses places (studio, venues, ...) IMatch can use them automatically to add location data to files using the GPS coordinates of the files. Very convenient and works well without reverse geo-coding.
For all else, we have now reverse geo-coding.

The user interface provided by Google is not meant for normal users but developers. This makes it a bit complex. Google does not care. Bing is not much easier, unfortunately.
Usually I would do that and route all your requests through a server I maintain. I would have to pay for the API usage of all IMatch users, which is impossible.
This is why you need to create your own account. Sorry.

After creating your Google account, adding payment information you create a project in the API manager (https://console.cloud.google.com/apis/dashboard) and add the 3 services listed on this page https://www.photools.com/imatch/api-keys-explained/. This enables map usage (for the Map panel), and reverse search/elevation for reverse geo-coding.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Rene Toepfer

Quote from: Mario on March 24, 2021, 06:46:21 PM
This is why you need to create your own account. Sorry.
No worry about it. You have made a comprehensible explanation.


Meanwhile I have solved this issue. It was the missing payment account. Afterwards adding them to the API key, it works.


Why is isn't it possible that IMatch does an automatic geodecoding?

Mario

#5
Why is isn't it possible that IMatch does an automatic geodecoding?

It does. You need to enable it under Edit > Preferences > Geo & Maps (because it can cost money).
As I said above, if enabled, IMatch automatically does reverse geocoding when you add or modify GPS coordinates in the Map panel.
And also when files are imported or updated.

To reverse geocode files which already are in the database, use the Tools menu > Reverse geocoding command.

Reverse Geocoding

Finding files without location data is easy with a simple Metadata Value filter in the Filter panel.

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook