logo separator

[mkgmap-dev] splitter: relations to be checked with keep-complete=true

From Henning Scholland osm at aighes.de on Sun Dec 16 13:03:58 GMT 2012

Am 16.12.2012 13:46, schrieb WanMil:
>> A relation with route=ferry should be handled, because there are some
>> (many ?) ferry-routes are tagged as such a relation and member are empty
>> ways.
> Can you give an example of such a route and how you work with it in
> mkgmap? Why must all parts of the relation be complete in a tile?
This example has no empty way, but only a waterway=seaway and two 
route=ferry-relation

http://www.openstreetmap.org/browse/way/124862398

I'm using in relations-file:
type=route & route=ferry { apply { set route=ferry ; set 
rrk_name='$(rrk_name),${name}' | '${name}' } }

and in lines:
route=ferry & name=* { set mkgmap:ferry=yes } [0x1b road_class=3 
road_speed=2 resolution 16]
route=ferry & name!=* { set mkgmap:ferry=yes ; set name='${rrk_name}' } 
[0x1b road_class=3 road_speed=2 resolution 16]

There is one problem unsolved:

If way is tagged with a name and rrk_name is different (e.g. second 
ferry or two relations etc.), then name is taken only from the way.

Henning



More information about the mkgmap-dev mailing list