<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof"></span><br>
</div>
Great advice, thank you Oskar.
<div class="FluidPluginCopy"><br class="ContentPasted0">
</div>
<div class="FluidPluginCopy ContentPasted0 elementToProof">Could you tell me how long it takes to load the WMS into qgis or GetCap with that many layers?</div>
<div class="FluidPluginCopy ContentPasted0 elementToProof ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I am also interested in what purpose you are using the WMS with this amount of data. Could you share it? In my case it is daily Sentinel-1 imagery for the whole world from the beginning of 2021.<br>
</div>
<div class="FluidPluginCopy"><br class="ContentPasted0">
</div>
<div class="FluidPluginCopy ContentPasted0">Merry Christmas to all,</div>
Marcin
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> MapServer-users <mapserver-users-bounces@lists.osgeo.org> on behalf of Oskar Ravhed <oskar.ravhed@t-kartor.com><br>
<b>Sent:</b> Tuesday, December 20, 2022 1:08 PM<br>
<b>To:</b> mapserver-users@lists.osgeo.org <mapserver-users@lists.osgeo.org><br>
<b>Subject:</b> Re: [MapServer-users] Failed to download capabilities:Download of capabilities failed: Connection on mapfile with more than 1000 layers</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hello!<br>
<br>
I have 3234 layers in a service and it works fine. also works fine with <br>
10.000 layers<br>
<br>
1 try the getcap in browser<br>
2a if step 1 is success change network timeout in qgis<br>
2b if step 1 does not work change timeouts on server and check mapserver <br>
log<br>
<br>
On 20/12/2022 09:59, Jörg Thomsen (WhereGroup) wrote:<br>
> Hi,<br>
><br>
> funny, how you type twelve.<br>
><br>
> 1200 are very much and I guess no one has tried this before.<br>
> So to your question: I would say yes.<br>
><br>
> I suggest to split it into several services / mapfiles. The <br>
> capability-xml ist very big I think and most clients will habe <br>
> problems with it. The usability is bad, the users have to scroll <br>
> through 1200 Layers, puh. And I don't know whether a getMap with <br>
> http-get will work (is there a current length-limit in http-get?).<br>
><br>
><br>
> Jörg<br>
><br>
><br>
>  Am 20.12.22 um 09:42 schrieb Marcin Niemyjski via MapServer-users:<br>
>> Hello,<br>
>><br>
>> I have a mapfile which constist of 1200 layers. While loading to qgis <br>
>> error "Failed to download capabilities:Download of capabilities <br>
>> failed: Connection" is recived.<br>
>><br>
>> Does this happen becaues of quantitu of layers in mapfile? Is there <br>
>> any workaround?<br>
>><br>
>> Best,<br>
>> Marcin<br>
>><br>
>> _______________________________________________<br>
>> MapServer-users mailing list<br>
>> MapServer-users@lists.osgeo.org<br>
>> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
<br>
_______________________________________________<br>
MapServer-users mailing list<br>
MapServer-users@lists.osgeo.org<br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div>
</span></font></div>
</body>
</html>