[mapguide-trac] #351: Annotation of Linear Features
MapGuide Open Source
trac_mapguide at osgeo.org
Sun Dec 2 19:17:00 EST 2007
#351: Annotation of Linear Features
---------------------------------+------------------------------------------
Reporter: TonyB | Owner:
Type: enhancement | Status: new
Priority: medium | Milestone:
Component: Rendering Service | Version: 1.2.0
Severity: minor | Keywords: label, lines, annotation
External_id: |
---------------------------------+------------------------------------------
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)
2. But here the algorithm prefers traversing two segments over placing the
text separately on each segment as it has to the right.
3. 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.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/351>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list