Feature request #14364
Add an option to avoid querying data to collect extents
|Assigned to:||-||% Done:||
|Category:||Mapserver (QGIS Server)|
|Target version:||Future Release - Nice to have|
|Platform version:||Pull Request or Patch supplied:||No|
QGIS server has severe overhead when initializing qgis project cache when getting extent of layers in a project when data are postgis views.
For big databases, this can be a real blocker (here 24s at first wms request, 7s for next queries.
This has been discussed here: performance questions
If this is possible with data providers, having an option in OWS project properties to ignore extent from data and trust project extent would be a great solution. This is how mapserver works I guess.
Updated by aperi2007 - about 1 year ago
Just to explain how work mapserver:
The mapserver automatically retrieve the extend when it is not defined. To avoid this in mapserver is necessary to set the EXTENT parameter al layer level.
So the Mapserver avoid to calculate it.
Actually in the qgis is possible to set the EXTENT only at project level.
Perhaps an enhance could go in the direction to set manually the extent also at layer level.
Updated by Jürgen Fischer about 1 year ago
- Subject changed from [Server] add an option to avoid querying data to collect extents to [add an option to avoid querying data to collect extents
Also available in: Atom