[mapguide-users] Erratic display of feature labels

Traian Stanev traian.stanev at autodesk.com
Wed Oct 11 09:41:58 EDT 2006


Sorry, I was under the impression that the overposting stuff could be
turned off for all types of geometries. Turns out that's not the case.
Well, one way around this (and a painful one) might be to generate a
point layer with the centroid of each polygon and use that point layer
to display labels. I am not sure if this is worth trying out, since the
results aren't guaranteed...
 
Traian

  _____  

From: Jackie Ng [mailto:jackie.ng at aecsystems.com.au] 
Sent: Tuesday, October 10, 2006 8:36 PM
To: users at mapguide.osgeo.org
Cc: Traian Stanev
Subject: RE: [mapguide-users] Erratic display of feature labels


Hi Traian,
 
I would like to try your first solution (turn off overpost detection)
but the layer in question is a polygon layer with area styles. There is
no option available to turn off overposting.

Regards,

Jackie Ng

AEC Spatial Pty Ltd. / AEC Systems Pty Ltd.
SYDNEY - MELBOURNE - BRISBANE - PERTH - ADELAIDE - HOBART 

A.B.N: 32 075 809 451

Level 4, 37-41 Prospect St. Box Hill, Victoria, 3128

Phone: 1300 368 609 
Fax:    1300 362 140 

www.aecsystems.com.au 
jackie.ng at aecsystems.com.au

 


  _____  

From: Traian Stanev [mailto:traian.stanev at autodesk.com] 
Sent: Tuesday, 10 October 2006 11:51 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Erratic display of feature labels


 
 
This is caused by, how can I say it, impefections, in the label
occlusion avoidance algorithm. The problems happen especially when text
is rotated, in which case the bounding box used to compute the region
covered by the label is no longer tight. This, combined with the fact as
new features appear on the map, the order labels get processed changes,
causes the behavior you describe. So it is currently normal for some
labels to disappear and appear depending on the view. One solution I
could offer is to turn off label overpost detection for the layer --
there is a checkbox for that in Studio, in the style dialog -- this
would cause all labels to draw. Another solution would be to use a tiled
map, which would result in a more fixed labeling, but then some labels
may just never show up. A third solution may be to use a smaller font so
that more labels fit. A fourth solution is for us to improve the
labeling to deal with non-axis-aligned bounds. :-)
 
 
Traian
 


  _____  

From: Jackie Ng [mailto:jackie.ng at aecsystems.com.au] 
Sent: Tuesday, October 10, 2006 4:30 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Erratic display of feature labels


Hi All,
 
I am experiencing a very strange problem with the display of feature
labels. Basically the map is only showing a subset of all the feature
labels that are actually there. At closer zoom levels, when I am panning
around on my map, some labels will magically disappear while some will
magically appear. The attached images will better explain the problem. 
 
The "before" image a partcular close-up view of the map. 
The "after" image is the same view, panned slightly to the right. 
The "after-more" image is the "after" view panned slightly up.
 
The selected polygon in blue is the same polygon for all 3 images.
 
Notice how some labels disappear and some appear during these
transitions? 
 
Help me :(

Regards,

Jackie Ng

AEC Spatial Pty Ltd. / AEC Systems Pty Ltd.
SYDNEY - MELBOURNE - BRISBANE - PERTH - ADELAIDE - HOBART 

A.B.N: 32 075 809 451

Level 4, 37-41 Prospect St. Box Hill, Victoria, 3128

Phone: 1300 368 609 
Fax:    1300 362 140 

www.aecsystems.com.au 
jackie.ng at aecsystems.com.au

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20061011/a7959dfd/attachment.html


More information about the Mapguide_users mailing list