
Hi Walter, I think Minkos style contains samples for that as well: type=route & route=bicycle & network=ncn { apply { set ncn_from_relation=yes; set nname='${name}'; set nref='$(nref)/${ref}' | '${ref}'; } } Gerd
From: Walter.Schloegl-Resch@aon.at To: mkgmap-dev@lists.mkgmap.org.uk Date: Tue, 6 Jan 2015 17:33:39 +0100 Subject: [mkgmap-dev] How to evaluate network=e-road if it's in a relation
The following command
highway=* & network=e-road
works fine, if the tag network=e-road is directly attached to the road. But in most cases it is attached via a relation, and in these cases it is not evaluated.
In my relations file there are only rules for type=boundary | type=multipolygon type=route & (route=bus | route=trolleybus | route=ferry | route=subway | route=train | route=tram) type=route & (route=ski)
I am not very familier with the relations commands. Is there a way to refer to network=e-road via the relations file?
Walter
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev