Modify ↓
#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 , 9 years ago
| Component: | Core → Plugin routing |
|---|---|
| Owner: | changed from to |
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 2 years 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?
Note:
See TracTickets
for help on using tickets.



Thanks! Fixed in [o32348:32350].