
On Thu, Feb 19, 2009 at 10:17:50PM +0000, Steve Ratcliffe wrote:
OK I think the problem is that the boundary nodes on the E side of the tile are missing.
So I've found that this is because the line is clipped twice and the second time is after the boundard node has been set which gets replaced again. Not sure why that doesn't happen on max Lat as well -- or perhaps it does and doesn't matter. So the following patch fixes it, although I think the right solution would be to move the code that fixes the roads up after being split into a LineAdder. Index: src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java =================================================================== --- src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java (revision 913) +++ src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java Thu Feb 19 23:20:25 GMT 2009 @@ -513,7 +519,8 @@ road.setInternalNodes(hasInternalNodes); } - clipper.clipLine(road, lineAdder); + lineAdder.add(road); + //clipper.clipLine(road, lineAdder); if(trailingWay != null) addRoadWithoutLoops(trailingWay, gt);