Re: [mkgmap-dev] closed ways and multi-polygon relations

2018-11-23 Thread Ticker Berkin
Hi I like the solution to have the same behaviour as a polygon that comes from a closed way: the joined way is passed to a concatenation of the lines and polygons rules. It has the tags of the relation and mkgmap:mp_created=true but mkgmap:stylefilter=poly{line/gon} is not added. The option that

Re: [mkgmap-dev] closed ways and multi-polygon relations

2018-11-22 Thread Gerd Petermann
Hi, first I'd like to say it works as intended, see http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=1694 Unfortunately WanMil is no longer active here, so I have no way to ask him why he deicded to use copies of the original ways instead of the joined way. Anyway, for ways with

Re: [mkgmap-dev] closed ways and multi-polygon relations

2018-11-22 Thread Andrzej Popowski
Hi Gerd, > are in fact copies of the original way members of the MP and those are > typically not closed I see 3 possible solutions: 1. Convert multipolygon ways to a proper, continuous outline. 2. Return is_closed() as true, when mkgmap:mp_created is true. 3. Add info to documentation, that lin

Re: [mkgmap-dev] closed ways and multi-polygon relations

2018-11-22 Thread Gerd Petermann
Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Donnerstag, 22. November 2018 19:16 An: mkgmap development Betreff: Re: [mkgmap-dev] closed ways and multi-polygon relations Hi Gerd What I was expecting was that multiPolygonRelation generates 1 closed way

Re: [mkgmap-dev] closed ways and multi-polygon relations

2018-11-22 Thread Ticker Berkin
reported a part of a broken MP? > Maybe you expect that the members of a MP rel do also have a special > tag? > That would be something that you have to do in the relations style > file. > > Gerd > > > Von: mkgmap-dev im Auftrag > von Ticker Berkin > Gesendet:

Re: [mkgmap-dev] closed ways and multi-polygon relations

2018-11-22 Thread Gerd Petermann
ld be something that you have to do in the relations style file. Gerd Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Donnerstag, 22. November 2018 17:03 An: mkgmap development Betreff: [mkgmap-dev] closed ways and multi-polygon relations Hi Gerd

[mkgmap-dev] closed ways and multi-polygon relations

2018-11-22 Thread Ticker Berkin
Hi Gerd I'd hoped and expected that all polygons were fed into the 'lines' style processing in a similar manner, regardless of their origin as either a closed OSM way or generated by multiPolygonRelation. This would allow simple testing using just 'is_closed()=true' to effect lines around polygons