logo separator

[mkgmap-dev] Multipolygon Role Understanding

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Feb 11 07:59:58 GMT 2021

Hi Jan,

the multipolygon processing happens before POI are generated.
With the original MP mkgmap creates a POI for the unnamed leisure of the MP and probably also one for the outer way which (at this time) only has one tag name="Naturfreibad Sankt Märgen". There is no rule for such an object in the points file and therefore no POI is generated.

I also wondered how to detect this error. I expected that JOSM would complain but it only shows an info message. Will look at this later.
No idea yet how to find those cases with overpass. You may search for a specific tag like the leisure=water_park but I see no easy way to find all MP where the MP repeats an important tag of one of the outer ways.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von jan meisters <jan_m23 at gmx.net>
Gesendet: Donnerstag, 11. Februar 2021 00:15
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Multipolygon Role Understanding

Hi Gerd,

yes, that works for me as described. As I understand, due to consecutive processing: nameless leisure gone, next matched?
Another work_around I found by just changing the outer role to an inner.
Both indicates imho more likely a mistagging.

I´d like to have an overpass query to find similar examples - if anyone has an idea: appreciated ;-)

Jan

> Am 10.02.2021 um 23:13 schrieb Gerd Petermann <gpetermann_muenchen at hotmail.com>:
>
> Hi all,
>
> sorry, the style file is OK. I just tried with the (locally) corrected MP (removed the leisure tag) and with that the name "Naturfreibad Sankt Märgen" is shown in the map.
> I think the multipolygon code removes all tags from the outer way which also appear in the MP. The remaining tags
> name=Naturfreibad Sankt Märgen
> opening_hours=Jun-Sep: Mo-Su 09:00-18:00
> wheelchair=limited
> are ignored by the default style.
>
> The behaviour is intended, but in fact a bit confusing.
>
> Gerd
>
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com>
> Gesendet: Mittwoch, 10. Februar 2021 23:03
> An: Development list for mkgmap
> Betreff: Re: [mkgmap-dev] Multipolygon Role Understanding
>
> Hi Jan,
>
> I think the multipolygon describes the landuse, the outer way describes the leisure. It makes no sense to have both tags on the MP.
> Reg. the missing "Naturfreibad Sankt Märgen":
> The default style doesn't use the name of the leisure, neither for the polygon nor for the POI. Not sure why. I would have expected that inc/name does that.
>
> Gerd
>
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von jan meisters <jan_m23 at gmx.net>
> Gesendet: Mittwoch, 10. Februar 2021 21:11
> An: mkgmap-dev at lists.mkgmap.org.uk
> Betreff: [mkgmap-dev] Multipolygon Role Understanding
>
> Hi all,
>
> with my limited multipolygon knowledge I stumbled on missing poi tags here:
> https://www.openstreetmap.org/relation/4077717
>
> The multipolygon is tagged more limited than the outer role.
> mkgmap renders the mp-tags, but drops the more useful outer tags (name etc.).
> This useful it´s rendered on openstreetmap, but I can´t get it with mkgmap.
> Tried default style and others, even OsmAnd (in OffRoad.jar) - all fail.
>
> So I wonder how or at all I could style the desired display in mkgmap.
> Of course the mp itself might be wrong - don`t know - but then I suspect a lot of them ;-/
>
> Jan
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list