Opened 3 years ago
Last modified 8 days ago
#21334 reopened defect
[PATCH] image direction is wrong when position is beetween 2 gpx point
Reported by: | StephaneP | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | 21.10 |
Component: | Core image mapping | Version: | |
Keywords: | support-layer | Cc: | Don-vip |
Description (last modified by )
1) correlate images positions with a support layer, and one image timestamp is beetween two support-layer node
2) enable "override position" and "set image direction"
The image direction should be calculated with the image position and the next node, but it's calculated with the next segment direction. See this screenshot:
Attachments (2)
Change History (10)
by , 3 years ago
Attachment: | img_direction_and_support_layer.jpg added |
---|
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
comment:2 by , 3 years ago
Milestone: | → 21.09 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 by , 3 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:7 by , 10 days ago
In the current code, when correlating, the image direction isn't pointing to the next Waypoint (curWp
) but the 2nd next one (nextWp
). I change this with:
- LatLon nextCoorForDirection = nextWp.getCoor(); + LatLon nextCoorForDirection = curWp.getCoor();
I then add a comparison in case image
and curWp
coordinates are equal, to change the nextCoorDirection
to nextWp
.
+if (nextCoorForDirection.equals(curCoor)) { + nextCoorForDirection = nextWp.getCoor(); + }
comment:8 by , 10 days ago
Summary: | image direction is wrong when position is beetween 2 gpx point → [PATCH] image direction is wrong when position is beetween 2 gpx point |
---|
In 18237/josm: