Modify

Opened 16 years ago

Closed 16 years ago

#2317 closed defect (fixed)

[patch] Displayed Angle (relative) doesn't work

Reported by: dieterdreist Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

The relative Angle displayed in the status bar (bottom) doesn't display the real angle. This problem is not new but persistent. Screenshot with several examples can be viewed here (all drewn with 90 Degrees according to displayed Angle in Mercator-Projection on lat ~40 Deg. North):
http://www.koppenhoefer.com/osm/JOSM_angle_screen.png

Attachments (2)

JOSM_angle_screen.png (25.9 KB ) - added by stoecker 16 years ago.
wrong_angle.patch (1.3 KB ) - added by xeen 16 years ago.
I have no idea why this works. Either the latlon.heading code is wrong (which I doubt) or the problem arose from converting the mouse position using projection.eastNorth2LatLon. Tested for Mercator, SwissGrid and UTM 33. Plus, now I know where all these tilted "rectangular" buildings came from :)

Download all attachments as: .zip

Change History (5)

by stoecker, 16 years ago

Attachment: JOSM_angle_screen.png added

comment:1 by stoecker, 16 years ago


by xeen, 16 years ago

Attachment: wrong_angle.patch added

I have no idea why this works. Either the latlon.heading code is wrong (which I doubt) or the problem arose from converting the mouse position using projection.eastNorth2LatLon. Tested for Mercator, SwissGrid and UTM 33. Plus, now I know where all these tilted "rectangular" buildings came from :)

comment:2 by xeen, 16 years ago

Summary: Displayed Angle (relative) doesn't work[patch] Displayed Angle (relative) doesn't work

comment:3 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

(In [2110]) applied #2317 - patch by xeen - fix wrong calculation for angle display

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.