Opened 17 years ago
Last modified 15 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):
- Here it works well by splitting a street name over two adjacent segments (for lack of space)
- But here the algorithm prefers traversing two segments over placing the text separately on each segment as it has to the right.
- 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.
Change History (6)
by , 17 years ago
by , 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
by , 17 years ago
anno3. The algorithm favours multiple segments (using a little “traffic circle” in the middle of two large segments)
comment:1 by , 17 years ago
Also mentioned in enhancement request #145, which has since been closed in favour of this better-described ticket.
comment:2 by , 17 years ago
Version: | 1.2.0 → 2.0.0 |
---|
comment:3 by , 15 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.
anno1. Annotation algorithm works well by splitting a street name over two adjacent segments (for lack of space)