[Qgis-developer] [WebClient] rule-based style SLOW

bernhard.stroebl at jena.de bernhard.stroebl at jena.de
Thu Apr 19 10:55:57 EDT 2012



Am 19.04.2012 16:49, schrieb Ziegler Stefan:
> Yes.
>
> What do mean by "desktop is fast". Do you load the WMS layer into QGIS or the original project file with the postgis layers?

yep, I meant QGIS desktop with postgis layer, just to make clear there 
is no problem with the styling.

Bernhard
>
> Steffan
>
>> -----Ursprüngliche Nachricht-----
>> Von: qgis-developer-bounces at lists.osgeo.org [mailto:qgis-developer-
>> bounces at lists.osgeo.org] Im Auftrag von bernhard.stroebl at jena.de
>> Gesendet: Donnerstag, 19. April 2012 16:40
>> An: Ziegler Stefan
>> Cc: Qgis-developer at lists.osgeo.org
>> Betreff: Re: [Qgis-developer] [WebClient] rule-based style SLOW
>>
>> Hi Stefan,
>>
>> the WMS requests in my last posts are from firebug. Is that what you mean?
>>
>> Bernhard
>>
>> Am 19.04.2012 15:38, schrieb Ziegler Stefan:
>>> Hi Bernard
>>>
>>> Did you have a look at Firebug (or the Google Chrome equivalent) to see what
>> exactly the client is requesting?
>>>
>>> Regards
>>> Stefan
>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: qgis-developer-bounces at lists.osgeo.org [mailto:qgis-developer-
>>>> bounces at lists.osgeo.org] Im Auftrag von bernhard.stroebl at jena.de
>>>> Gesendet: Donnerstag, 19. April 2012 15:26
>>>> An: Martin Dobias
>>>> Cc: Qgis-developer at lists.osgeo.org
>>>> Betreff: Re: [Qgis-developer] [WebClient] rule-based style SLOW
>>>>
>>>> Hi Martin,
>>>>
>>>> thank you for the reply
>>>>
>>>> Am 19.04.2012 14:36, schrieb Martin Dobias:
>>>>> On Thu, Apr 19, 2012 at 12:00 PM,<bernhard.stroebl at jena.de>    wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I realized that using a rule-based style makes the client dead slow.
>>>>>> Normally the log shows a timeout on the server for qgis_mapserv.fcgi.
>>>>>> If I put the rules into the data source (postgres) and use a
>>>>>> categorized style the client performs as expected. The slowliness
>>>>>> can only be experienced when zooming or panning.
>>>>>>
>>>>>> I prepared an example (will be probably removed in a couple weeks):
>>>>>> http://map2.jena.de/kartenportal/test?format=image/png&visibleLayer
>>>>>> s=
>>>>>> Stadtplan&lang=en
>>>>>>
>>>>>> after loading please activate one of the layers and zoom in on the
>>>>>> colored area in the south rule-based style: loads forever
>>>>>> (Navigation history brings you back) categorized style: loads ok
>>>>>
>>>>> Is it slow also in QGIS desktop app or is it something specific to
>>>>> the QGIS server?
>>>>
>>>> desktop is fast
>>>> and so is QGIS server; compare
>>>> http://map2.jena.de/wms/test?LAYERS=Stadtplan%2Ccategorized%20style&F
>>>> ORMAT=i
>>>>
>> mage%2Fpng&DPI=96&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&
>>>>
>> EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A31468&BBOX=447
>>>> 065
>>>> 4.5050516,5638947.4195052,4471988.6271692,5639432.5548208&WIDTH=1012&
>>>> HEIGH
>>>> T=368
>>>> and
>>>> http://map2.jena.de/wms/test?LAYERS=Stadtplan%2Crule-
>>>>
>> based%20style&FORMAT=image%2Fpng&DPI=96&SERVICE=WMS&VERSION=1.1.1&RE
>>>> QUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=
>>>> EPS
>>>> G%3A31468&BBOX=4470654.5050516,5638947.4195052,4471988.6271692,563943
>>>> 2.55
>>>> 48208&WIDTH=1012&HEIGHT=368
>>>>
>>>> both are reasonably fast
>>>>
>>>>>
>>>>>> if I enter the WMS request directly both layers load reasonably fast!?
>>>>>
>>>>> Then it is probably not a QGIS issue at all...?
>>>>
>>>> I have no idea where the problem comes from because on my PC (running
>>>> OpenSUSE
>>>> 11.4) both layers are fast in QGIS WebClient
>>>>
>>>>>
>>>>> In any case, sharing the project would help - to look for any anomalies.
>>>>
>>>> what would you need? project and a dbdump? If you are willing to look
>>>> into this I would send it to you with a PM.
>>>>>
>>>>> Martin
>>>>
>>>>
>>>> Bernhard
>>>>
>>>>
>>>> ________ Information from NOD32 ________ This message was checked by
>>>> NOD32 Antivirus System for Linux Mail Server.
>>>> http://www.nod32.com
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>> ________ Information from NOD32 ________ This message was checked by NOD32
>> Antivirus System for Linux Mail Server.
>> http://www.nod32.com
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>


________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Server.
http://www.nod32.com


More information about the Qgis-developer mailing list