Re: [gdal-dev] WMS Issues Two Requests

2014-02-10 Thread Even Rouault
Selon Martin Lewis : > Unfortunately. Even, 'that's life' in my customers world was too slow. I didn't imply that you had to bear poor performance. For higher performance, other protocols, tile-oriented and cache friendly, are more appropriate such as WMTS, TMS. > > Now I understand what the WMS

Re: [gdal-dev] WMS Issues Two Requests

2014-02-10 Thread Martin Lewis
Unfortunately. Even, 'that's life' in my customers world was too slow. Now I understand what the WMS driver is doing in terms of BlockSize and DataWindow, I can work round the issue for the time being by requesting a data window sized block in a single request rather than lots of smaller blocks in

Re: [gdal-dev] WMS Issues Two Requests

2014-02-09 Thread Even Rouault
Le vendredi 07 février 2014 15:08:07, Martin Lewis a écrit : > Thanks Jukka. > > I have been having a play around and the 'width' and 'height' sent in the > WMS Request string appears to be BlockSizeX and BlockSizeY and I think I > understand now. > > Removing the BlockSizeX and Y from the XML m

Re: [gdal-dev] WMS Issues Two Requests

2014-02-07 Thread Martin Lewis
Thanks Jukka. I have been having a play around and the 'width' and 'height' sent in the WMS Request string appears to be BlockSizeX and BlockSizeY and I think I understand now. Removing the BlockSizeX and Y from the XML meant that block size was defaulted to 1024 and 1024 - again resulting in tw

Re: [gdal-dev] WMS Issues Two Requests

2014-02-07 Thread Jukka Rahkonen
Martin Lewis ngms.eu.com> writes: > It seems that when it was originally converted to GDAL, the previous > engineer used the same 'bbox' parameters in the DataWindow extents. The > original 'width' and 'height' values are passed in the SizeX and SizeY tags > in the XML > > From what you are sug

Re: [gdal-dev] WMS Issues Two Requests

2014-02-07 Thread Martin Lewis
Thanks for the post. A little background may help - sorry about that. This is for a software program using C++ where the user can pan a map and a request is made to the WMS to fetch that current map in view. I hand rolled a prototype where I issued my own WMS request setting the 'bbox' parameters t

Re: [gdal-dev] WMS Issues Two Requests

2014-02-07 Thread Jukka Rahkonen
Martin Lewis ngms.eu.com> writes: > > I need a little help on WMS, it appears to decide that my one request should > be two and hence is slowing the whole thing up > I create an XML file and it has the following attributes for DataWindow: > >UpperLeftX -10.2210525

Re: [gdal-dev] WMS Issues two requests?

2014-02-06 Thread Lewis, Martin (UK)
I need a little help on WMS, it appears to decide that my one request should be two and hence is slowing the whole thing up I create an XML file and it has the following attributes for DataWindow: UpperLeftX -10.2210525 UpperLeftY57.7424

[gdal-dev] WMS Issues Two Requests

2014-02-06 Thread Martin Lewis
I need a little help on WMS, it appears to decide that my one request should be two and hence is slowing the whole thing up I create an XML file and it has the following attributes for DataWindow: UpperLeftX -10.2210525 UpperLeftY57.7424