<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Andrea<br>
<br>
>I suspect that QS try always to recalc the box of every layer.<br>
<br>
QGIS server caches layers (up to 100, but that can be enhanced
using the environment variable MAX_CACHE_LAYERS). Furthermore,
the GetCapabilities documents are cached (so no recalculation if
using FastCGI).<br>
<br>
>Perhaps a different usage of spatialite driver between qgis
desktop and qgis-server ? <br>
<br>
QGIS server uses the public API, so it should be exactly the same
usage. Must be some other difference (libspatialite version?)<br>
<br>
Regards,<br>
Marco<br>
<br>
On 13.02.2014 23:34, Andrea Peri wrote:<br>
</div>
<blockquote
cite="mid:CABqTJk8DSs=GSrYnKBa6Amoo2iuzUrvCsZ_TDpP9JtV_y7fZWQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi, <br>
</div>
I partially resolved.<br>
<br>
</div>
The framework I sued will allow me bypass the
getcapabilities phase and go directly to the getmap
phase.<br>
</div>
Initizally also the getmap phase seem to be too slow,
but after some try I notice that a slow bottleneck is
the change of SRS.<br>
So fixing the SRS to the same of the dataset will gain
a bit of speed and now the time to wait is quite
acceptable.<br>
</div>
The strange is that the qgis desktop on my notebook ,
using the same project and the same datasets is more,
more speeder than my server where there is the
qgis-server.<br>
<br>
</div>
We use a spatialite db.<br>
</div>
Perhaps a different usage of spatialite driver between qgis
desktop and qgis-server ?<br>
Actually I don't know.<br>
</div>
<br>
</div>
<div>
<div>
<div>Regards,<br>
</div>
<div>Andrea.<br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-02-13 11:30 GMT+01:00 Andrea Peri
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Hi I'm trying to publish with qgis.server a
project with some huge dayaset. Actually the
getcapabilities tale about 40 sec to return. I suspect
that QS try always to recalc the box of every layer.<br>
Is confirmed that qgis.server recompute always the box for
every request ?<br>
If confirmed, There is an option to avoid this ? </p>
<p dir="ltr">THX,<br>
Andrea</p>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . . <br>
qwerty àèìòù<br>
-----------------<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a class="moz-txt-link-abbreviated" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a class="moz-txt-link-freetext" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee </pre>
</body>
</html>