[Qgis-user] Checking WFS / HTTP error codes in pyQGIS / QgsVectorLayer?

2021-12-03 Thread John Layt
Hi, We have a plugin that runs a background task to download some data from an external WFS service via QgsVectorLayer. The API is limited to 100 features per call, requiring us to page our requests, and to 600 calls a minute. If we make too many calls per minute then we get HTTP 429 warnings in

Re: [Qgis-user] raster area in vector

2021-12-03 Thread Eddison Araya
Hello thank you very much! Very grateful for the help Greetings Eddison El vie, 3 dic 2021 a las 2:25, Johannes Kröger (WhereGroup) (< johannes.kroe...@wheregroup.com>) escribió: > Hi Eddison, > > the term you are looking for is "zonal statistics" aka "give me raster > cell statistics for t

Re: [Qgis-user] raster area in vector

2021-12-03 Thread WhereGroup
Hi Eddison, the term you are looking for is "zonal statistics" aka "give me raster cell statistics for the zones of my polygon layer". First make an actual polygonal layer with your buffer areas and then use the "Zonal statistics" tool. In the "Statistics to calculate" option choose "Majorit