logo separator

[mkgmap-dev] mkgmap dropping ways with boundary -- newly introduced bug

From WanMil wmgcnfg at web.de on Wed Jan 26 13:00:48 GMT 2011

> On Tue, Jan 25, 2011 at 11:07:09PM +0100, Felix Hartmann wrote:
>> Well I don't know whether I should say this is good news or bad news.
>> As 1752 was the merger with the coastline branch - hence not easy to
>> find the error as lots of functionality changed.
> The good news was that my guess was right. :-)
> I guess that you should save and reduce the input that causes the error.
> Then WanMil should be able to figure out the cause in no time, like he
> did for the contourline problem last week.
> 	Marko

I introduced a bug in the Tag class. It implements a kind of specialised 
HashMap and I added a size counter to be able to remove empty Tag 
objects. Unfortunately calling the deleteTag method twice with the same tag
caused the new size counter to be decreased twice.

This is fixed in r1797 and I have also committed that to the index branch.

Thanks a lot for pointing your fingers on it!

More information about the mkgmap-dev mailing list