Tutorials Contact Us Terms of Use
Log In & Create Route Sign Up & Create Route
Advanced Search Running & Hiking trails Motorcycle roads
Add to del.icio.us Digg this Add to Reddit

Categories

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthortmcian
    • CommentTimeJun 9th 2008
     
    A nice feature would be to be able to compare 2 routes, both for length and elevation.
    This would be particularly usefull to compare 2 ways of getting to/from somewhare.

    I would envision that the second route on the map would display in a different color (or a different line type)
    Then on Show elevation profile, there would be 2 profiles plotted against the same distance axis.

    This would enable you to decide which route to choose based on elevation profile or distance.
    •  
      CommentAuthorPeter-DG
    • CommentTimeJun 9th 2008 edited
     
    I do this by combining routes (downoad the gpx file, combine with notepad, and upload)
    EXAMPLE .
    FavoriteRun.com has a neat option to combine routes in their paid mode [but no "follow roads"].
    • CommentAuthortmcian
    • CommentTimeJun 10th 2008
     
    So do I,
    I now use excel - its not fancy code - but works well and can be used to do say 5 days riding>
    Like all good code its self documenting.
    Surely it would be easy to add something to bikely to replicate this VB code in Java or whatever?

    Sub MergeGPXfiles()
    Trkseg = True
    Open "C:\Documents and Settings\All Users\Desktop\Download\Bicycle_Maps\GPX\Sunshine-Coast-Airport-to-Caloundra.gpx" For Input As #1
    Open "C:\Documents and Settings\All Users\Desktop\Download\Bicycle_Maps\GPX\Caloundra-to-Glass-House-Mountains.gpx" For Input As #1
    Open "C:\Documents and Settings\All Users\Desktop\Download\Bicycle_Maps\GPX\Output.txt" For Output Shared As #99
    Do While Not EOF(1)
    Input #1, Record
    If Record = "</trkseg></trk></gpx>" Then Trkseg = False
    If Trkseg = True Then Print #99, Record
    Loop
    Trkseg = False
    Do While Not EOF(1)
    Input #1, Record
    If Record = "</trkseg></trk></gpx>" Then Trkseg = False
    If Trkseg = True Then Print #99, Record
    If Record = "<trkseg>" Then Trkseg = True
    Loop
    Record = "</trkseg></trk></gpx>"
    Print #99, Record
    Close #1, #2, #99
    End Sub
    •  
      CommentAuthorPeter-DG
    • CommentTimeJun 10th 2008 edited
     
    tmciam -
    I'm not very familiar with excel - I use Lotus (basically the DOS version :-) .
    Your code looks like basic - can you run basic within excel ?
    I can't follow exactly what you're doing but two of your #1 obviously need to be #2.

    Here is how I do it:

    copy file #1 as file #9
    open file #2 with notepad
    delete all lines down to and including the <trkseg>
    delete the last line
    select all [Ctrl+A] copy [Ctrl+C]
    close #2 (don't save)
    open file #9 and paste [Ctrl-V] at the beginning of the last line
    close #9 (do save)

Discover & Share the Best Bike Rides, Trails and Routes

Bikely provides online maps of over 10,000 bike trails from 50 countries around the world - completely free.

You can browse our collection of bike route maps and join our community to share your favorite rides with the world and post in our forum.