Opened 19 years ago

Last modified 16 years ago

#1289 new enhancement

scalebar dual english/metric styling — at Version 5

Reported by: woodbri@… Owned by: jnovak@…
Priority: low Milestone: FUTURE
Component: MapServer C Library Version: unspecified
Severity: minor Keywords:
Cc: woodbri@…, jnovak@…

Description (last modified by dmorissette)

It would be nice to have a scalebar option to generate dual english/metric scalebar where the primary units would be on top and the secondary units would be on the bottom. I'll try character graphics below:

0       1       2   miles
+-----+-+---+---+-+
0     1     2     3 km

This might be limited to only one style of scalebar if that is all that works.

Change History (7)

comment:1 by sdlime, 18 years ago

Milestone: 5.0 release

comment:2 by jnovak@…, 18 years ago

Cc: jnovak@… added
Owner: changed from sdlime to jnovak@…
Add four new scalebar styles; 2 is labels above bar filled, 3 is labels above
bar with ticks, 4 is dual scalebars filled, 5 is dual scalebars with ticks.

For the dual scalebar styles, the units set for the scalbar are drawn on the top
bar, and the corresponding units in the other system are used below.  So, if
miles is specified for the scalebar, kilometers is drawn below as illustrated by
the attachments.

comment:3 by jnovak@…, 18 years ago

Status: newassigned

by jnovak@…, 18 years ago

Attachment: mapserverDualScaleBar1.png added

Dual scalebars in tick style

by jnovak@…, 18 years ago

Attachment: mapserverDualScaleBar2.png added

Dual scalebars in filled style

comment:4 by sdlime, 18 years ago

I wonder if we really need new styles or an option to move labels (and tics)
above the main bar. That way you could stack the scalebars as seperate images. 
Could use the label POSTION UC/LC.

Steve

comment:5 by dmorissette, 17 years ago

Description: modified (diff)
Milestone: 5.0 release5.2 release
Note: See TracTickets for help on using tickets.