[mapguide-users] Line labels

Traian Stanev traian.stanev at autodesk.com
Tue Dec 19 14:48:03 EST 2006


Ahh yes. For tiled maps (i.e. for base map layers), the line labeling is
not using the line stitching code, because it cannot guarantee that it
is working with the same features from tile to tile (i.e. it cannot
guarantee deterministic label placement). This is currently a limitation
of tiled maps unfortunately. 

The font scaling behavior can be controlled, but is currently hardcoded
and changing it requires a recompile. You should enter an enhancement
request for that.

Sorry I have no better news.


Traian

 

-----Original Message-----
From: Kori Maleski [mailto:Kori.Maleski at websoftdev.com] 
Sent: Tuesday, December 19, 2006 1:05 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Line labels

Traian,

I should note that there is an issue with GetTile function and the line
label display.

When viewing a tiled map with the viewer - the labeling algorithm works
- every line is NOT labeled.  The segments are joined for proper label
display.

However - if you request tiles via the GetTile function with
MgTileService - EVERY line is labeled.

This is with the MGE SP1 version.  Not sure if this has been addressed
in the latest MGO release.

Also, there is an issue with line labeling when utilizing composites.
The label will shrink to fit within the composite line to the degree
that it becomes unreadable in some instances.  The end result is line
segments with varying label sizes - when the layer settings have a
single label size specified.  This is again with the tiled map.


Cheers,

________________________________




Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
kori.maleski at websoftdev.com
________________________________

 
-----Original Message-----
From: Traian Stanev [mailto:traian.stanev at autodesk.com]
Sent: December 19, 2006 6:55 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Line labels


Hi Martin,

MapGuide is supposed to do a similar thing -- there is some logic that
joins line segments with the same label together if they are close
enough. I'm not sure how your data is organized (linestring,
multilinestring), it may be confusing the algorithm.

Traian

-----Original Message-----
From: Martin Fafard [mailto:martin.fafard at geoprojection.com] 
Sent: Monday, December 18, 2006 9:06 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Line labels

When I label a road (multi lines), I have one label for each section. I
think it's possible to have only one label for my road. MapServer can do
it. MapGuide? How??

Martin Fafard



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org







More information about the Mapguide-users mailing list