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

No elevation data fetched #100

Open
ghost opened this issue Sep 21, 2016 · 6 comments
Open

No elevation data fetched #100

ghost opened this issue Sep 21, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Sep 21, 2016

Hi Ryan,
first of all thanks for the great program.

I just got the TomTom Runner3. I downloaded an activity via 'ttwatch --get-activities' and converted the file to csv with 'ttbincnv -c File.ttbin'.

I did some investigation and I am sure that the statement 'download_elevation_data(ttbin);' is executed (I inserted a fprint before that line and the comment was printed to the screen).

Further, the headerline of the csv file is slightly inconsistent with the table. E.g. the last column shall be local time, but second last column is the local time and the last column is duration is MM:SS, the first column is duration in seconds. Heart rate is missing on purpose in the attached file.

Best regards,
Klaus

Some additional inf: it seems that https://mysports.tomtom.com/tyne/dem/fixmodel has gone out of service. It reports in a browser 'Sorry, the requested page could not be found.' I added in ttbin.c after line 903 the line 'printf("%s \n", s1); and the output is:

`

<title>302 Found</title>

Found

The document has moved here.

`

Best regards,
Klaus

Running_17-50-57.csv.txt
Running_17-50-57.ttbin.txt

@ryanbinns
Copy link
Owner

I hadn't noticed that their elevation model has been taken down, but yes, it's not available at that location any more. When I get a chance, I'll check to see if they've moved it, or if they've discontinued it completely.

@ghost
Copy link
Author

ghost commented Oct 5, 2016

Ryans, I will reach out to the owner of http://www.gpsvisualizer.com/elevation and ask whether he is willing to support batch operations so that this web page might be used instead of the TomTom's one

@ghost ghost closed this as completed Oct 5, 2016
@siegbewi
Copy link

Hello Ryan,

thank you for your great work.

Can this issue be reopened, since it is not solved?

Greetings,
Siegfried.

@ryanbinns
Copy link
Owner

Sure. I didn't realise it had been closed; it wasn't closed by me.

@ryanbinns ryanbinns reopened this Jan 30, 2017
@runningt
Copy link

runningt commented May 30, 2017

While waiting on this issue to be fixed I created simple project to enhance TCXs exported from TomTom Runner with elevation data from Mapzen Elevation Service. It is very draft version yet but maybe it could be useful for someone.

@ryanbinns:
As @KlausKhe noticed, the issue is in ttbin.c file in download_elevation_data() method.
The problem is that tomtom fixmodel API you are using https://mysports.tomtom.com/tyne/dem/fixmodel seems not to be working any more.
Perhaps you could also use external elevation API like mapzen instead.

@TheAkki
Copy link

TheAkki commented Sep 7, 2019

Hello @ryanbinns ,
I have forked this nice Project and have implemented to use an open-elevation server to get the elevation data.
See TTWatch: https://github.com/TheAkki/ttwatch
See Open-Elevation: https://github.com/TheAkki/open-elevation (Use 30m SRTM data)

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

4 participants