Re: [Qgis-user] QGIS - WMS server image size

2020-06-23 Thread Régis Haubourg
Hi Édouard,
If I get it right, You should be able to tile your requests, maybe using
500*500px tiles. This will prevent QGIS from asking too big images.
Hope this helps
Régis


Le mar. 23 juin 2020 à 17:54, Edouard Bourgine 
a écrit :

> 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=GetCapabilities
>
>
> https://inspire.cadastre.gouv.fr/scpc/[CodeINSEE].wms?service=WMS=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/X.wms?WIDTH=1024=1000
>
>
> https://inspire.cadastre.gouv.fr/scpc/X.wms?request=GetMap=image/png=1024=1000
>
>
>
> 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*
>
>
> --
> [image: Avast logo] 
>
> L'absence de virus dans ce courrier électronique a été vérifiée par le
> logiciel antivirus Avast.
> www.avast.com 
>
> <#m_-2234958585904398270_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> ___
> Qgis-user mailing list
> Qgis-user@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS - WMS server image size

2020-06-23 Thread Andreas Neumann

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=GetCapabilities

https://inspire.cadastre.gouv.fr/scpc/[CodeINSEE].wms?service=WMS=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/X.wms?WIDTH=1024=1000

https://inspire.cadastre.gouv.fr/scpc/X.wms?request=GetMap=image/png=1024=1000

  


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   

L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
www.avast.com 


<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

___
Qgis-user mailing list
Qgis-user@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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS - WMS server image size

2020-06-23 Thread 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=GetCapabilities
> 
> https://inspire.cadastre.gouv.fr/scpc/[CodeINSEE].wms?service=WMS=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/X.wms?WIDTH=1024=1000
> 
> https://inspire.cadastre.gouv.fr/scpc/X.wms?request=GetMap=image/png=1024=1000
> 
>  
> 
> 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   
> 
> L'absence de virus dans ce courrier électronique a été vérifiée par le 
> logiciel antivirus Avast.
> www.avast.com 
> 
> 
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> 
> ___
> Qgis-user mailing list
> Qgis-user@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS - WMS server image size

2020-06-23 Thread Edouard Bourgine
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=Ge
tCapabilities

https://inspire.cadastre.gouv.fr/scpc/[CodeINSEE].wms?service=WMS=Ge
tMap

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/X.wms?WIDTH=1024

=1000

https://inspire.cadastre.gouv.fr/scpc/X.wms?request=GetMap

=image/png=1024=1000



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



--
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
https://www.avast.com/antivirus
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user