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-boun...@lists.mkgmap.org.uk> im Auftrag von Steve 
Ratcliffe <st...@parabola.me.uk>
Gesendet: Mittwoch, 9. August 2017 12:58:43
An: mkgmap-dev@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@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to