logo separator

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

From GerdP gpetermann_muenchen at hotmail.com on Sun Jan 6 12:20:07 GMT 2013

WanMil wrote
> Maybe it was not very clear what I meant. The performance degration 
> might not be introduced by changing the clockwise method but by always 
> creating a new list when instantiating a new Way object, e.g. the 
> Java2DConverter creates list of points that are often directly forwarded 
> to a new Way object. This list of points is now created twice (once by 
> the Java2DConverter and once by the Way object). This is often used in 
> the multipolygon code and maybe somewhere else.

Yes, that was understood. The multipolygon code uses the awt.geo.area 
methods, and these are copying the points very often. That's why
I don't think that one additional copy matters.

Gerd



--
View this message in context: http://gis.19327.n5.nabble.com/Short-Arc-Problem-Error-3-Mapsource-Problem-on-Calculating-this-route-Basecamp-tp5742403p5743009.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list