<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div>The only prob I have with the codes is saying below 17 is to small to split but not saying this on all maos though</div><div><br></div><div>Stephen&nbsp;</div><br><br>-------- Original message --------<br>From: Andrzej Popowski <popej@poczta.onet.pl> <br>Date:20/05/2015  8:45 AM  (GMT+10:00) <br>To: mkgmap-dev@lists.mkgmap.org.uk <br>Subject: Re: [mkgmap-dev] levels in style aren't processed correctly <br><br>Hi Steve,<br><br> &gt; I don't understand this.&nbsp; If you have no --levels option then the<br> &gt; default should be used, which has a maximum of 4.<br><br>Looks like there is no defaults now, or maybe only level 0 gets a <br>default resolution.<br><br> &gt; What do you think that the message text should be?<br><br>Maybe something like "'level 1' is used in style while its resolution is <br>not defined in option 'levels=' nor "overview-levels=".<br><br> &gt; What are the conditions to cause this error?<br><br>My previous analysis was wrong. This is what I'm doing:<br>- I have modified default style changing some "resolution xx" to "level <br>0", "level 1" or "level 2".<br>- I have commented "levels=" and "overview-levels=" in "options" file.<br><br>Now I run compilation with following command line options:<br>1) --levels=0:22,1:21,2:20 --gmapsupp --no-tdbfile<br>2) --levels=0:22,1:21 --gmapsupp --no-tdbfile<br>3) --levels=0:22,1:21 --overview-levels=4:16 --gmapsupp --no-tdbfile<br><br>Compilation 1) goes correctly.<br>Compilation 2) ends with an error.<br>Compilation 3) creates a map.<br><br>Map for case 2) consist of only layer 0 and 1, so all references to <br>"level 2" in style could be ignored. I would expect successful <br>compilation at case 2).<br><br>Next observation is that case 3) shouldn't be different from case 2), <br>there is no definition for "level 2" either.<br><br>-- <br>Best regards,<br>Andrzej<br>_______________________________________________<br>mkgmap-dev mailing list<br>mkgmap-dev@lists.mkgmap.org.uk<br>http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></body>