Re: [mkgmap-dev] Please test branch NET-no-NOD

2019-10-18 Thread Gerd Petermann
Hi Ticker, I think it would be better to measure the sum of road lengths instead of the number of nodes. In some areas you may have unconnected roads with many km length, e.g. in Canada or Australia. Gerd Von: mkgmap-dev im Auftrag von Gerd Petermann

Re: [mkgmap-dev] Please test branch NET-no-NOD

2019-10-18 Thread Gerd Petermann
Hi Ticker, okay, I am working on the part that removes those islands from NOD. I am developing it with the NET-no-NOD branch. With trunk you get higher counts as each end of an unconnected way is also a routing node. Gerd Von: mkgmap-dev im Auftrag von

Re: [mkgmap-dev] Please test branch NET-no-NOD

2019-10-18 Thread Ticker Berkin
Hi Gerd That runs OK. As before, I get lots of 2 node roads - often bridges over streams in open land, and quite a few (about 1/10 the number of the 2 noders) are 3 and 4 nodes - frequently paths between buildings in schools / campuses and short bits of path at either end of the bridges in open l

Re: [mkgmap-dev] Please test branch NET-no-NOD

2019-10-18 Thread Gerd Petermann
Hi Ticker, here is the patch without recursive call. Gerd Von: mkgmap-dev im Auftrag von Gerd Petermann Gesendet: Freitag, 18. Oktober 2019 12:46 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Please test branch NET-no-NOD Hi Ticker, thank

Re: [mkgmap-dev] Please test branch NET-no-NOD

2019-10-18 Thread Gerd Petermann
Hi Ticker, thanks for testing. I'll work on a patch without recursive calls. Gerd Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Freitag, 18. Oktober 2019 12:41 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Please test branch NET-no

Re: [mkgmap-dev] Please test branch NET-no-NOD

2019-10-18 Thread Ticker Berkin
Hi Gerd I've applied the patch to my 'current' version and tried running it but it gives: java.lang.StackOverflowError at uk.me.parabola.imgfmt.app.net.RouteNode.visitNet(RouteNode.java:938) at uk.me.parabola.imgfmt.app.net.RouteNode.visitNet(RouteNode.java:941) ... 1020 lines l

Re: [mkgmap-dev] Please test branch NET-no-NOD

2019-10-18 Thread Gerd Petermann
Hi Ticker, please check: attached is a simple patch that implements the calculation of routing islands. It just reports islands with less than 5 routing nodes and the position of one of the nodes. It ignores such islands which have at least one node that is a boundary node. Remember that we also