[Cartoweb-users] Setting the query policy via parameter
Oliver Christen
oliver.christen at camptocamp.com
Fri Aug 17 09:24:22 EDT 2007
Hi Marc
after investigating a bit, I could only find that unless a geometry is
received, the tables are not intersected. So the problem is not directly
linked to the policy but how the query is handled on server side when using
GET parameters.
Im not yet sure why a geometry is needed at that stage, that plugin being
fairly complicated.
So until one of my colleague more knowledgable with plugin become available,
I can only open a bug report about that issue, sorry.
regards
Oliver
> Hello,
>
>
> I am trying to select/unselect items via parameters. The
> selection/unselection ("query_select" & "query_unselect") work fine with
> the
> default policy setting ("POLICY_XOR"). But trying to modify the
> "query_policy" parameter on-the-fly has absolutely no effect on the
> current
> query (and also any subsequent queries). For instance, I have a few items
> already selected, I would expect only one item remaining hilighted
> (id=GA25-DRG-62), but it doesn't (cw 3.4)
>
> query_policy=POLICY_REPLACE&query_layer=catalog&query_select=GA25-DRG-62&que
> ry_return_table=1&query_return_attributes=1
>
> It affects correctly however the policy setting for the query made with
> the
> query tools.
>
> Am I missing somtehing or is it the expected behaviour ?
>
> Thanks
>
> Marc Monnerat
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
More information about the Cartoweb-users
mailing list