[mkgmap-dev] [Patch] improve handling of only-restrictions with via ways
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Fri Oct 11 10:39:52 BST 2019
Hi Gerd With this patch I don't get either the "WARN: ... via way of restriction is split ..." or the "SEVE: ... can't locate arc ..." messages. Thank you Ticker On Fri, 2019-10-11 at 07:39 +0000, Gerd Petermann wrote: > Hi Ticker, > > the problem was caused by a "via" way that was split. I think this > should be avoided whenever possible. > Please test attached patch. It contains two changes: > - via ways are not split when --link-pois-to-ways is used and a point > sets a different road-speed or road-class. > I think I always intended to avoid that but the code did not catch > all places. > - if a "via" way has to be split the restrictions are set to invalid > and thus no error is produced. > > The new error message in LinkDestinationHook should never happen, the > calling code seems to make sure that via ways are not split. > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag > von Gerd Petermann <gpetermann_muenchen at hotmail.com> > Gesendet: Freitag, 11. Oktober 2019 06:53 > An: mkgmap-dev at lists.mkgmap.org.uk > Betreff: Re: [mkgmap-dev] [Patch] improve handling of only > -restrictions with via ways > > Hi Ticker, > > Ticker Berkin wrote > > If I comment out: > > highway=traffic_signals | highway=crossing {set mkgmap:road > > -speed=1} > > from points, or run with --no-link-pois-to-ways, I don't get the > > error. > > Yes, you are right. I am now able to reproduce the error message. I > forgot > about the feature to set a different road atttribute. This feature > requires > that the way is split (and this produces a corresponding warning "via > way of > restriction is split, restriction will be ignored", but mkgmap still > tries > to add the restriction relation later. > Seems I was too lazy to implement this correctly for via ways as they > were > rarely used. I'll have a closer look again. > > Gerd > > > > -- > Sent from: > http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html > _______________________________________________ > 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
- Previous message: [mkgmap-dev] [Patch] improve handling of only-restrictions with via ways
- Next message: [mkgmap-dev] Commit r4299: Correction: avoid to split 'via' ways of turn restrictions when processing CoordPoi which set mkgmap:road-class or mkgmap:road-speed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list