Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Avoid double import of GPX-files #139

Open
update-freak opened this issue Dec 6, 2024 · 2 comments
Open

[Feature request] Avoid double import of GPX-files #139

update-freak opened this issue Dec 6, 2024 · 2 comments

Comments

@update-freak
Copy link

Hi developer,

I import all my GPX-file (about 200) from a folder.
Accidently I imported them again after I did the update to v.0.12.0.
So maybe it would be good to have a import check to avoid double import, e.g. depending on name etc. a message:
"Track XY already exists. Are you sure to import this track" -> Yes, to still import and No, to skip the import of this single file.
This should then also work for importing a whole folder with multiple files.

@update-freak
Copy link
Author

and I think it would makes to have also the following option in the settings how to handle the import of double tracks:

  • skip all double found tracks while the import => with this setting it's still possible to select whole folders with large amount of GPX-files
  • raise the message while importing and a track is already there => message as in my first post (skip or import)

@Flomp
Copy link
Owner

Flomp commented Jan 5, 2025

I agree that this should be an option when importing. IMO, this check should not simply be based on the name though but rather on geospatial similarity between tracks (aka the uploaded track follows an already uploaded track closely).

That is of course a much more complicated problem to solve than a simple string comparison. But I think that this is a feature that might also come in handy in other parts of the app. So I'll look into it and report back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants