[Qgis-user] QgisServer - WMS getMap with geographical filters

nagyrobi_r at yahoo.com nagyrobi_r at yahoo.com
Sat Oct 31 10:57:34 PDT 2020


 hei! 

Not very experienced with qgis server,and i have not tested this. I have some experience with geoserver. Just skimmed through the official docs and found the following: https://docs.qgis.org/3.16/en/docs/server_manual/services.html#wms-bbox

I would assume that since this not a required parameter, i think you could limit your map to a BBOX.

3.1.1.7. BBOX
This parameter allows to specify the map extent with units according to the current CRS. Coordinates have to be separated by a comma.

However, a slight difference has to be noticed according to the current VERSION parameter. In WMS 1.1.0, coordinates are formed like minx,miny,maxx,maxy or minlong,minlat,maxlong,maxlat. For example:

http://localhost/qgisserver?
SERVICE=WMS
&REQUEST=GetMap
&VERSION=1.1.0
&SRS=epsg:4326
&BBOX=-180,-90,180,90


Robert
     On Saturday, October 31, 2020, 05:17:39 PM GMT+1, niki oro <oro.niki at gmail.com> wrote:  
 
 Hi everyone,
I'm working with a layer which I need to filter in a WMS GetMap request by adding a BBOX query in order to retrieve only a subset of information. I suppose that the right way to accomplish this is by adding a kind of CQL filter, but I cannot find the proper manner.I tried with this: Filter= LayerWhichINeedToFilter : "nameOfGeometryAttribute" 'BBOX'(2841625.00, 8882591.00, 2962275, 8971491);
Is there a right way to do this?Thank you_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201031/3d6de790/attachment-0001.html>


More information about the Qgis-user mailing list