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

ID problems #473

Open
laverastit opened this issue Aug 10, 2020 · 1 comment
Open

ID problems #473

laverastit opened this issue Aug 10, 2020 · 1 comment

Comments

@laverastit
Copy link

Hey!

I have problems with id:s. When I am making new event to the Routegadget it begins to make id:s from the beginning (1) although there are already events which are made before. So the result is that I get duplicate results and the map is not right one. The right id for the next event should be 24 no 1... and so on. Unfortunately some runners have already drawed their routes but I have deleted the events so the routes are in kartat-folder but not visible. How can I solve these problems? Can I somehowe myself change the running id to right one (24)?

@Maprunner
Copy link
Owner

The id is calculated from the kisat.txt file in the kartat. The new id is simply the last id in kisat.txt plus one.

After some testing it looks like it is possible to get an id of 1 if there are two consecutivee blank rows in the file. I can't see any reason why this would ever happen unless somone has editted the file manually.

Please can you post a link to your site and I can have a look. If you can also send me your kisat.txt file it would help.

In theory it is possible to manually edit file names to correct this. Any file name that ends _1.txt needs to be changed to end _24.txt. You would also need to edit the kisat.txt file so that event 24 was the last line. I would recommend backing everything up before you try this.

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