Re: [mkgmap-dev] Some observations

2022-05-31 Thread Andrzej Popowski
Hi Ticker, I hope that I understand style parsing correctly now. Thanks for advice. > Not sure what you mean. I'm a programmer. I have some preconception about conditional statement, logical operators etc. Situation, where rules for condition "tag=value" are different than for "tag!=value" is

Re: [mkgmap-dev] Some observations

2022-05-31 Thread Ticker Berkin
Hi Andrez On Tue, 2022-05-31 at 00:23 +0200, Andrzej Popowski wrote: > Hi Ticker! > >  > I don't get a crash > > Maybe there are other factors? I'm using AMD Ryzen, Windows 10, > OpejJDK > 18.0.1 (just have updated, 17.02 worked the same). I can create a set > which cause crash, if you are inte

Re: [mkgmap-dev] Some observations

2022-05-30 Thread Andrzej Popowski
Hi Ticker! > I don't get a crash Maybe there are other factors? I'm using AMD Ryzen, Windows 10, OpejJDK 18.0.1 (just have updated, 17.02 worked the same). I can create a set which cause crash, if you are interested. Right, it should be mkgmap:option:test, but I get a crash in both cases. >

Re: [mkgmap-dev] Some observations

2022-05-30 Thread Ticker Berkin
Hi Firstly: I don't get a crash from: if (mkgmap:style-option:test=true) then () echo {"test"} end with or without --style-option=test. Also, don't you mean "... mkgmap:option:test ..." Next: The "test" part of a rule must contain at least 1 "positive" limiting clause, as per the sty

Re: [mkgmap-dev] Some observations

2022-05-30 Thread Andrzej Popowski
Hi Gerd, > On the other hand you already found the work around Kind of blind search for solution. I have implemented some kind of processing in style, where I need temporary variables. Now I have a long sequence, where i only use operator "=" for variables, since "!=" doesn't work :) > I do

Re: [mkgmap-dev] Some observations

2022-05-30 Thread Gerd Petermann
ny tag of the object all cached results are cleared. Gerd Von: mkgmap-dev im Auftrag von Andrzej Popowski Gesendet: Montag, 30. Mai 2022 13:51 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Some observations Hi Gerd, thanks for expl

Re: [mkgmap-dev] Some observations

2022-05-30 Thread Andrzej Popowski
Hi Gerd, thanks for explanations. > the option --make-opposite-cycleways is implemented like this Somehow I imagined, that opposite cycleway is magically added at a final step, when the main road is already prepared by style. Your way is more flexible, but needs more diligence in style. Actua

Re: [mkgmap-dev] Some observations

2022-05-29 Thread Gerd Petermann
plain the crash with the invalid statement. Gerd Von: mkgmap-dev im Auftrag von Andrzej Popowski Gesendet: Sonntag, 29. Mai 2022 22:10 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] Some observations Hi, I have tweaked my maps recently and t

Re: [mkgmap-dev] Some observations

2022-05-29 Thread Andrzej Popowski
Hi Ralf, I had similar style: overlay line first, roundabout next. I can't repeat the problem, maybe it was my fault. Now I'm using transparent graphics for 0x0c, so it looks correct regardless of order. -- Best regards, Andrzej ___ mkgmap-dev mai

Re: [mkgmap-dev] Some observations

2022-05-29 Thread Ralf Kleineisel
Hi, Am 29.05.22 um 22:10 schrieb Andrzej Popowski: First I noticed, that tweak for better looking roundabouts not always works. In default style there is something like that: junction=roundabout & (highway=tertiary | highway=tertiary_link) [0x0c road_class=1 road_speed=1 resolution 24 contin

[mkgmap-dev] Some observations

2022-05-29 Thread Andrzej Popowski
Hi, I have tweaked my maps recently and tripped on some problems. Nothing serious, but a bit troublesome. First I noticed, that tweak for better looking roundabouts not always works. In default style there is something like that: junction=roundabout & (highway=tertiary | highway=tertiary_li