logo separator

[mkgmap-dev] A bug?

From Ataro A ataromail2000 at yahoo.it on Thu Dec 26 09:57:25 GMT 2013

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 at 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 at yahoo.it
To: mkgmap-dev at 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 at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20131226/c63a77ca/attachment.html>


More information about the mkgmap-dev mailing list