[mkgmap-dev] [Patch] improve handling of only-restrictions with via ways

2019-10-10 Thread Gerd Petermann
Hi all, in http://gis.19327.n8.nabble.com/Turn-Restrictions-using-three-ways-design-guide-for-OSM-mappers-tp5949183.html Thanks to blc I've learned that only_* restrictions with via ways should be interpreted a bit different. As you might know the Garmin IMG format only has restrictions of

Re: [mkgmap-dev] [Patch] improve handling of only-restrictions with via ways

2019-10-10 Thread Gerd Petermann
Hi Ticker, I'll try to reproduce the duplicate error tomorrow. I think mkgmap should stop processing the restriction relation when the initial (complete) processing produces such a message. Please let me know the area for tile 74220083 in case the relation is not completely within the bounds

Re: [mkgmap-dev] [Patch] improve handling of only-restrictions with via ways

2019-10-10 Thread Gerd Petermann
Hi Ticker, I cannot reproduce the error with the trunk version and default style. Maybe your style doesn't add highway=cycleway as routable way? Gerd Von: mkgmap-dev im Auftrag von Gerd Petermann Gesendet: Donnerstag, 10. Oktober 2019 19:03 An:

Re: [mkgmap-dev] [Patch] improve handling of only-restrictions with via ways

2019-10-10 Thread Ticker Berkin
Hi Gerd No problems that I can see - but very difficult to test. I've run 'british-isles-latest' with the patch. There is 1 extra error message that a duplicate, ie I get: SEVERE (RoadNetwork): 74220083.osm.pbf: Turn restriction (only_straight_on) http://www.openstreetmap.org/relation/8727983

Re: [mkgmap-dev] [Patch] improve handling of only-restrictions with via ways

2019-10-10 Thread Ticker Berkin
Hi Gerd I didn't get any errors with release version, default style and minimal options. Using my style and minimal options works, but I get the problem when I use --link-pois-to-ways and my style/points has rules like: barrier=* {set mkgmap:road-speed=1} highway=traffic_signals |

Re: [mkgmap-dev] [Patch] improve handling of only-restrictions with via ways

2019-10-10 Thread Ticker Berkin
Hi Gerd I'm pretty sure its the way mkgmap implements mkgmap:road-speed from barrier/highway points on roads. 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. My inc/access also

Re: [mkgmap-dev] [Patch] improve handling of only-restrictions with via ways

2019-10-10 Thread Gerd Petermann
Hi Ticker, the restriction relation processing doesn't depend on --link-pois-to-ways. I cannot reproduce the problem with http://www.openstreetmap.org/relation/8727983, neither with the release version nor with the trunk version. The typical reason for the message is that the style doesn't

Re: [mkgmap-dev] [Patch] improve handling of only-restrictions with via ways

2019-10-10 Thread Ticker Berkin
Hi Gerd Sorry about the delay. The bounds of the tile are: 4220083: 2400256,-4096 to 2414592,6144 # : 51.503906,-0.087891 to 51.811523,0.131836 error@ : 51.541949, 0.004060 - so looks reasonably central to the tile I do have cycleway as routable, but I'll run again with release 4295,

Re: [mkgmap-dev] [Patch] improve handling of only-restrictions with via ways

2019-10-10 Thread Gerd Petermann
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