logo separator

[mkgmap-dev] Trouble getting some multipolygons to render inmkgmap

From WanMil wmgcnfg at web.de on Fri Sep 24 16:35:28 BST 2010


Markus is right. The mp code must check if the mp itself contains the 
relevant polygon tags or if the tagging should be taken from the outer 
ways. For this purpose a list of known polygon tags is used and up to 
now leisure is not in this list.

Attached patch extends this list by the tags "leisure", "military", 
"man_made", "place", "tourism", "amenity". I have found them by 
analyzing the europe OSM dump so this should catch most cases.

By the way: the direction of ways is not evaluated.


> Hi Charlie,
> With the tests I have just done I have found the leisure tag no longer works
> with multipolygons.
> Regards,
> Markus_g
> -----Original Message-----
> From: Charlie Ferrero [mailto:charlie at cferrero.net]
> Sent: Friday, 24 September 2010 4:31 PM
> To: Markus
> Cc: 'Development list for mkgmap'
> Subject: Re: [mkgmap-dev] Trouble getting some multipolygons to render
> inmkgmap
> On 24/09/2010 10:42, Markus wrote:
>> The other relations seem to have water reversed also.
>> For the last relation I would try reversing the swimming pool way and the
>> outer way to match the coastline way. Although I wouldn't have thought
> that
>> this would matter.
>> Markus_g
>> For the
> Markus,
> Thanks for looking into this.  Are you sure the sense of the way around
> water matters?  I know that it is important for coastlines, but couldn't
> find any suggestion that it matters for other inland water masses, e.g.
> natural=water (http://wiki.openstreetmap.org/wiki/Tag:natural%3Dwater)
> doesn't mention it.
> Also, the multipolygon "usage" section on the wiki
> (http://wiki.openstreetmap.org/wiki/Relation:multipolygon) states:
> "The direction of the ways does not matter"
> --
> Charlie
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp_mptags_v2.patch
Type: text/x-patch
Size: 990 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100924/74bbf845/attachment.bin 

More information about the mkgmap-dev mailing list