[Qgis-user] QGIS project slow to open when too much wms layers
kimaidou
kimaidou at gmail.com
Sun Dec 6 03:35:57 PST 2015
Hi all
Why not "just" caching the getCapabilities response for the current QGIS
session ? This way, if you have 100 layers coming from the same WMS server,
only one request will be made when opening the project and the response
will be stored in cache and used for other layers.
Please open a feature request in the QGIS hub and attach your project for
further tests.
Michaël
2015-12-06 1:01 GMT+01:00 Andrea Peri <aperi2007 at gmail.com>:
> For who is interest to test the opening issue on wms layer.
> This is the link to retrieve the porject I'm using.
> It is a project for qgis 2.12 using only wms layers.
> The time to open is about 7 minutes.
>
> https://www.dropbox.com/s/he85dwlluvcv4rw/wms_project.zip?dl=0
>
> A.
>
>
> 2015-12-05 23:58 GMT+01:00 aperi2007 <aperi2007 at gmail.com>:
> > Hi,
> > I try to change the qgis project setting for the wms url the parameter:
> >
> > "Ignore GetMap/GetTitle URI reported in capabilities"
> >
> >
> > But the sniffer report me that the qgis is still doing the
> getcapabilities
> > request at start of project.
> >
> > If the getcapability reported url is to be ignored , why it is still
> calling
> > the getcapabilities at startup ?
> >
> > A.
> >
> >
> >
> >
> > Il 05/12/2015 23:45, aperi2007 ha scritto:
> >
> > Hi Jurgen,
> >
> > I know that the getmap url, getfeatureinfo ulr and getlegendgraphics url
> > couldbe significative different from the main url for the getcapability
> > request.
> > But when choose the layer I guess in the project was stored the three
> url.
> > Infact I see in the setting windows for new wms service is available the
> > option
> > "Ignore GetMap/GetTitle URI reported in capabilities"
> >
> > This mean that if I choose this option , it should avoid to read and
> parse
> > the getcapabilities url to retrieve the urls and this also mean (i guess)
> > that the url stored are the direct url for
> > getmap/getlegendgraphics/getfeatureinfo not for the getcapabilities.
> >
> > I check in the qgis project and I'm not able to understand if the url
> used
> > is for the getcapabilites or for the getmap request.
> > Infact our project use the same url for all.
> >
> >
> >
> <datasource>crs=EPSG:3003&dpiMode=all&featureCount=10&format=image/png&layers=r_toscan_cst_fogli&styles=&url=
> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map%3Dwmscastore
> </datasource>
> >
> >
> >
> >
> <datasource>crs=EPSG:3003&format=image/png&layers=lett_c_aree_tutelate&styles=default&url=
> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map%3Dwmspiapae%26version%3D1.3.0%26map_resolution%3D91%26map_mnt%3Dfotovolt
> </datasource>
> >
> > A.
> >
> > Il 05/12/2015 23:00, Jürgen E. Fischer ha scritto:
> >
> > Hi Andrea,
> >
> > On Sat, 05. Dec 2015 at 21:34:10 +0100, Andrea Peri wrote:
> >
> > But when I open a project where the wms layer are just added why do a
> > getcapabilites request for every wms layer in it ?
> >
> > The capabilities provide the urls for all the other requests (sometimes
> > pointing to other servers and sometimes even wrong - hence the ignoreUrl
> > options).
> >
> >
> > Jürgen
> >
> >
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> >
> >
>
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151206/235ec67b/attachment.html>
More information about the Qgis-user
mailing list