logo separator

[mkgmap-dev] Error processing tile

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Sat Jun 3 10:15:09 BST 2023

Hi

Sorry - this isn't the correct explanation.

Reducing MapSplitter.MAX_NUM_LINES fixes the problem but there must be
something else going on that adds 1 more line. I'll investigate a bit
more.

Ticker 

On Fri, 2023-06-02 at 16:47 +0100, Ticker Berkin wrote:
> 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
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



More information about the mkgmap-dev mailing list