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 <[email protected]> im Auftrag von Steve 
Ratcliffe <[email protected]>
Gesendet: Mittwoch, 9. August 2017 12:58:43
An: [email protected]
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
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to