Hi Gerd One of the ideas of the code is that it doesn't keep reversing all the points as it gets to joining the ways to make a polygon. Once all the ways have been gathered, then another stage is needed adds the points from JoinedWay.originalWay to .points the correct order, removing the intermediate joining points, etc.
Another part that's missing is what to do with unclosed ways, and here I guess it can take a similar line to the existing logic. I can do another patch, based on faster_mp branch - for real - if you think this change is worth while. Ticker On Tue, 2021-04-06 at 10:45 +0000, Gerd Petermann wrote: > Hi Ticker, > > I tried to use your patch mpInitialLogic.patch. > It is missing the code to update the field Way.points, means, the > final polygons only contain the points of one way. > > Not sure how you used that code? > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag > von Ticker Berkin <rwb-mkg...@jagit.co.uk> > Gesendet: Montag, 15. März 2021 17:15 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] tile takes very long time to generate > > Hi Gerd > > You might consider the some of the ideas here as improvements to the > initial parts of MP processing. > > This is a patch based on trunk rather than the new branch. It isn't > structured as for final usage, rather for minimising the spread of > changes, working in parallel with the existing code so I could see if > found the same MP problems as the existing code and having clearly > identifiable diagnostics in the log file. > > Ticker > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev@lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev