[QGIS-trac] Re: [Quantum GIS] #1576: wms: no way to set width and
height, but no error message when beyond max
Quantum GIS
qgis at qgis.org
Sun Mar 29 06:35:29 EDT 2009
#1576: wms: no way to set width and height, but no error message when beyond max
-----------------------------------------------------+----------------------
Reporter: mlennert | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.0.2
Component: WMS | Version: 1.0.0
Resolution: | Keywords:
Platform_version: | Platform: Debian
Must_fix: No | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by mlennert):
Replying to [comment:3 mhugent]:
> > 1) No way to set max values other then by resizing window.
>
> the min-max pixel values are a property of the server, not of the WMS
client.
> For QGIS as a WMS client, I don't see any other reasonable way of
requesting the pixel resolution (WIDTH and HEIGHT parameters) of the QGIS
map window.
GRASS allows you to give row+col max values and then calculates the
bounding boxes of all the tiles it has to download to respect both those
max values and the bounding box of the total region. But I imagine that
this is not as easy for simple viewing as in QGIS.
>
> I still need to check the WMS specs. As far as I remember, the max width
height of the server is not given in all WMS version capabilities. Also,
if the server does return only an empty image and no exception, QGIS
cannot know that it is an error.
>
> >http://www.ngi.be/testbed/
>
> Please provide directly a wms url
The problem is that you have to login to get access to their WMS server.
Contact me off-trac and we should be able to find a way to get you access
if you do not want to sign up (it's free, but only in French or Dutch).
Moritz
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1576#comment:4>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list