Re: [mkgmap-dev] A bug?

Same error that i've. If mkgmap are'nt able to merge the two finalize section of the derived style and base style this is a BUG. Are needed to modify or the deriving mechanism or finalize one. The deriving by include are not working, but the old method by keyword base-style= into the info file (obsolete?) seems working. Il Giovedì 26 Dicembre 2013 9:41, Gerd Petermann <gpetermann_muenchen@hotmail.com> ha scritto: 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

Hi Ataro, I am just curious: Why do you want to combine the lines file with the compat_lines file? The latter is meant to be used with old styles, but lines is already using the new style rules. Gerd Ataro A wrote
Same error that i've. If mkgmap are'nt able to merge the two finalize section of the derived style and base style this is a BUG. Are needed to modify or the deriving mechanism or finalize one. The deriving by include are not working, but the old method by keyword base-style= into the info file (obsolete?) seems working.
Il Giovedì 26 Dicembre 2013 9:41, Gerd Petermann <
gpetermann_muenchen@
> ha scritto:
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@
To:
mkgmap-dev@.org
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@.org
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/A-bug-tp5790767p5790862.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (2)
-
Ataro A
-
GerdP