Dear Helmut,

thank you very much for your hint. I'm really interested to learn how to deal with it.

I installed Python3 on Debian to run pyclimb.py.

But I have some basic questions regarding Python, which would not be issues for this list.

Maybe I may write you to your private email-address?


Kind regards


Axel


Am 13.03.2018 um 20:52 schrieb Helmut Schmidt:
Hi Axel,

could Python be a choice instead of C++?
Then you might have a look at program from me with very a simple GPX parser inside:
Have a look at class Track: in
https://github.com/huirad/pyclimb/blob/master/pyclimb.py

It only implements reading from a GPX file.
However I assume that writing a GPX fiel after manipulation should not be too difficult then.

Have fun,

Helmut

Am 13.03.2018 um 19:08 schrieb Oliver Eichler:
Ah, ok I recall the stuff.


I do not know of a library to read GPX files written in C or C++. In the first place you need an XML parser and writer. There are libraries for that task. Qt
has one, too. That's what I use in QMS.

Of course you can extract the code from QMS. But the GPX and track classes and
their sub-classes are quite some beasts. After all tracks are incredible
complex GIS items.

So you might end up like Karl, writing your own track filter in QMS. By that you can focus on the task without dealing too much with GPX, drawing stuff
etc..


Oliver





Am Dienstag, 13. März 2018, 14:07:43 CET schrieben Sie:
-------- Weitergeleitete Nachricht --------
Betreff:     Fwd: Re: [Qlandkartegt-users] Shift the Startpoint from a
track to another point; Programming an own tool
Datum:     Tue, 13 Mar 2018 14:03:35 +0100
Von:     APM <apschwim...@apmland.de>
An:     Qmapshack mailing list <qlandkartegt-users@lists.sourceforge.net>



Note: I got a SMTP error for my first mail, second try.

Hi Oliver,


yes of course!

We mainly use circle hiking paths, the tracks are given. The track
starts and end at the same point.

But from time to time we start and finish at another point on the circle.

Problem: If I use my Garmin  GPS with this track, the "journey-computer"
(in German menue 'Reisecomputer') shows me the remaining distance and
time to the end of the track, which is not the endpoint we really have
and the remaining distance and time are 'wrong'.

My idea is to manipulate the track in this way, that I define a new
startpoint and the c++ programm change the trackpoints in accordance to
the new startpoint.

So far as I know, the Garmin GPS can't do a shift of a startpoint from a
track.


Kind regards


Axel

Am 13.03.2018 um 12:57 schrieb Oliver Eichler:
Can you explain again what you want to do? It sounds like moving
trackpoints without changing the timestamp or other properties.

Oliver

Gesendet: Dienstag, 13. März 2018 um 10:09 Uhr
Von: APM <apschwim...@apmland.de>
An: "Qmapshack mailing list" <qlandkartegt-users@lists.sourceforge.net>
Betreff: [Qlandkartegt-users] Shift the Startpoint from a track to
another point; Programming an own tool

Dear all,

for a couple of month I asked in this list how to shift a startpoint
from a given track without to cut and assemble the track.

It's a pity, but I have no solution until now or do not understand what
to do in this case.

My idea is to progamm a tool in C++ of my own, but I'm inexperienced.

My question is, if there's a class in the libary I can use  or maybe a
similar tool is already present?


Thank you very much!


Kind regards


Axel




-------------------------------------------------------------------------
----- Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

--------------------------------------------------------------------------
---- Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to