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

[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