photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: lbo on October 23, 2018, 05:20:06 PM

Title: GPX file shown in filee window, with pending metadata
Post by: lbo on October 23, 2018, 05:20:06 PM
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
Title: Re: GPX file shown in filee window, with pending metadata
Post by: Mario on October 23, 2018, 05:58:38 PM
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.
Title: Re: GPX file shown in filee window, with pending metadata
Post by: lbo on October 23, 2018, 06:14:19 PM
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
Title: Re: GPX file shown in filee window, with pending metadata
Post by: Mario on October 23, 2018, 06:52:17 PM
IMatch filters files out by extension when scanning folders.
Is your procedure repeatable?
Title: Re: GPX file shown in filee window, with pending metadata
Post by: lbo on October 24, 2018, 11:41:38 AM
I will try to reproduce it next time when I import a GPX track.

Oliver
Title: Re: GPX file shown in filee window, with pending metadata
Post by: lbo on November 01, 2018, 11:13:14 AM
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
Title: Re: GPX file shown in filee window, with pending metadata
Post by: Mario on November 01, 2018, 12:32:30 PM
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.