logo separator

[mkgmap-dev] default style improvements

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Mon Nov 12 15:19:30 GMT 2018

Hi Gerd

I thought of doing it as you suggest but then it's wrong when there
is a [type ...] part, which I also want indented, ie

some condition {
   } [0x01 resolution 20]

not that I can find any examples. And I feel that its clearer that all
parts of a continuation of a rule are indented. 


On Mon, 2018-11-12 at 14:55 +0000, Gerd Petermann wrote:
> Hi Ticker,
> reg. the curly brackets in the barrier section I must say that i
> don't like the old style
> as well as your new one ;-)
> I would put the closing bracket without indention:
> barrier=bollard | barrier=cycle_barrier {
>     add mkgmap:bicycle=yes;
>     add mkgmap:foot=yes;
>     addaccess no;
>     set mkgmap:road-speed=1;
> }
> Besides that the changes are OK for me.
> Gerd

More information about the mkgmap-dev mailing list