logo separator

[mkgmap-dev] Error processing tile

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Fri Jun 2 16:47:20 BST 2023

Hi Gerd & Carlos

I've found the problem and attach a patch which reduces the Subdivision
line limit to 254.

Subdivisions/areas have a set of limits, one of which was <= 255 lines.
These lines can be of any type including roads. When --route, a
reference to each line/road part is created, but these are numbered
from 1, so the 255th line in a SubDivision is numbered 256 as a road
segment and this can't be represented as a byte in the NET structures.

It looks like this problem has always been there, but is most likely to
manifest itself in areas with mostly roads.

Ticker

-------------- next part --------------
A non-text attachment was scrubbed...
Name: roadIndex.patch
Type: text/x-patch
Size: 567 bytes
Desc: not available
URL: <https://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20230602/c6e5b1c3/attachment.bin>


More information about the mkgmap-dev mailing list