HI Marko, I agree that this should be flagged. I tried it with the data for Netherlands and I see no other problems besides the one in my example, so it doesn't see to happen that often.
Attached small patch changes mkgmap so that repeated elements are ignored (the first one is used, ignoring differences in roles) If I hear no complains I will commit it next weekend. Gerd > Date: Sun, 19 Jan 2014 00:16:15 +0200 > From: [email protected] > To: [email protected] > Subject: Re: [mkgmap-dev] type=multipolygon relations > > On Sat, Jan 18, 2014 at 10:58:58PM +0100, Minko wrote: > >Good luck for correcting them, there are tons of those faulty mp's all > >over the place in NL's ;-) > >I wouldnt spend too much time for this, better ignore it. > > I have found the existing multipolygon and coastline warnings very > useful. The check for duplicate member ID in a multipolygon relation is > cheap and has to be done anyway. There is really no good reason not to > warn about them. > > By default, the log output is not enabled. You have to specify > -Dlog.config=logging.properties in order to enable the diagnostic. Even > after doing so, you could filter out these particular messages either by > grep -vf or by configuring the logging.properties file appropriately. > > Marko > _______________________________________________ > mkgmap-dev mailing list > [email protected] > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
ignore-repeated-elements-v1.patch
Description: Binary data
_______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
