[QGIS-Developer] Zoom to Scale Plugin - Should we include it on qgis.org?

C Hamilton adenaculture at gmail.com
Fri Feb 21 09:21:54 PST 2020


My idea and our needs are simply to lock the scale to certain resolutions
that precisely match the tiles from the map server. This is only useful if
the user is using a projection that is the same as the map server. The goal
is to avoid any transformations of the map server's image tiles. It has
nothing to do with displaying a scale bar like the "tile scale" panel.

Calvin

On Thu, Feb 20, 2020 at 5:48 PM Nyall Dawson <nyall.dawson at gmail.com> wrote:

> On Fri, 21 Feb 2020 at 05:37, C Hamilton <adenaculture at gmail.com> wrote:
> >
> > We have written a plugin that fixes the scale of the QGIS canvas to
> match the integral size of EPSG:3857 map server tiles. This way there is no
> degradation of the images by transformation. This has some similarities to
> the QGIS 2 plugin called Tile Map Scale Plugin which was never updated for
> QGIS 3.
>
> How is this different to the built-in "Tile Scale" panel? Can you clarify?
>
> Nyall
>
> >
> > This only works with EPSG:3857 projections. I wish I could figure out a
> way to also match an EPSG:4326 tile cache to the canvas scale size, but I
> cannot use the map scale to calculate this because it changes as you move
> around.
> >
> > Would you be interested in having this plugin added into the QGIS repo?
> Unlike the Tile Map Scale Plugin ours only has a single toggle button to
> lock or unlock the QGIS scale to one of the predefined scales.
> >
> > Let me know what you think?
> >
> > Thanks,
> >
> > Calvin
> > _______________________________________________
> > 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/20200221/e026f436/attachment.html>


More information about the QGIS-Developer mailing list