2016-02-23 16:55 GMT+01:00 Régis Haubourg <
[email protected]>:

> Alessandro Pasotti-2 wrote
> > The answer from strk  makes sense to me, I might be wrong but calculating
> > estimated metadata on a query doesn't make much sense to me.
>
> Oh, I read too fast Strk's comment. Sorry for that. I won't explore that
> dead end no more.
> Another idea, maybe autodiscovering extent on data is a good thing for
> desktop, less for server. Mapserver takes extent from mapfile, not from
> data. Could we imagine adding options to force extents from project
> properties and prevent qgis server from asking that to postgis? Such
> queries
> are BTW  very consuming thing on big datasets and I can't imagine big
> servers with many sessions keeping on querying postgis geometries just to
> get such extent.
> Régis
>
>

Yes, that sounds a nice idea.

We could create a new config option for that and cache the extents.
I'm not sure about how deep into the providers this would lead us, or if it
can be better done into the server itself, but worth exploring.

You should definitely add a feature request.


-- 
Alessandro Pasotti
w3:   www.itopen.it
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to