[Qgis-user] qgis_server wms SELECTION and FILTER parameters don't work

Marco Hugentobler marco.hugentobler at sourcepole.ch
Wed Feb 29 05:16:41 PST 2012


Hi Amedeo

To use the  FILTER and SELECTION parameters, a newer version is needed. 
It will be contained in the upcoming 1.8 version.

Regards,
Marco

On 29.02.2012 13:27, Amedeo Fadini wrote:
> Hi all,
> I need to generate a couple of small maps around point features in a
> postgis table, so I've written a SQL that ouputs a wms getmap url for
> each point
> qgis_server does the job very well because is simple to set up styles
> and group layers, but I'm not able to use the FILTER or SELECTION
> parameter
>
> when I call
>
> myserver/cgi-bin/qgis_mapserver.fcgi?service=WMS&version=1.3.0&request=GetMap&layers=layergroup,layer1&FILTER=layer1:"gid"
> = 23
>
> or
> myserver/cgi-bin/qgis_mapserver.fcgi?service=WMS&version=1.3.0&request=GetMap&layers=layergroup,layer1&SELECTION=layer1:23
>
> I get the image with all the points of layer1 in the area, no error.
> Where can I find informations about what's wrong?
>
> Server: debian 6.04
> qgis: 1.7.4
>
> Thank-you
>
> Amedeo Fadini
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee




More information about the Qgis-user mailing list