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,<[email protected]> 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&visibleLayers=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&FORMAT=image%2Fpng&DPI=96&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A31468&BBOX=4470654.5050516,5638947.4195052,4471988.6271692,5639432.5548208&WIDTH=1012&HEIGHT=368
and
http://map2.jena.de/wms/test?LAYERS=Stadtplan%2Crule-based%20style&FORMAT=image%2Fpng&DPI=96&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A31468&BBOX=4470654.5050516,5638947.4195052,4471988.6271692,5639432.5548208&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
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer