Failing tile should be 0 bytes size. Regarding this question, in the
past mkgmap showed the tile that was failing to compile, but this
feature was removed some time ago. I use a patched version which
re-implements it (see attached patch).
El 2/5/22 a las 20:02, Dave Swarthout escribió:
Another list member told me to look for the offending tile in order to
manually split it, however, all the tiles look alike to me in terms of
size. How would I tell which tile is the "bad one" that's causing this
RGN error?
Index: src/uk/me/parabola/imgfmt/app/BufferedImgFileWriter.java
===================================================================
--- src/uk/me/parabola/imgfmt/app/BufferedImgFileWriter.java (revisión: 4827)
+++ src/uk/me/parabola/imgfmt/app/BufferedImgFileWriter.java (copia de trabajo)
@@ -273,7 +273,9 @@
bufferSize += GROW_SIZE;
if (bufferSize > maxAllowedSize) {
throw new MapTooBigException(maxAllowedSize,
- "The " + subfile + " section of the map or tile is too big.",
+ "The " + subfile + " section of the map or tile ("
+ + log.threadTag()
+ + ") is too big.",
"Try splitting the map into smaller tiles or reducing the amount of information included in the map.");
}
ByteBuffer newb = ByteBuffer.allocate(bufferSize);
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev