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
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
Date: Tue, 24 Dec 2013 16:20:48 +0000
From: ataromail2000@yahoo.it
To: mkgmap-dev@lists.mkgmap.org.uk
Subject: [mkgmap-dev] A bug?
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@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev