<br>thanks paul,<br><br>my situation was that I had a group called "transportation" that contained many different road layers plus railroads and ferrylines, and another group called "landmarks" that had layers like schools, parks, tourist attractions, etc. each group's labels render fine, it was just the collisions between groups that was bugging me. i'm going to experiment with annotation options, and if that doesn't pan out i'll revert to creating a single base group.
<br><br>sacha<br><br><br><div><span class="gmail_quote">On 11/2/06, <b class="gmail_sendername">Paul Spencer</b> <<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sacha,<br><br>if you are rendering all the layers as a single group then you should<br>be seeing mapserver's normal behaviour.<br><br>if you have separated each layer into its own group so that it is<br>separately controllable in the client, then labels will be rendered
<br>with each layer independently of all other labels. What ka-Map does<br>in this case is turn off all other layers so mapserver doesn't take<br>other labels into consideration.<br><br>I don't know of a good way around this if you want to have separate
<br>layer groups and those layer groups have labels. I'm not sure that<br>creating separate annotation layers would solve the problem.<br><br>Cheers<br><br>Paul<br><br>On 2-Nov-06, at 9:50 PM, Sacha Black wrote:<br><br>>
<br>> hi all,<br>><br>> i searched the archives, but couldn't find mentions of this issue,<br>> so i'm just looking for confirmation of what i am seeing with<br>> labels when transitioning an old map file to kamap.
<br>><br>> in regular mapserver, the behaviour is to draw all layers in order<br>> from top to bottom of the mapfile, and then to reverse direction<br>> and draw all the labels from bottom to top. this minimizes label/
<br>> feature collisions, prioritizes point labels over line labels over<br>> polygon labels, and seems to balance label placement across the map<br>><br>> in contrast:<br>><br>> kamap draws each set of labels with its corresponding layer, so
<br>> that labels are placed regardless of collisions with labels on<br>> other layers, and labels can be "overlain" and partially hidden by<br>> features higher up in the stack... which can lead to some odd/ugly
<br>> cartographic results.<br>><br>> is there something i am missing here? the above suggests that all<br>> labeling in a kamap map file should be done at the bottom of the<br>> map file in a new group (so labels are last to draw, and the
<br>> overlay probelm is fixed) .... is this the intention? would the<br>> result of doing this be comparable to straight mapserver output?<br>> i'm a bit worried about hitting an upper limit of allowed layers if
<br>> a large number need to be repeated as annotation layers....<br>><br>> sacha<br>> _______________________________________________<br>> ka-Map-users mailing list<br>> <a href="mailto:ka-Map-users@lists.maptools.org">
ka-Map-users@lists.maptools.org</a><br>> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br><br>+-----------------------------------------------------------------+
<br>|Paul Spencer <a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a> |<br>+-----------------------------------------------------------------+<br>|Chief Technology Officer |
<br>|DM Solutions Group Inc <a href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a> |<br>+-----------------------------------------------------------------+<br><br><br><br><br></blockquote></div>
<br>