icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • bluetooth / serial / internal GPS, simulator
  • offline raster maps (common grids and projections)
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • ... and more
  • MIDP and Symbian phones
  • Blackberry
  • Android
  • Windows Mobile 5.x/6.x
  • Windows Phone coming
Visit our wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
New tool for routecreation?

 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Tools
View previous topic :: View next topic  
Author Message
periklast



Joined: 18 Jul 2008
Posts: 10

PostPosted: Fri Aug 08, 2008 6:17 pm    Post subject: New tool for routecreation? Reply with quote

I found this url from google maps for calculating a route:
http://maps.google.com/maps?output=kml&saddr=" + sAddy + "&daddr=" + dAddy
where sAddy = startadress & daddr = destination adress

You get an kml-outputfile.
This file had the waypoints and description like GMaptoGPS but it has also all tags with the detailed track.
Before, in trekbuddy, all waypoints where connected with a straight line. But the street is mostly not a straight line (ex a long motorway of 20km).
But, now, in this kml-file, all point of all turns in the streets are available.

Is it possible to import such an file in trekbuddy? Now, i can export the file to gpx but when I load the file and choose "route along", every point has an circle.

Sorry for my English
Back to top
View user's profile Send private message
tchelo_mgf



Joined: 19 Jan 2008
Posts: 75
Location: Brazil - S23°13'6" W46°52'33"

PostPosted: Fri Aug 08, 2008 10:01 pm    Post subject: Reply with quote

Hello periklast:

You can use the GPS Utility on http://www.gpsu.co.uk to convert the kml to gpx (the freeware version can work up to 100 waypoints):
- Open the kml file, choose 'Abort' option to ignore the full tracking information.
- Save as GPX format containing only the waypoints
Back to top
View user's profile Send private message
periklast



Joined: 18 Jul 2008
Posts: 10

PostPosted: Sat Aug 09, 2008 7:36 am    Post subject: Reply with quote

This example shows the problem:
red = waypoint (with desciption "turn left/right,...") green = trkpt (intermediate points for fit the line on the street).
So, now in Trekbuddy, is see the left image, but if we can implement the trkpt points, you get te right image.



tmp.JPG
 Description:
 Filesize:  124.39 KB
 Viewed:  4903 Time(s)

tmp.JPG


Back to top
View user's profile Send private message
Loonix



Joined: 23 May 2008
Posts: 106
Location: Hamburg, Germany

PostPosted: Sat Aug 09, 2008 9:28 am    Post subject: Reply with quote

Why not simply use www.gpsies.com to convert the kml file?

Its webbased so there is no hussle with installed programs and it retains the trackpoints...
at the moment i dont know thou if it keeps the 'turn left' comments of the navigation
Back to top
View user's profile Send private message
periklast



Joined: 18 Jul 2008
Posts: 10

PostPosted: Sat Aug 09, 2008 10:28 am    Post subject: Reply with quote

Here the kml & gpx file (kml->gpx with gpsbabel).

In the gpx, you see the normal waypoint for navigation ex
Code:
<wpt lat="51.068180000" lon="3.749640000">
  <ele>0.000000</ele>
  <name>Sla linksaf bij Sint-Bernadettestraat</name>
  <cmt>rijd 1,1&amp;#160;km</cmt>
  <desc>rijd 1,1&amp;#160;km</desc>
</wpt>....


But after that, there is an list of points (see previous post, the green spots):
Code:
<name>Route</name>
<trkseg>
<trkpt lat="51.072250000" lon="3.747500000">
  <ele>0.000000</ele>
</trkpt>.....


With these list of points, it's possible to get an detailed track (right image, previous post) and not an "raw" map like the left image.
Isn't that nicer to see that in trekbuddy instead of the "raw" route?



kml.txt
 Description:
KML-file

Download
 Filename:  kml.txt
 Filesize:  17.59 KB
 Downloaded:  4 Time(s)


gpx.txt
 Description:
GPX-file

Download
 Filename:  gpx.txt
 Filesize:  27.62 KB
 Downloaded:  4 Time(s)

Back to top
View user's profile Send private message
Ludwik



Joined: 13 Jul 2007
Posts: 18

PostPosted: Sat Aug 09, 2008 11:31 am    Post subject: Reply with quote

http://www.elsewhere.org/GMapToGPX/
_________________
http://ludwik.ovh.org
Back to top
View user's profile Send private message Visit poster's website
periklast



Joined: 18 Jul 2008
Posts: 10

PostPosted: Sat Aug 09, 2008 12:09 pm    Post subject: Reply with quote

Thanks,
But I know that tool but the gpx-file only had the waypoints, so you get an route like the left image in my second post in this thread and not an detailed route Wink
Back to top
View user's profile Send private message
Ludwik



Joined: 13 Jul 2007
Posts: 18

PostPosted: Sun Aug 10, 2008 11:11 am    Post subject: Reply with quote

periklast wrote:
Thanks,
But I know that tool but the gpx-file only had the waypoints, so you get an route like the left image in my second post in this thread and not an detailed route Wink

It also can generate detailed GPX files. You just have to choose "Full".

_________________
http://ludwik.ovh.org
Back to top
View user's profile Send private message Visit poster's website
periklast



Joined: 18 Jul 2008
Posts: 10

PostPosted: Sun Aug 10, 2008 1:46 pm    Post subject: Reply with quote

Ok, that works.
Only problem is
* long loading time of the file in my mobile
* A lot of circles, it would better only cirkles around the waypoints with an description ("turn left" etc) and the rest of the intermediate points only used for the detailed trackline.

But for now, problem solved Wink Thanks
Back to top
View user's profile Send private message
surinuri



Joined: 01 Mar 2008
Posts: 2
Location: Hungary

PostPosted: Sun Aug 10, 2008 1:58 pm    Post subject: Reply with quote

Ludwik wrote:

It also can generate detailed GPX files. You just have to choose "Full".

And if you replace each cmt tag with name, it will be displayed on the map for the active waypoint (e.x. "Turn right at King Street").
Back to top
View user's profile Send private message
surinuri



Joined: 01 Mar 2008
Posts: 2
Location: Hungary

PostPosted: Sun Aug 10, 2008 2:02 pm    Post subject: Reply with quote

periklast wrote:

* A lot of circles, it would better only cirkles around the waypoints with an description ("turn left" etc) and the rest of the intermediate points only used for the detailed trackline.


Uncheck Settings/Navigation/POI icons.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Tools All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group