[mapserver-users] RE: querymaps

Woody Wallace wgwallace at students.wisc.edu
Tue May 22 10:43:50 EDT 2001


> 4) I have the same problem with multiple labels that another person on
> the list was having. I realize there is a work around.  However, I was
> wondering if this was a bug, or a problem with my .map file.  Could it
> be that I'm requesting that it be drawn twice?
>

As a followup to question 4 I posed yesterday, I continued playing with
the querymap request and layer combinations.  It appears that:

1) using style=hilite: Mapserv draws all requested layers, the query
layer (including the unhilited version of the higlited feature), then
the hilited feature.  Labels are drawn for all requested layers, the
query layer, and then again for the hilited feature, resulting in
duplicate labels for the hilited feature.

2) using style=selected: Mapserv draws all requested layers, then the
selected feature.  Labels are drawn for all requested layers, then the
selected feature, resulting in a single instance of the label for that
feature.

3) in both cases, if a layer is specified as a qlayer and a normal
layer, it is only drawn as a qlayer. Otherwise, you could have tripple
labels and there are none.

Woody
WI-SCO




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20010522/c581899d/attachment.html


More information about the mapserver-users mailing list