[QGIS-Developer] Looking for description for the "Zoom to native resolution" tool

C Hamilton adenaculture at gmail.com
Tue Jan 19 11:12:47 PST 2021


This is what the plugin Lock Zoom to Tile Scale attempted to do.

https://plugins.qgis.org/plugins/lockzoom/

On Tue, Jan 19, 2021 at 2:07 PM DelazJ <delazj at gmail.com> wrote:

> Hi,
> Thanks for your quick replies (and inputs in the PR), guys
> Richard, seems it's more about pairing a pixel on the raster with a pixel
> on the screen. And indeed it works with "simple" raster also.
>
> Regards,
> Harrissou
>
> Le mar. 19 janv. 2021 à 17:30, Richard Duivenvoorde <rdmailings at duif.net>
> a écrit :
>
>> On 1/19/21 5:19 PM, DelazJ wrote:
>> > Hi devs,
>> >
>> > Can any of you help us understand what the "Zoom to native resolution
>> (100%)" tool in map navigation toolbar or View menu does, please?
>> > It would help us close
>> https://github.com/qgis/QGIS-Documentation/pull/6441 <
>> https://github.com/qgis/QGIS-Documentation/pull/6441>
>>
>> This is mainly relevant to WMTS/xyz and other tiled images based (online)
>> data sources (for what I know).
>>
>> Because those tiles actually are server side cached, they have off course
>> one true resolution: in which a 256x256px tile is shown on a 256x256px area
>> of the mapcanvas.
>>
>> When you load such layers in QGIS, QGIS can rescale those tiles, they
>> will be rescaled then, often not making the image prettier.
>>
>> The idea of the native resolution is for what I know: select the tiled
>> layer, the select the "Zoom to native resolution (100%)" and then QGIS will
>> switch to one of the (native) zoom level scales of the tiled layer.
>> It more or less works the same as with the Tile Slider.
>>
>> Maybe (others plz confirm) this also works this way for raster images
>> like geotiffs...
>>
>> Hope this helps,
>>
>> Regards,
>>
>> Richard Duivenvoorde
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210119/6d635da5/attachment.html>


More information about the QGIS-Developer mailing list