Re: [mkgmap-dev] [PATCH v1] MP: Close ways with both endpoints outside the bounding box

2010-03-04 Thread Marko Mäkelä
Hi WanMil, > The patch closes all ways having both endpoints on the same side > outside the bounding box. In this case it is not necessary to check > if closing the way intersects the way itself. > > This fixes most (but not all) of the outstanding tile splitter > problems. I still see som

Re: [mkgmap-dev] [PATCH v1] MP: Close ways with both endpoints outside the bounding box

2010-03-03 Thread Felix Hartmann
On 03.03.2010 23:59, Mark Burton wrote: > Felix, > > >> Mapsource 6.13.x never >> routes above more than 1 border however >> > Sadly, that's true for our maps. > > But it will happily route over multiple tiles that have been created > with cgpsmapper. I can take the tiles from the N

Re: [mkgmap-dev] [PATCH v1] MP: Close ways with both endpoints outside the bounding box

2010-03-03 Thread Mark Burton
Felix, > Mapsource 6.13.x never > routes above more than 1 border however Sadly, that's true for our maps. But it will happily route over multiple tiles that have been created with cgpsmapper. I can take the tiles from the NZ opengps map set and generate an overview map with mkgmap and giv

Re: [mkgmap-dev] [PATCH v1] MP: Close ways with both endpoints outside the bounding box

2010-03-03 Thread Felix Hartmann
Hi Felix, > it sounds like Murphy, isn't it?!? :-) > > I am very surprised if this patch fixes routing problems. It only closes > some incomplete polygons outside the bounding box. Not more and not less. > > WanMil > ___ > > Well it didn't really. I j

Re: [mkgmap-dev] [PATCH v1] MP: Close ways with both endpoints outside the bounding box

2010-03-03 Thread WanMil
> > > On 03.03.2010 00:24, Mark Burton wrote: >> Felix, >> >> >>> Well at some other points it did not want to route over 2 tile borders, >>> seems not to be perfect yet - but the greatest step into the right >>> direction so far when it comes to inter tile routing. >>> >>> >> Hmm, I'm sure that Wa

Re: [mkgmap-dev] [PATCH v1] MP: Close ways with both endpoints outside the bounding box

2010-03-02 Thread Felix Hartmann
On 03.03.2010 00:24, Mark Burton wrote: > Felix, > > >> Well at some other points it did not want to route over 2 tile borders, >> seems not to be perfect yet - but the greatest step into the right >> direction so far when it comes to inter tile routing. >> >> > Hmm, I'm sure that WanMi

Re: [mkgmap-dev] [PATCH v1] MP: Close ways with both endpoints outside the bounding box

2010-03-02 Thread Mark Burton
Felix, > Well at some other points it did not want to route over 2 tile borders, > seems not to be perfect yet - but the greatest step into the right > direction so far when it comes to inter tile routing. > Hmm, I'm sure that WanMil's patch does something good but I can't see how it can affe

Re: [mkgmap-dev] [PATCH v1] MP: Close ways with both endpoints outside the bounding box

2010-03-02 Thread Felix Hartmann
On 03.03.2010 00:13, Felix Hartmann wrote: Well still is not perfect, but never before Crapsource routed through 4 tiles. (though see the yellow shortcut of a "short route" which was not chosen. This is using "shorter distance" so routing inside one single tile I suppose would have still wo

Re: [mkgmap-dev] [PATCH v1] MP: Close ways with both endpoints outside the bounding box

2010-03-02 Thread Felix Hartmann
Wow, this patch seems to have solved all problems when routing from one tile into another and back into it. Similary routing through 3 tiles (meaning crossing two tileboarders works now). This patch finally makes routing long distances in Mapsource possible (well not with my maps as mapsource

[mkgmap-dev] [PATCH v1] MP: Close ways with both endpoints outside the bounding box

2010-03-02 Thread WanMil
The patch closes all ways having both endpoints on the same side outside the bounding box. In this case it is not necessary to check if closing the way intersects the way itself. This fixes most (but not all) of the outstanding tile splitter problems. WanMil Index: src/uk/me/parabola/mkgmap/re