Modify

Opened 16 years ago

Closed 16 years ago

Last modified 10 years ago

#1602 closed enhancement (fixed)

[PATCH #2] ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM)

Reported by: Markus Owned by: framm
Priority: trivial Milestone:
Component: unspecified Version:
Keywords: Cc:

Description

in JOSM ist oben links eine Massstab-Skala.
In der Mitte der Skala ist eine zoomspezifische Längenangabe.

Die Längenangabe wäre eindeutiger, wenn sie am rechten Ende der Skala stünde, und am linken Ende eine Null.

Attachments (2)

BetterScaler.patch (513 bytes ) - added by anonymous 16 years ago.
Fixes scaler as proposed
BetterScaler 2.patch (1.1 KB ) - added by xeen 16 years ago.
Fixes scaler as proposed without cutting text off; displaying "< 1 m" instead of "0 m" on high zoom

Download all attachments as: .zip

Change History (13)

comment:1 by anonymous, 16 years ago

Priority: minortrivial
Type: defectenhancement

comment:3 by JohannesRudolph, 16 years ago

Summary: Masstab in JOSMMaßstab in JOSM

comment:4 by Hasienda, 16 years ago

Summary: Maßstab in JOSMambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM)

marked #1602 as duplicate, but see it for better visualized (ASCII art) and detailed English description of the proposed enhancement

comment:5 by schusch, 16 years ago

i think, this should be: marked #1705 as duplicate ...

comment:6 by anonymous, 16 years ago

(corr. keyword)

in reply to:  5 comment:7 by Hasienda, 16 years ago

Replying to schusch:

i think, this should be: marked #1705 as duplicate ...

Oh well, that's true, I mixed the numbers, thanks.

by anonymous, 16 years ago

Attachment: BetterScaler.patch added

Fixes scaler as proposed

comment:8 by anonymous, 16 years ago

Summary: ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM)[PATCH] ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM)

comment:9 by stoecker, 16 years ago

Attached patch produces cutted numbers for lots of zoom levels.

comment:10 by anonymous, 16 years ago

Summary: [PATCH] ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM)ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM)

by xeen, 16 years ago

Attachment: BetterScaler 2.patch added

Fixes scaler as proposed without cutting text off; displaying "< 1 m" instead of "0 m" on high zoom

comment:11 by xeen, 16 years ago

Summary: ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM)[PATCH #2] ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM)

I'm sorry, I didn't test the patch and it didn't occur to me that the text would be cut off. I've attached a fixed version that works (and I tested this time) and also displays "< 1 m" instead of "0 m" on very high zoom levels. Unfortunately, displaying cm is not possible because of rounding errors that occur e.g. while moving the map around.

The scale texts aren't displayed centered under the left/rightmost vertical bar as this would make things overcomplicated. I found that displaying them left/right aligned suffices to make clear what is meant.

comment:12 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

In r1237.

Modify Ticket

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