logo separator

[mkgmap-dev] Re: Questions related to practical usage of MKGMAP

From Thilo Hannemann thannema at gmx.de on Thu Jul 2 06:43:34 BST 2009

I've attached Toby's patch. I'm using it and it works well, *if* the  
polyline is long enough. When using it for cycleroutes for example  
they tend to be made of lots of tiny pieces and the road symbols won't  
be displayed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: highwaysymbols.patch
Type: application/octet-stream
Size: 14480 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090702/6804e527/attachment.obj 
-------------- next part --------------



Another patch you might be interested in is the  
"generate_highways_from_relations" patch. This allows to write  
something like
	type=route & route=bicycle & network=tcn [ 0x02 road_class=3  
road_speed=6 level 3 ]
into the relations file. It will generate a copy of all the ways that  
belong to that relation. The ways will get joined together, so that it  
is not lots of tiny pieces, but only as much ways as there are non- 
continuous parts of the route.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: generate_ways_from_relations.patch
Type: application/octet-stream
Size: 8574 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090702/6804e527/attachment-0001.obj 
-------------- next part --------------



Another patch: "bugfix_overlays". When using overlays and routing, the  
routing information is added once for each of the overlayed Garmin  
types without this patch. This is unnecessary, because the overlayed  
ways differ only in the Garmin type, but nothing else. Also a copy of  
the points that the way is made of is created, instead of simply  
copying a reference. Without it there was some weird behaviour, but I  
cannot put my finger at the reason for that.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugfix_overlays.patch
Type: application/octet-stream
Size: 1397 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090702/6804e527/attachment-0002.obj 
-------------- next part --------------



And finally one patch that you might want to apply: "start-with". This  
adds a text filter for variable substitution. You can say for example $ 
{name|start-with:Hospital }. This will put the string "Hospital " in  
front of the name, but only if that string doesn't contain "Hospital"  
somewhere already. Note that the trailing space of "Hospital " gets  
trimmed for the search. It is really useful for POIs, especially if  
you have different types of POIs that will all get displayed in the  
same category on the GPS. For example hotels and hostels. With start- 
with you can make sure that the string "Hotel" resp. "Hostel" is part  
of the name, so that you can distinguish them in the search results on  
the GPS.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: start-with.patch
Type: application/octet-stream
Size: 2396 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090702/6804e527/attachment-0003.obj 
-------------- next part --------------



Regards
Thilo


More information about the mkgmap-dev mailing list