Skip to content

fixed abort when position_lat / long = none#11

Open
Maxklos wants to merge 1 commit intododo-saba:mainfrom
Maxklos:main
Open

fixed abort when position_lat / long = none#11
Maxklos wants to merge 1 commit intododo-saba:mainfrom
Maxklos:main

Conversation

@Maxklos
Copy link
Copy Markdown

@Maxklos Maxklos commented Dec 16, 2023

When position_lat or position_long is "None" the script would abort. now the value is set to 0.0.

I ran into this problem while my GPS-Device had an Hardware issue, and i couldn't combine these files. Now these files work as they should.

When position_lat or position_long is "None" the script would abort. now the Value is set to 0.0
@dodo-saba
Copy link
Copy Markdown
Owner

Hi @Maxklos - apologies for the delay, I'm only getting to all the requests now.

Could you please upload an example FIT file that created this error?

The original script is meant to handle points that are None, so I am surprised to find this error.
In addition, I fear coding None points to 0,0 could create fake points with wrong coordinates.

Very keen to fix this issue, but want to understand it first.

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

Successfully merging this pull request may close these issues.

2 participants