Feature request #14364

Add an option to avoid querying data to collect extents

Added by Regis Haubourg about 1 year ago. Updated about 1 year ago.

Status:Open Start Date:02/23/2016
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Mapserver (QGIS Server)
Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

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.

History

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.

My 2ct.

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

Updated by Anita Graser about 1 year ago

  • Subject changed from [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