
If i use default as base style, i've a error. Is a bug or my error? # Base styles include 'lines' from default; <finalize> # Compatibility include file include 'inc/compat_lines' from default;

Hi, I tried to reproduce that with r2912. I've created a style ataro (see attachment) and used java -jar dist\mkgmap.jar --style-file=c:\mystyles\ataro --check-styles ataro.zip <http://gis.19327.n5.nabble.com/file/n5790855/ataro.zip> Result: Time started: Thu Dec 26 09:38:28 CET 2013 Found one style in c:\mystyles\ataro Error in style: Error: (lines:6): Invalid arguments to LT: FUNCTION ($from) and GT (($default>;)) could not open style ataro finished check-styles Time finished: Thu Dec 26 09:38:29 CET 2013 Total time taken: 928ms I think the problem is that your lines file contains two <finalize> sections (the one in default/lines and your own), which is probably not allowed. @WanMil: The error message is very confusing. Is it possible to print a better one? Gerd Ataro A wrote
If i use default as base style, i've a error. Is a bug or my error?
# Base styles include 'lines' from default; <finalize> # Compatibility include file include 'inc/compat_lines' from default;
_______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/A-bug-tp5790767p5790855.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

r2913 throws a better error message. WanMil
Should be possible. The RuleFileReader need to be changed. Will have a look on it within the next days.
WanMil
@WanMil: The error message is very confusing. Is it possible to print a better one?
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Ataro A
-
GerdP
-
WanMil