[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-users
Subject:    [mapserver-users] multiple labels? also,
From:       Robert Hollingsworth <reh2 () prodigy ! net>
Date:       2010-09-24 19:45:48
Message-ID: 6633.11623.qm () web80505 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Are there definitive statements somewhere in the mapserver/mapscript 
documentation on whether/how multiple labels, with their own string 
content, color, font, placement, etc., can ALL be simultaneously displayed 
on each placed feature within a layer?  I've seen some hints that this can 
be done, but the infrastructure does not seem to support it.

I'm doing some rather 'brittle' things with php-mapscript ShapeObj, 
and it appears my attempts to do multiple things with Labels and 
Classes results in the last such action effectively overwriting previous 
actions on the same ShapeObj.  So I want between zero and four labels to 
appear per feature, but only one does.

Really, I'm just trying to display multiple symbols, between zero and five 
per polygon feature, depending on client app params, and that basically 
works, BUT it does not appear that symbol placement exploits the scheme 
used in label placement where the polygon centroid is rejected as 
placement point if said centroid is not within polygon.

Any suggestions or doc refs appreciated,
Thanks,
Robert H

               

[Attachment #5 (text/html)]

<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: \
inherit;">Are there definitive statements somewhere in the mapserver/mapscript \
<br>documentation on whether/how multiple labels, with their own string <br>content, \
color, font, placement, etc., can ALL be simultaneously displayed <br>on each placed \
feature within a layer?&nbsp; I've seen some hints that this can <br>be done, but the \
infrastructure does not seem to support it.<br><br>I'm doing some rather 'brittle' \
things with php-mapscript ShapeObj, <br>and it appears my attempts to do multiple \
things with Labels and <br>Classes results in the last such action effectively \
overwriting previous <br>actions on the same ShapeObj.&nbsp; So I want between zero \
and four labels to <br>appear per feature, but only one does.<br><br>Really, I'm just \
trying to display multiple symbols, between zero and five <br>per polygon feature, \
depending on client app params, and that basically  <br>works, BUT it does not appear \
that symbol placement exploits the scheme <br>used in label placement where the \
polygon centroid is rejected as <br>placement point if said centroid is not within \
polygon.<br><br>Any suggestions or doc refs appreciated,<br>Thanks,<br>Robert \
H<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<br><input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" \
id="jsProxy" type="hidden"><div id="refHTML"></div></td></tr></table>



_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic