logo separator

[mkgmap-dev] New style branch

From Gerd Petermann GPetermann_muenchen at hotmail.com on Fri Aug 11 07:26:34 BST 2017

Hi Steve,

one more small problem:
For the attached style the check-styles option says:
e:\ld>java -jar c:\temp\mkgmap-expr-r3991\mkgmap.jar --style-file=c:\mystyles\mini --check-styles
Time started: Fri Aug 11 08:09:08 CEST 2017
Found one style in c:\mystyles\mini
Error in style: Error: (polygons:9): Invalid rule expression: $building!=no & $building!=public & $building!=school & $building!=church & $building!=cathredral & $building!=chapel & $building!=proposed & $mkgmap:residential!=*
...

Would it be possible to report the 1st line of the rule (polygons:1) instead of the empty line after the wrong rule?
In this case the author first thought that this is related to an eol/ eof problem because the rule also appeared at the end of the file.

ciao,
Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Steve Ratcliffe <steve at parabola.me.uk>
Gesendet: Mittwoch, 9. August 2017 12:58:43
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] New style branch

Hi Gerd,

> I've tried it with a slightly modified version of Minkos OFM lite style and got a NPE.

Thanks for testing.  My random rules were not including any exists
nodes so didn't catch that one :-(

I've removed the experimental line from the lines file.

Cheers
Steve

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list