Modify

Opened 3 years ago

Closed 3 years ago

#12956 closed enhancement (fixed)

plugin routing, RoutingGraph addEdge method

Reported by: ksmlgl Owned by: franpd
Priority: normal Milestone:
Component: Plugin routing Version:
Keywords: Cc:

Description

RoutingGraph addEdge method does not work accurately, In the method, the length variable should be taken from related edge.
In current revision of this class line: 249
double length = fromLL.greatCircleDistance(toLL);

should be
double length = edge.getLength();
after the OsmEdge object created

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by stoecker

Component: CorePlugin routing
Owner: changed from team to franpd

comment:2 Changed 3 years ago by Don-vip

Resolution: fixed
Status: newclosed

Thanks! Fixed in [o32348:32350].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain franpd.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.