Modify

Opened 4 years ago

Closed 4 years ago

#2317 closed defect (fixed)

[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 (2)

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

Changed 4 years ago by stoecker

comment:1 Changed 4 years ago by stoecker


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

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

comment:3 Changed 4 years ago by stoecker

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

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

Add 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.