qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.5k stars 2.99k forks source link

Tile grid decoration #45649

Open joto opened 2 years ago

joto commented 2 years ago

Feature description

I often work with (raster or vector) tiles in QGIS and want to know where tile boundaries are and what tile coordinates the visible tiles have. I would like to have a map decoration similar to the existing grid, but with tile grid and tile coordinate labels.

Additional context

I have implemented a proof-of-concept of this based on the existing grid map decoration. I will provide a PR with the implementation if you want to test this.

The current implementation provides

The current implementation is not finished:

Here are some screen shots: dialog

world-map-zoom1

africa-marker

I'd be interested in feedback, especially on

joto commented 2 years ago

I have some new features and the code is much better. Load/save works. More settings.

Here is how the dialog looks now:

properties-dialog

Here is how it looks with the coordinates on the canvas border:

coordinates-on-border

I have created a new PR #46200, because the old one was auto-closed.

Still have no idea how to get this into a plugin...