Opened 17 years ago

Last modified 14 years ago

#351 new enhancement

Annotation of Linear Features

Reported by: TonyB Owned by:
Priority: medium Milestone:
Component: Rendering Service Version:
Severity: minor Keywords: label, lines, annotation
Cc: External ID:

Description

Overall, MGO annotation is great, with some smart placement algorithms. But one of those, annotation across multiple linear segments, does get messy in certain situations.

Some examples (see attached images):

  1. Here it works well by splitting a street name over two adjacent segments (for lack of space)
  1. But here the algorithm prefers traversing two segments over placing the text separately on each segment as it has to the right.
  1. And again here, the algorithm favours multiple segments (using a little “traffic circle” in the middle of two large segments)

Suggested resolution: calculate the mean angular orientation of adjacent segments, and if it is greater than a predefined minimum (20 or 30 degrees?), do NOT annotate across their common node.

Attachments (3)

anno1.bmp (64.0 KB ) - added by TonyB 17 years ago.
anno1. Annotation algorithm works well by splitting a street name over two adjacent segments (for lack of space)
anno2.bmp (155.5 KB ) - added by TonyB 17 years ago.
annoBut here the algorithm prefers traversing two segments over placing the text separately on each segment as it has to the right
anno3.bmp (231.8 KB ) - added by TonyB 17 years ago.
anno3. The algorithm favours multiple segments (using a little “traffic circle” in the middle of two large segments)

Download all attachments as: .zip

Change History (6)

by TonyB, 17 years ago

Attachment: anno1.bmp added

anno1. Annotation algorithm works well by splitting a street name over two adjacent segments (for lack of space)

by TonyB, 17 years ago

Attachment: anno2.bmp added

annoBut here the algorithm prefers traversing two segments over placing the text separately on each segment as it has to the right

by TonyB, 17 years ago

Attachment: anno3.bmp added

anno3. The algorithm favours multiple segments (using a little “traffic circle” in the middle of two large segments)

comment:1 by jbirch, 16 years ago

Also mentioned in enhancement request #145, which has since been closed in favour of this better-described ticket.

comment:2 by jbirch, 16 years ago

Version: 1.2.02.0.0

comment:3 by jbirch, 14 years ago

Version: 2.0.0

Removing version from enhancement request. If this enhancement request has been addressed or is no longer required, please close ticket.

Note: See TracTickets for help on using tickets.