Hi Gerd,
thanks for your help, it’s working.
Using mkgmap makes a lot of fun,
because it’s a perfect software
and because of this premium support.
I think it would be worth to add this also to the default style.
type=route & route=road
{
apply
{
set network='${network}';
set ref='${ref}';
}
}
Also for route=ski I added a copy of piste:type even if
ref and name is missing.
But piste seems to be not used in default
style.
Walter
Sent: Tuesday, January 06, 2015 5:45 PM
Subject: Re: [mkgmap-dev] How to evaluate network=e-road if it's in
a relation
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
_______________________________________________
mkgmap-dev mailing
list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev