Re: [mkgmap-dev] Branch is_in ready for a first test

2020-01-15 Thread Steve Ratcliffe



Hi all

> mkgmap.org.uk  seems to be defect - there is no

Sorry about that; it should be OK again now.  Let me know if anything
is not working.

..Steve

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Commit r4420: The ivy/maven repository is now https only

2020-01-15 Thread svn commit
Version mkgmap-r4420 was committed by steve on Wed, 15 Jan 2020

The ivy/maven repository is now https only


http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4420
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Level number too large

2020-01-15 Thread Andrzej Popowski

Hi All,

since something is wrong with downloads on mkgmap site, I have compiled 
version 4419. I guess this is the latest official release. Now with some 
old maps I get a new error:


Error in style: Error: Level number too large, max=0

I guess this is a conflict between arguments:
levels=0:24

and style with declarations like:
 [... level 3]

In my opinion, this should be no error, as it wasn't in older versions 
of mkgmap. It is harmless and quite useful, that style defines higher 
levels then a particular map compiled with the style.


I have attached a patch, but I'm not sure what I'm really changing. 
Please look at it.


--
Best regards,
Andrzej

Index: src/uk/me/parabola/mkgmap/osmstyle/TypeReader.java
===
--- src/uk/me/parabola/mkgmap/osmstyle/TypeReader.java  (revision 4419)
+++ src/uk/me/parabola/mkgmap/osmstyle/TypeReader.java  (working copy)
@@ -245,7 +245,7 @@
private int toResolution(int level) {
int max = levels.length - 1;
if (level > max)
-   throw new SyntaxException("Level number too large, 
max=" + max);
+   return levels[0].getBits();
 
return levels[max - level].getBits();
}
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev