Modify

Ticket #2317 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

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

Reported by: dieterdreist Owned by: team
Priority: major 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

JOSM_angle_screen.png Download (25.9 KB) - added by stoecker 3 years ago.
wrong_angle.patch Download (1.3 KB) - added by xeen 2 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 :)

Change History

Changed 3 years ago by stoecker

comment:1 Changed 3 years ago by stoecker

Changed 2 years ago by xeen

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 Changed 2 years ago by xeen

  • Summary changed from Displayed Angle (relative) doesn't work to [patch] Displayed Angle (relative) doesn't work

comment:3 Changed 2 years ago by stoecker

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.