GPX file shown in filee window, with pending metadata

Started by lbo, October 23, 2018, 05:20:06 PM

Previous topic - Next topic

lbo

Hi,

my file window shows one GPX file, and it has the yellow pencil lit (see screen shot).

I don't see "gpx" in the "File Formats", therefore I didn't expect it to be shown at all.

In the directoy is a second GPX file which is not shown in the file window.

If I hover over the yellow pencil, IMatch tells me that XMP::dc\Title is to be written.

Anything I missed?

Oliver

Mario

IMatch does not import GPX files by default. I don't know how you managed to add it. Maybe via a custom app or something?
Just remove it from your database via the context menu > Remove from Database. 

IMatch allows XMP data for all files, so you can add a title even to a .dat or a .bin file when you index these in your database.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

lbo

yes, it's rather strange, therefore I posted my observation.

"Remove from Database" helped, thanks!

BTW: I didn't use any custom app, but I remember what I did:

The GPX file I used initially, had a rte (route) section which I didn't want to show in the map panel. Therefore I opened the GPX file in a text editor, removed the rte section and saved it under a new name.

When I switched back to IMatch, the new file showed up in the file window.

Oliver

Mario

IMatch filters files out by extension when scanning folders.
Is your procedure repeatable?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

lbo

I will try to reproduce it next time when I import a GPX track.

Oliver

lbo

Quote from: Mario on October 23, 2018, 06:52:17 PM
IMatch filters files out by extension when scanning folders.
Is your procedure repeatable?

yes, I could reproduce it, and I have more information:

The file was first saved as foobar.gpx.txt (the text editor insisted on appending .txt) and then renamed to foobar.gpx in the Windows Explorer (not in IMatch).

IMatch picked up the file while it had the .txt extension, and later it detected the external rename (didn't expect this, but I like it).

I guess "filtering out by extension" isn't executed when a external rename is handled.

I'm not sure which behavior other users expect. They might want to keep files visible if they are renamed externally. Or they expect it to vanish.

For me, it was surprising, but knowing the reasons now, it's o.k.

Oliver

Mario

IMatch monitors the file system to detect renames. This is a requirement.
But renaming a .txt file to a .gpx file later is probably not something many people will ever do and hence I think I won't add extra special handling for this fringe case.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook