Hi,

In my application I am making request to mapserver and sending this file gdal 
driver file -

 <GDAL_WMS>

    <Service name="TMS">

        
<ServerUrl>http://gserve-connect/v1/map/urn:v4:spatial-data:raster:visual:gWILJv1HzBdKA:0/tile?tileRow=${y}&amp;tileColumn=${x}&amp;zoomLevel=${z}&amp;minZoom=6&amp;maxZoom=20</ServerUrl>

    </Service>

    <DataWindow>

        <UpperLeftX>-20037508.34</UpperLeftX>

        <UpperLeftY>20037508.34</UpperLeftY>

        <LowerRightX>20037508.34</LowerRightX>

        <LowerRightY>-20037508.34</LowerRightY>

        <TileLevel>21</TileLevel>

        <TileCountX>1</TileCountX>

        <TileCountY>1</TileCountY>

        <YOrigin>bottom</YOrigin>

    </DataWindow>

    <Projection>EPSG:3857</Projection>

    <BlockSizeX>256</BlockSizeX>

    <BlockSizeY>256</BlockSizeY>

    <BandsCount>3</BandsCount>

    <Timeout>60</Timeout>

    <MaxConnections>4</MaxConnections>

    <ZeroBlockHttpCodes>204,404,500</ZeroBlockHttpCodes>

    <ZeroBlockOnServerException>true</ZeroBlockOnServerException>

</GDAL_WMS>


so for some request zoom Level is going beyond max Zoom this is the request - 
https://svc.pict.com/Image/2FD6BE87-8168-73F9-63DD-0BFD5FE63EDD/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=44.73635069554558896,-63.61617776442430028,44.73674930445441333,-63.61582223557569904&CRS=EPSG:4326&WIDTH=751&HEIGHT=843&LAYERS=PICT-NSPVSC22-OUKuEawvk2&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE
 so how could I know from this request what is the zoom level requested because 
when I run mapserver then only i see what zoom level request are going or do i 
have put a restriction in mapserver only or i have to set the tileLevel here to 
20 so that it takes to that zoom level only.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to