Hi Gerd
I did not understand the exact meaning of the error message
Error in style: Error: (inc/compat_lines:124): Unrecognised command 'no'
I guess there is some room for a better message there.
The problem is that setaccess takes one argument, so that setaccess=no
is really:
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Steve
Ratcliffe <st...@parabola.me.uk>
Gesendet: Freitag, 2. Februar 2018 15:42
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Error in style file relations?
Hi Gerd
[mkgmap-dev] Error in style file relations?
Hi Gerd
> line 124 is:
> mkgmap:carpool_compat=yes { setaccess=no; set mkgmap:bus=yes; set
> mkgmap:emergency=yes; set mkgmap:carpool=yes }
>
> I assume it should be
> mkgmap:carpool_compat=yes { setaccess no; set mkgmap:bus=ye
Hi Gerd
line 124 is:
mkgmap:carpool_compat=yes { setaccess=no; set mkgmap:bus=yes; set
mkgmap:emergency=yes; set mkgmap:carpool=yes }
I assume it should be
mkgmap:carpool_compat=yes { setaccess no; set mkgmap:bus=yes; set
mkgmap:emergency=yes; set mkgmap:carpool=yes }
but maybe WanMil
: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Error in style file relations?
Hi
Here is a patch to fix the problem where commands that
are not separated by a semi-colon are not ignored.
Various possible errors are now caught instead of
being silently ignored.
In the original relation file tha
Hi
Here is a patch to fix the problem where commands that
are not separated by a semi-colon are not ignored.
Various possible errors are now caught instead of
being silently ignored.
In the original relation file that Gerd fixed, there was the
following:
$route=road & $network='e-road' {
Hi
Sorry about the duplicate message.
I'll take a look when I get home
This problem can be fixed so that semicolons are not needed, I will
produce a patch tomorrow.
..Steve
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
Hi Gerd
I would have expected it to either work as if the semi colon was there, or give
an error. I'll take a look when I get home
Steve
>
>@Steve: I was a bit surprised that the wrong rule still sets network to
>'e-road' and not to something like
>"e-road add mkgmap:fast_road=yes"
>
>
Hi Gerd
I would have expected it to either work as if the semi colon was there, or give
an error. I'll take a look when I get home
Steve
>
>@Steve: I was a bit surprised that the wrong rule still sets network to
>'e-road' and not to something like
>"e-road add mkgmap:fast_road=yes"
>
>
trag von Gerd
Petermann <gpetermann_muenc...@hotmail.com>
Gesendet: Donnerstag, 1. Februar 2018 16:25
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Error in style file relations?
Hi all,
the default style contains this:
# European E-Road network
route=road &a
Hi all,
the default style contains this:
# European E-Road network
route=road & network=e-road {
apply {
add ref='${ref}';
add int_ref='${int_ref}';
add network='e-road'
add mkgmap:fast_road=yes;
}
}
If I got that right
11 matches
Mail list logo