logo separator

[mkgmap-dev] How to evaluate network=e-road if it's in a relation

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Jan 6 16:45:49 GMT 2015

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 at aon.at
> To: mkgmap-dev at 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 at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150106/1d6795cb/attachment.html>


More information about the mkgmap-dev mailing list