Re: [mkgmap-dev] Error in style file relations?

2018-02-03 Thread Steve Ratcliffe
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:

Re: [mkgmap-dev] Error in style file relations?

2018-02-03 Thread Gerd Petermann
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

Re: [mkgmap-dev] Error in style file relations?

2018-02-02 Thread lig fietser
[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

Re: [mkgmap-dev] Error in style file relations?

2018-02-02 Thread Steve Ratcliffe
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

Re: [mkgmap-dev] Error in style file relations?

2018-02-02 Thread Gerd Petermann
: 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

Re: [mkgmap-dev] Error in style file relations?

2018-02-02 Thread Steve Ratcliffe
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' {

Re: [mkgmap-dev] Error in style file relations?

2018-02-01 Thread Steve Ratcliffe
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

Re: [mkgmap-dev] Error in style file relations?

2018-02-01 Thread Steve Ratcliffe
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" > >

Re: [mkgmap-dev] Error in style file relations?

2018-02-01 Thread Steve Ratcliffe
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" > >

Re: [mkgmap-dev] Error in style file relations?

2018-02-01 Thread Gerd Petermann
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

[mkgmap-dev] Error in style file relations?

2018-02-01 Thread Gerd Petermann
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