<br><br><div><span class="gmail_quote">2007/3/29, Stéphane Pontier &lt;<a href="mailto:shadow.w@gmail.com">shadow.w@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I finally found time to work again on the kmlexport. I use QDom and merge it<br>with gpssync plugin. It can now take a gpx file to create a track with the<br>pictures.</blockquote><div><br><br>ok. I have checked your code (not tested, i&#39;m busy right actually). It look fine for me...
<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Next thing to implement is to give user the choice of the track and picture<br>
style (color, width and elevation mode) but before going further, I wanted to<br>have your opinion on this plugin.</blockquote><div><br>sure. It&#39;s better to post your patch and the comments into B.K.O, especially in this file :
<br><br><a href="http://bugs.kde.org/show_bug.cgi?id=139793">http://bugs.kde.org/show_bug.cgi?id=139793</a><br><br>Important : these files sound like relevant of your patch :<br><br><a href="http://bugs.kde.org/show_bug.cgi?id=135386">
http://bugs.kde.org/show_bug.cgi?id=135386</a><br><a href="http://bugs.kde.org/show_bug.cgi?id=135387">http://bugs.kde.org/show_bug.cgi?id=135387</a><br><br>If yes, tag these files like dupplicate of #139793, if no, just post a comment
<br>&nbsp;</div>Stephane, if you want to touch the real users of GPSSync plugin, i recommend you to use B.K.O instead mailing, because B.K.O file time live is infinte. Also comments posted to B.K.O are CC to mailing list...<br>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">To create the track I had to add a lineString method to the GPSDataParser<br>class. The track created is time independent and cant be clicked. If I want
<br>to be able to create a track which can be clicked (to get information about<br>to road taken between two picture for example) I have to create a new set of<br>points using time and localisation of each gpx point. I can add this
<br>functionality to GPSDataParser class, but since it&#39;s more kml function<br>related than GPS data parsing, isn&#39;t it cleaner to create a new class<br>derivate from GPSDataParser to put all kml related method in ?
</blockquote><div><br>yes, its better to derivate the class. <br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">the diff file is here:
<br><a href="http://stpo.homelinux.org/data/gpssync-kmlexport.diff">http://stpo.homelinux.org/data/gpssync-kmlexport.diff</a><br><br>the example file (for googleearth):<br><a href="http://stpo.homelinux.org/data/kmltest/kmldocument.kml">
http://stpo.homelinux.org/data/kmltest/kmldocument.kml</a><br><br>the example file (for googlemaps):<br><a href="http://stpo.homelinux.org/data/kmltest2/kmldocument.kml">http://stpo.homelinux.org/data/kmltest2/kmldocument.kml
</a><br><br><br>When I checked the result on the map (see the examples) I was wondering why to<br>points where standing out of the track (img_5161_jpg.jpeg and<br>img_5168_jpg.jpeg). I found out that these two points where interpolated and
<br>found out that the formula to interpolate points should be<br>point1 + (point2-point1) * (time3-time1)/(time2-time1)<br>instead of<br>point1 + (point2-point1) * (time2-time1)/(time3-time1)<br>after using the attached patch, the pictures where interpolated correctly and
<br>get back to the track.</blockquote><div><br>No idea as well. Need to test, and i busy now. Try to get comment in B.K.O with others users.<br><br>Gerhard, have you any ideas ?<br><br>Gilles</div></div><br>