Yes. This only happens to the first selection layer if more than one selection layer is processed. For example, I have check boxes for the selection layers. Assume you have already established a query layer. Then check selection layer 1, selection layer 2, etc. Duplicate results will appear for selection layer 1. But, if you only choose one selection layer, you don't get duplicate results.
From: Lime, Steve D (MNIT) [mailto:[email protected]] Sent: Friday, March 29, 2013 12:52 PM To: Bistrais, Bob; [email protected] Subject: RE: Duplicate results with processquerytemplate Is it the selection layer that is duplicated? Steve ________________________________ From: Bistrais, Bob [[email protected]] Sent: Friday, March 29, 2013 11:46 AM To: Lime, Steve D (MNIT); [email protected]<mailto:[email protected]> Subject: RE: Duplicate results with processquerytemplate It's a queryByShape, using a selection from another layer, such as a town polygon. From: Lime, Steve D (MNIT) [mailto:[email protected]] Sent: Friday, March 29, 2013 12:36 PM To: Bistrais, Bob; [email protected]<mailto:[email protected]> Subject: RE: Duplicate results with processquerytemplate What type of query are you triggering? ________________________________ From: [email protected]<mailto:[email protected]> [[email protected]] on behalf of Bistrais, Bob [[email protected]] Sent: Friday, March 29, 2013 11:02 AM To: [email protected]<mailto:[email protected]> Subject: [mapserver-users] Duplicate results with processquerytemplate I have a strange problem which sometimes occurs when I query multiple layers. I have an application where a user may click checkboxes to select layers to query. I found that if they select all layers, the query results will appear twice for the first layer. I checked several times, and as far as I can see, that first layer is only queried once. It seems that the duplicate processing occurs when $map->processQueryTemplate is called. Has anyone ever seen a problem like that, and what might anyone suggest as a fix?
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
