Subject: Re: [mkgmap-dev] maxspeed evaluation
>
> Hi Bernd,
>
> > Maybe if i try to '+0'
>
> My guess is that simple +0 is a number while '+0' is a string, and
> probably mkgmap:road-speed expect a string. So I suggest to try:
>
&g
Hi Bernd,
> Maybe if i try to '+0'
My guess is that simple +0 is a number while '+0' is a string, and
probably mkgmap:road-speed expect a string. So I suggest to try:
mkgmap:road-speed='+0'
--
Best regards,
Andrzej
___
mkgmap-dev mailing list
mkgm
eed-max=* & mkgmap:road-speed!=* { add
> > mkgmap:road-speed=0}
> >
> > Alternative:
> > Change the java code (and docu) to always evaluate mkgmap:road-speed-max
> > (and -min)
> >
> > Any comments?
> >
> > Gerd
> >
> > From:
Hi Andrzej,
I agree that the relation between tag mkgmap:road-speed='-0'
and mkgmap:road-speed-max is hard to understand.
I see no good reason for keeping the java code.
Gerd
popej wrote
> Hi Gerd,
>
> > I think the advantage of my version is that it doesn't override
> > an existing mkgmap:
Hi Gerd,
> I think the advantage of my version is that it doesn't override
> an existing mkgmap:road-speed=* tag.
Yes, I have noticed. Maybe that kind of action would be simpler:
... { add mkgmap:road-speed='-0'; set mkgmap:road-speed-max = 2 }
I think that making mkgmap:road-speed-max independ
mkgmap-dev@lists.mkgmap.org.uk
> Date: Fri, 14 Aug 2015 09:17:09 +0200
> Subject: Re: [mkgmap-dev] maxspeed evaluation
>
>
>
>
> Hi,
>
> I think the java code works as documented in the style manual.
>
> A possible solution in the style:
> Add the fo
Date: Fri, 14 Aug 2015 09:17:09 +0200
> Subject: Re: [mkgmap-dev] maxspeed evaluation
>
>
>
>
> Hi,
>
> I think the java code works as documented in the style manual.
>
> A possible solution in the style:
> Add the following two lines at the end of inc/roadspeed:
&
2015 10:30:25 +0200
> Subject: Re: [mkgmap-dev] maxspeed evaluation
>
> Hi Gerd,
>
> > The tag mkgmap:road-speed-max=* is only evaluated
> > by mkgmap when the tag mkgmap:road-speed=*.
> > If mkgmap:road-speed is not set, the value in
> > mkgmap:road-speed-m
Hi Gerd,
> The tag mkgmap:road-speed-max=* is only evaluated
> by mkgmap when the tag mkgmap:road-speed=*.
> If mkgmap:road-speed is not set, the value in
> mkgmap:road-speed-max is completely ignored.
My early proposition for limiting speed looked like this:
... { set mkgmap:road-speed='-0'; se
m
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Fri, 14 Aug 2015 09:17:09 +0200
Subject: Re: [mkgmap-dev] maxspeed evaluation
Hi,
I think the java code works as documented in the style manual.
A possible solution in the style:
Add the following two lines at the end of inc/roadspeed:
# make sure
add mkgmap:road-speed=0}
Alternative:
Change the java code (and docu) to always evaluate mkgmap:road-speed-max (and
-min)
Any comments?
Gerd
From: gpetermann_muenc...@hotmail.com
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Fri, 14 Aug 2015 08:32:29 +0200
Subject: [mkgmap-dev] maxspeed evalua
Hi all,
I think the rules in the default style don't work.
Example: a way with two tags
highway=tertiary and maxspeed=30
will have the same attributes as one with
highway=tertiary and maxspeed=70
or one with
highway=tertiary and maxspeed!=*
although inc/roadspeed sets different
values for mkgmap:
12 matches
Mail list logo