[Qgis-user] Qgis-server recompute always the layer bbox ?

Andrea Peri aperi2007 at gmail.com
Tue Feb 18 04:42:54 PST 2014


Hi GioHappy,

I Agree that more probably the bottleneck is at provider level,

However just to better understand the question , before start to explore
the spatialite provider level , I like to study well what the
"appendLayerBoundingBoxes" to effectively.

Many thx for pointing me to the right direction.

A.



2014-02-18 10:39 GMT+01:00 G. Allegri <giohappy at gmail.com>:

> Andrea,
> as pointed in the preovious emails, QGIS Server doesn't calculate the BBOX
> itself. It gets them from the layer infos:
> https://github.com/qgis/QGIS/blob/master/src/mapserver/qgsprojectparser.cpp#L1075
>
> If there's a bottleneck it's ath the provider level.
>
> Giovanni
>
>
> 2014-02-17 9:50 GMT+01:00 Andrea Peri <aperi2007 at gmail.com>:
>
> Hi,
>>
>> Yes, it is correctly defined thx.
>> Also I verified that is used in my compile session.
>>
>> Now I like to try to do some change to c-code to have , if possible, a
>> faster bbox calculation on a spatialite 4.1.1.
>>
>> Please , can pointing me forward the right c file where qgis-server try
>> to  calculate the bbox of every layer ?
>>
>> Thx.
>>
>>
>>
>> 2014-02-16 23:45 GMT+01:00 Jürgen E. <jef at norbit.de>:
>>
>> Hi Andrea,
>>>
>>> On Sun, 16. Feb 2014 at 17:16:39 +0100, Andrea Peri wrote:
>>> >    I found it.
>>> >
>>> >    It was defined in the cmake section:
>>> >    FindSPATIALITE.cmake
>>> >
>>> >    Ok, now I procede to understand if it is really checked.
>>>
>>> $ grep SPATIALITE_VERSION_GE_4_0_0 $yourbuilddir/CMakeCache.txt
>>> SPATIALITE_VERSION_GE_4_0_0:INTERNAL=1
>>>
>>> BTW there's also git grep:
>>>
>>> $ git grep -l SPATIALITE_VERSION_GE_4_0_0
>>> ...
>>> ke/FindSPATIALITE.cmake
>>> ...
>>>
>>>
>>> Jürgen
>>>
>>> --
>>> Jürgen E. Fischer         norBIT GmbH               Tel.
>>> +49-4931-918175-31
>>> Dipl.-Inf. (FH)           Rheinstraße 13            Fax.
>>> +49-4931-918175-50
>>> Software Engineer         D-26506 Norden
>>> http://www.norbit.de
>>> QGIS PSC member (RM)      Germany                      IRC: jef on
>>> FreeNode
>>>
>>> --
>>> norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
>>> Rheinstrasse 13, 26506 Norden
>>> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>
>>
>>
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty àèìòù
>> -----------------
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
>
> --
> Giovanni Allegri
> http://about.me/giovanniallegri
> Twitter: https://twitter.com/_giohappy_
> blog: http://blog.spaziogis.it
> GEO+ geomatica in Italia http://bit.ly/GEOplus
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140218/1536335b/attachment.html>


More information about the Qgis-user mailing list