<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi, everybody<br>
    <br>
    we are using the GDAL WMS driver for getting maps from a public WMTS
    service, <a class="moz-txt-link-freetext" href="http://www.basemap.at">http://www.basemap.at</a>. Anyway, the resulting image does not
    look smooth. In particular, I would guess that the the image was
    scaled with something like a nearest neighbor algorithm.<br>
    So my question is simply, if I can switch the interpolation method
    in some place.<br>
    <br>
    The XML file, taken from
    <a class="moz-txt-link-freetext" href="http://gisforge.wordpress.com/2012/11/06/basemap-at-wmts-layer-in-qgis/">http://gisforge.wordpress.com/2012/11/06/basemap-at-wmts-layer-in-qgis/</a>,
    is:<br>
    <br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <GDAL_WMS><br>
     <Service name="TMS"><br>
     
<ServerUrl><a class="moz-txt-link-freetext" href="http://maps.wien.gv.at/basemap/geolandbasemap/normal/google3857/$">http://maps.wien.gv.at/basemap/geolandbasemap/normal/google3857/$</a>{z}/${y}/${x}.jpeg</ServerUrl><br>
     </Service><br>
     <DataWindow><br>
      <UpperLeftX>-20037508.34</UpperLeftX><br>
      <UpperLeftY>20037508.34</UpperLeftY><br>
      <LowerRightX>20037508.34</LowerRightX><br>
      <LowerRightY>-20037508.34</LowerRightY><br>
      <TileLevel>18</TileLevel><br>
      <TileCountX>1</TileCountX><br>
      <TileCountY>1</TileCountY><br>
      <YOrigin>top</YOrigin><br>
     </DataWindow><br>
     <Projection>EPSG:3857</Projection><br>
     <BlockSizeX>256</BlockSizeX><br>
     <BlockSizeY>256</BlockSizeY><br>
     <BandsCount>3</BandsCount><br>
     <Cache /><br>
    </GDAL_WMS><br>
    <br>
    The command is:<br>
    <br>
    gdal_translate -srcwin 35500000 23500000 100000 100000 -of JPEG
    -outsize 250 250 basemap_at.xml basemap_at.jpg<br>
    <br>
    As can be clearly seen, the labels are hard to read.<br>
    <br>
    Reagrds,<br>
    <br>
    Peter<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Peter Hopfgartner
R3 GIS
web  : <a class="moz-txt-link-abbreviated" href="http://www.r3-gis.com">www.r3-gis.com</a>
</pre>
  </body>
</html>