Ticket #62 (closed defect: fixed)

Opened 12 months ago

Last modified 12 months ago

Label placement regressions

Reported by: dave Owned by: dave
Priority: Milestone: 0.5.0
Component: Core Library Version: SVN Trunk
Severity: Normal Keywords: label text placement
Cc: Patch Needs Improvement:
Needs Docmentation: Has Patch?:
Design Decision Needed:

Description

r557 changed the behavior of label placement. See the attached images for details.

output_old.png - from revision r556 (Note the even, centered text on the straight roads) output_80.png - current SVN with label_spacing 80 output_100.png - current SVN with label_spacing 100

Before r557 text would always be centered on the road, from r557 it is offset from the start of the linestring instead. This prevents roads that should be given a single label from having any labels if offset+string length > linestring length.

Attachments

output_old.png (52.9 kB) - added by dave 12 months ago.
Old correct behavior
output_80.png (44.6 kB) - added by dave 12 months ago.
New behavior with label_spacing = 80
output_100.png (42.2 kB) - added by dave 12 months ago.
New behavior with label_spacing = 100

Change History

Changed 12 months ago by dave

Old correct behavior

Changed 12 months ago by dave

New behavior with label_spacing = 80

Changed 12 months ago by dave

New behavior with label_spacing = 100

Changed 12 months ago by dave

  • status changed from new to assigned

Mostly fixed in r592, behaves like it used to. label_position_tolerance is still ignored however, so I'll leave this bug open for now.

Changed 12 months ago by dave

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r597

Note: See TracTickets for help on using tickets.