[Qgis-user] QGIS - WMS server image size

Andreas Neumann a.neumann at carto.net
Tue Jun 23 09:23:25 PDT 2020


Hi,

Is the GetCapabilities response including the maxwidth/height information?

If yes, then QGIS as a client should honor it and send multiple requests.

Can you share  a valid GetCapabilities link? I have no idea about a 
valid CodeINSEE ...

We'd need to check the GetCapabilities response. If maxwidth/height is 
not included there, then the server configuration is broken and you'd 
need to file a bug report at the server operator.

Greetings,

Andreas


Am 23.06.20 um 18:14 schrieb Richard Duivenvoorde:
> Hi Edouard,
>
> Other then resizing the canvas to a smaller size then your max width/height I do not have an idea...
>
> Dan you maybe share some example of a working CodeINSEE? It is hard to guess :-)
>
> I was thinking if you can maybe trick it to be some tile-server
> (for example by setting up a local MapProxy in front of it...)...
> Off course this will make your create a local 'cache' so you loose your data-freshness :-)
>
> Regards,
>
> Richard Duivenvoorde
>
> On 6/23/20 5:54 PM, Edouard Bourgine wrote:
>> Hi,
>>
>>   
>>
>> I’m running QGIS 3.10.6 on w10.
>>
>>   
>>
>> I’m having trouble with a WMS server.
>>
>>   
>>
>> The server is from the french land registry office :
>>
>> https://inspire.cadastre.gouv.fr/scpc/[CodeINSEE].wms?service=WMS&request=GetCapabilities
>>
>> https://inspire.cadastre.gouv.fr/scpc/[CodeINSEE].wms?service=WMS&request=GetMap
>>
>> The Code INSSE being a code specific to each city.
>>
>>   
>>
>> My problem is that this server doesn’t accept image requests with a size higher than width : 1024 and height 1000.
>>
>>   
>>
>> How do I force QGIS to limit image request ?
>>
>>   
>>
>> I trying differents URL, some of them below :
>>
>>   
>>
>> https://inspire.cadastre.gouv.fr/scpc/XXXXX.wms?WIDTH=1024&HEIGHT=1000
>>
>> https://inspire.cadastre.gouv.fr/scpc/XXXXX.wms?request=GetMap&format=image/png&width=1024&height=1000&styles
>>
>>   
>>
>> Nothing seems to work.
>>
>>   
>>
>> On the last LTR there was a specific field for image width and height. Not on this one. What/How should i do/write with the URL on this LTR ?
>>
>>   
>>
>> Or am I missing something ?
>>
>>   
>>
>> Thanks
>>
>>   
>>
>> *Edouard BOURGINE*
>>
>>
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> Avast logo <https://www.avast.com/antivirus> 	
>>
>> L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
>> www.avast.com <https://www.avast.com/antivirus>
>>
>>
>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list