logo separator

[mkgmap-dev] Short Arc Problem? Error 3 Mapsource, Problem on Calculating this route Basecamp.

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Jan 5 21:18:54 GMT 2013

Hi WanMil,

> 
> I just commited it because the error was too obvious for me...
> 
> Do you want to have the printout in the StyledConverter when a road has 
> zero nodes? I didn't commit it because it was not part of the problem 
> and I wasn't sure if that's only a kind of debugging.

In the boundary routimes we often use code like this:
            Way w = new Way(0, coveredPart);
            String attr = w.clockwise() ? "o" : "i";

In the past, this did not create a copy of the points, now it does.
Will that have an impact on performance? If yes, maybe it would be better to 
place a 
static public boolan clockwise(List<Coord>)  method into e.g. Java2DConverter ?

Gerd
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130105/50ef89af/attachment.html 


More information about the mkgmap-dev mailing list