« New bike | Main | Welcome »

Updates for the week

I've got the QT-Canon repo moved from SVN to Git, and you can now check out the code from my GitHub.  On Ubuntu, you can check out the repo and, if you've got the QT SDK installed, build and run the application.  On Windows, you can check out the code, but you can't build it yet, because I haven't figured out what I need to (and am allowed to) include from the Canon SDK.  Give me a few days, and I should have this worked out.  As far as the Mac goes, well that could never happen, I'm not sure yet.  I guess I'll wait and see what happens once people start using this thing.

On the gpx_tools front, I've made some good progress the last few days.  I know I should be working on the algorithms to figure out how many runs you skied and vertical skied, but I got the idea in my head, that the script should know which resort you skied at and present you with data about that resort.  Because this is a brute force problem, I figured I'd just hit it head on.  I started with a GPX file that had waypoints for all the resorts in North America that I got from Travel By GPS.  I decided to turn this into a general purpose XML file (noth_america.xml), and stripped the GPX specific header from the file.  Then I added more info to each resort including: base elevation, vertical, average snow fall, number of runs, number of lifts, and the url for each resort.  I'm going to the website for each resort (and using wikipedia for the larger resorts), and grabbing the information above and adding it to the XML.  For any of the data I can't get, I put a -1 as a place holder.  When I'm all finished, I can spend time looking for the missing data for each of the resorts.  Here is a sample entry in the XML file:

<wpt lat="39.638997000" lon="-106.347394000">


Next, I updated the ski_stats.pl script to use the XML file to figure out which resort you skied at.  The results are pretty nice:



That's all I've got for now.  Things I plan on tackling in the next week or so are getting the QT-Canon app building on Windows from the GitHub repo, building out the QT-Canon project page, working on the XML file and ski_stats script, and I've been cooking up an idea in my head for another pretty slick QT application.
-- Rob

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>