Notices


Reply
Thread Tools
Posts: 47 | Thanked: 0 times | Joined on Feb 2007
#151
HI,

Originally Posted by gnuite View Post
Tracks and routes use the same GPX format, and they are interchangeable, so just save the track to a file, then open it as a Route.
1) When I opened the saved track file as a route I got the green route line. However, when I used it with my GPS receiver, the directions and voice were not there. (Waypoints missing?)

2) What is the difference in marks, waypoints, and poi? How is each used?

THank you.
__________________
Regards,

Joe O
 
Posts: 197 | Thanked: 4 times | Joined on Jan 2007
#152
Originally Posted by brendan View Post
having a file name at the end of the destination string forces the copy to write everything into one file. the data gets munged AFAIK.
Munged AFAIK? I'm afraid to ask what that means?!
Are you suggesting that I not use the file name at the end of the destination? Remember, my purpose here is to try and copy back everything after flashing to Gregale.

thanks,
Neil
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#153
Actually, if you are copying a directory to a location, and that location doesn't exist, then that target location is created as a directory. Yes, the trailing slash makes that more obvious, but technically it's not necessary.

nspeer, if that's the only error you got, I wouldn't worry about it. I don't know what the gpe-calendar-rendevous file is, but it's probably a special file or something, which doesn't need to be backed up.
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#154
Originally Posted by joeo View Post
1) When I opened the saved track file as a route I got the green route line. However, when I used it with my GPS receiver, the directions and voice were not there. (Waypoints missing?)

