This object is in archive! 

Add "Overwrite points" option to Import data/Points dialog

elmuSSo shared this idea 11 years ago
Completed

Hi. The new Import data/Points dialog is really nice! Its great that is remember the last used category! Really, really useful. I have only one additional idea what should be added to it to make it even better.


Overwite points option. If you are importing new geocaches to the same category everyday, it can be useful. I also think, this option should be remembered for each of the category. So for example in my case, I would check this option for category "Kesze"(caches) but not for other categories. So Kesze would be remembered to always Overwrite the imported points, but other categories will have this option unchecked.

Replies (12)

photo
0

Hi,


hmm but when you confirm this dialog, then if you import came caches into category, you`re asked if you want to overwrite it, don`t you? (like on this image)


Files: img.png
photo
0

Im doing this very often, and its two additional clicks. And im always importing to the same category, and I always want to overwrite. So clicking that all the time is very frustrating.

photo
0

understand - but sorry, this seems crazy for me. Dialog in my post appear in case you`re trying to add to some category point that already exist. So this dialog will have to still exist and work in Locus.So sorry, but this will completely crash system that is currently used and also will not bring any benefit by me, just two less clicks once a day

photo
0

Im not saying to kill the dialog. this dialog is very useful, but can`t you somehow make it saveable what did you choose last time? Maybe add some checkbox like "Remember my choice for this category".


Or can you make the "Apply to all" checkbox, always be checked? Or make it checked if you checked it last time, when you were importing to that category. Sometimes this is more than once per day. Im using external app to import geocaches GPX file, and im very often overwriting all the points ( because this is how the external app works - it doesn`t know if I have these points already loaded). So this is really frustrating that my last choice is not remembered, and I need to constantly click again on the "Apply to all" and then Overwrite. So please, add some small upgrade without destroying your system,

photo
0

hmm so


1) I agree that this can be useful in some cases


2) you have to agree that such functionality should be useful for around 1% of all users, so every new GUI stuff will be confusing I think


3) for this case seems to me best this solution


- next parameter in config file, that define list of categories


"import_always_overwrite_points_in_categories"


so implemented

photo
0

This is cool... almost. Is it for every category or can I define the category which will use it? Besides that one geocaching category, I would like to have this security mechanism, to not overwrite my others points by accident. So the whole point was to add Overwrite option PER category, no to apply to all categories. Is this implemented?

photo
0

read description in config file ( http://docs.locusmap.eu/doku.php/manu... )


# always overwrite duplicate points during import in listed categories (names of categories separated by `|`, for example `=favorites|geocaching`)


import_always_overwrite_points_in_categories=


and tell me what you think. If it`s not clear enough, I`ll try to improve it

photo
0

cool. this is really good. thank you so much. this will make my life much easier. cheers Menion!

photo
1

Does this work? I changed the config.cfg and edited the parameter:

import_always_overwrite_points_in_categories=Geocaching

This didn't work, so I tried

import_always_overwrite_points_in_categories='Geocaching'

But still Locus ask me if I want to overwrite geocaches for this category...

I was also wondering why someone want these points multiple times? It's always a pain when I forget to check this parameter. I don't want to think about it anymore.

For me it's simple:

-Geocaching points should always be overwritten. Never ask.

-Other points: for me it's always 'neglect', never overwrite. Here you may ask it.


Locus Pro version 3.0.2

photo
1

Hi,


I'm just testing it and it seems to work correctly. Please do double check on name of your folder in Locus and text in cfg file. Mainly if you for example edit config.cfg over windows total commander, be sure file is really saved.


And second part:

If Locus force overwrite, there won't be possibility to say "no, I don't want". So this is more general solution. And for thouse who has "problems" with it, cfg should work.


Please check it once more and let me know.

photo
1

I have tested it multiple times, with and without quotes, with 1 and multiple categories, but the behavior stays the same.

To be sure that we talk about the same:

- I import geocaches with the Geocaching4Locus addon (for example 5)

- When it has done importing, Locus shows me a window "Import Data" (in Dutch)

- The categorie is correct, see attachment. I press Import

- Locus shows me a window (see attachment 2) with the question of I want to overwrite everything... Of course I want, I have set this in the config.cfg!


Kind regards

photo
1

Ah that was quite important information - by G4L add-on! I've always tried PocketQuery of some files from card. Import directly from add-on skip just one small step where this was set. So thank you! Will be fixed in next version.

Replies have been locked on this page!