logo separator

[mkgmap-dev] type=multipolygon relations

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Jan 19 11:13:47 GMT 2014

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.


> Date: Sun, 19 Jan 2014 00:16:15 +0200
> From: marko.makela at iki.fi
> To: mkgmap-dev at lists.mkgmap.org.uk
> 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
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140119/0a317903/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ignore-repeated-elements-v1.patch
Type: application/octet-stream
Size: 729 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140119/0a317903/attachment.obj>

More information about the mkgmap-dev mailing list