2) What is the difference in marks, waypoints, and poi? How is each used?
A GPX file created by Maemo Mapper (whether it's a track or a route) is just an XML file with a set of trkseg elements, each of which contains a set of trkpt elements. The interpretation of the points differs slightly whether the file is opened as a track or as a route.

Each trkseg represents a different portion of the path (track or route), with a start and end point (which, incidentally, can be the same point if there is only one point in the trkseg). In a track, a start point represents where you first started getting data from a GPS receiver, and an end point represents the last point you got before communication with that GPS receiver was lost. In a route, start points represent "from" locations, and end points represent "to" locations.

If you start a track at point A, then travel to points B, C, D, and E, then turn off the GPS receiver, you have just created a track with start point A and end point E. If you save that track to a file, you will get a single trkseg element with five trkpt elements. If you then open the file as a Route, it will have a start point at A and an end point at E (with no waypoints). You could then follow that route again, at a later date, if you wanted to re-trace your steps.

On the other hand, if you downloaded a route from A to E via the "Route | Download..." menu item, the downloaded route will contain a number of "waypoints." Waypoints are just trkpt elements that have a "desc" element in them, which provides a description for the trkpt (in this case, directions telling you what to do next).

Now, what if, while you were recording your track from A to E, you wanted to add waypoints for reference later? For example, what if you made a turn at point C and wanted to mention that in the track as a waypoint? In the "Track" menu, there is an "Insert Mark" button, which asks for a description. That description gets added to your last trkpt element as a desc element, so if you save the track to a file and then load it as a route, that track mark turns into a route waypoint.

So what about "Insert Break"? Well, tracks have multiple trkseg elements when, for example, you turn off and turn on the GPS receiver multiple times. You can also have multiple trkseg elements for a route, if you (for example) load several routes from file without using the "Route | Clear" menu item. The "Insert Break" button artificially creates an end point and start point, thus creating a new trkseg element. This sort of simulates turning off and turning on a GPS receiver, and you can't add a description to this.

Unfortunately, there is no automatic way (in Maemo Mapper) to convert a track mark into a POI, but this can be done either manually or with a script. There is, however, a way in Maemo Mapper to convert a waypoint to a POI, so one way to "convert" a track mark into a POI is to save your track to a file, load the track as a route, then tap-and-hold on a waypoint and select "Waypoint | Add POI". Still a hassle, I know, but hopefully this will improve.

In summary, a "track" defines where you have been, and a "route" defines where you want to go. A "description" in a track is called a "mark", and a description in a "route" is called a "waypoint", but otherwise, tracks and routes are interchangeable.

Hope this helps.
 

The Following User Says Thank You to gnuite For This Useful Post:
Posts: 47 | Thanked: 0 times | Joined on Feb 2007
#155
Hi Gnuite,

Originally Posted by gnuite View Post
On the other hand, if you downloaded a route from A to E via the "Route | Download..." menu item, the downloaded route will contain a number of "waypoints." Waypoints are just trkpt elements that have a "desc" element in them, which provides a description for the trkpt (in this case, directions telling you what to do next).
OK. A "waypoint" is description in a route. Directions.

Now, what if, while you were recording your track from A to E, you wanted to add waypoints for reference later? For example, what if you made a turn at point C and wanted to mention that in the track as a waypoint? In the "Track" menu, there is an "Insert Mark" button, which asks for a description. That description gets added to your last trkpt element as a desc element, so if you save the track to a file and then load it as a route, that track mark turns into a route waypoint.
OK. A "mark" is a description in a track. A saved track file loaded as route turns a "mark into a "waypoint" So far I am following. At this point I thought I had directions in the route. Then:

Unfortunately, there is no automatic way (in Maemo Mapper) to convert a track mark into a POI, but this can be done either manually or with a script. There is, however, a way in Maemo Mapper to convert a waypoint to a POI, so one way to "convert" a track mark into a POI is to save your track to a file, load the track as a route, then tap-and-hold on a waypoint and select "Waypoint | Add POI". Still a hassle, I know, but hopefully this will improve.
Now, you just lost me. We have been talking about "marks" and "waypoints". Now we are talking about POI. How did POI sneek in here?
__________________
Regards,

Joe O
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#156
Originally Posted by joeo View Post
Now, you just lost me. We have been talking about "marks" and "waypoints". Now we are talking about POI. How did POI sneek in here?
You are right; POI is a completely different subject, and it actually has nothing to do with tracks or routes or how they are stored in a file.

Someone had asked in a separate thread about how to convert track marks into POI. I thought it would be useful to mention here, in case someone else wanted to know.
 
Posts: 47 | Thanked: 0 times | Joined on Feb 2007
#157
HI,

Does any one know which maps and routing service is used by http://www.mapquest.com/

Thank you!
__________________
Regards,

Joe O
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#158
Download and Install Maemo Mapper v1.4.4

v1.4.4 is a minor release with just a few small bug fixes, plus updated Finnish translations.
 
bergie's Avatar
Posts: 381 | Thanked: 847 times | Joined on Jan 2007 @ Helsinki
#159
Originally Posted by gnuite View Post
Download and Install Maemo Mapper v1.4.3

<snip>

* Added native support for OpenStreetMap; made it the default repo.
Great work, Gnuite. Thanks!

Closing bug #492 then...
 
Posts: 75 | Thanked: 4 times | Joined on Apr 2006
#160
I'm working on my semi-transparent poi icons to share with everyone and I wonder about the filename for the category "shopping/services" - what should I do about the slash? It's on a FAT filesystem, so I don't think a slash is a valid filename character. I tried "shoppingservices.jpg" "shopping-services.jpg" and "shopping.jpg" and maemo mapper silently ignores 'em.

So I just looked at through the code to figure out what to do. It uses g_utf8_strdown to convert the name of the category to lower case before looking for the file, but it doesn't bother with illegal file character conversion.

So one workaround is to change the name of the poi category in the code for the next version and go into sqlite3 on the tablet and change the name there to match. I'm not sure what the database name is though. Not really a sql expert anyway.

A better(?) solution would be to implement an illegal filename character conversion function that just made the "/" into a "-" or some other benign character before searching for the file.

Anybody have any thoughts on this?
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:01.