Modify

Opened 8 years ago

Closed 8 years ago

Last modified 5 months 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 (3)

comment:1 by stoecker, 8 years ago

Component: CorePlugin routing
Owner: changed from team to franpd

comment:2 by Don-vip, 8 years ago

Resolution: fixed
Status: newclosed

Thanks! Fixed in [o32348:32350].

comment:3 by taylor.smock, 5 months ago

@ksmlgl: I'm currently working on converting the JOSM plugin repo to git (see #23286). Do you have a preferred name/email for that?

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.