[MapServer-users] Failed to download capabilities:Download of capabilities failed: Connection on mapfile with more than 1000 layers

Oskar Ravhed oskar.ravhed at t-kartor.com
Tue Dec 20 04:08:34 PST 2022


Hello!

I have 3234 layers in a service and it works fine. also works fine with 
10.000 layers

1 try the getcap in browser
2a if step 1 is success change network timeout in qgis
2b if step 1 does not work change timeouts on server and check mapserver 
log

On 20/12/2022 09:59, Jörg Thomsen (WhereGroup) wrote:
> Hi,
>
> funny, how you type twelve.
>
> 1200 are very much and I guess no one has tried this before.
> So to your question: I would say yes.
>
> I suggest to split it into several services / mapfiles. The 
> capability-xml ist very big I think and most clients will habe 
> problems with it. The usability is bad, the users have to scroll 
> through 1200 Layers, puh. And I don't know whether a getMap with 
> http-get will work (is there a current length-limit in http-get?).
>
>
> Jörg
>
>
>  Am 20.12.22 um 09:42 schrieb Marcin Niemyjski via MapServer-users:
>> Hello,
>>
>> I have a mapfile which constist of 1200 layers. While loading to qgis 
>> error "Failed to download capabilities:Download of capabilities 
>> failed: Connection" is recived.
>>
>> Does this happen becaues of quantitu of layers in mapfile? Is there 
>> any workaround?
>>
>> Best,
>> Marcin
>>
>> _______________________________________________
>> MapServer-users mailing list
>> MapServer-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the MapServer-users mailing list