[QGIS-Developer] See map tile grid overlay.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[QGIS-Developer] See map tile grid overlay.

Jeremy Palmer-3
Hi All,

Does anyone know if it's possible turn on the tile grid info (bbox, x, y, zoom) for WMTS/XYZ type layers in QGIS for debugging purposes?

Cheers
Jeremy

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: See map tile grid overlay.

Martin Dobias
Hi Jeremy

I am afraid there is no such run-time option. There are some useful
pieces of debugging code in there, but you would need to do some
adjustments in the source code and recompile QGIS. For example in
qgswmsprovider.cpp in
QgsWmsTiledImageDownloadHandler::tileReplyFinished() there is a block
of code inside "#if 0" / "#endif" which draws tile borders and prints
tile bbox on top of the tile.

Cheers
Martin

On Mon, Jul 8, 2019 at 9:15 AM Jeremy Palmer <[hidden email]> wrote:

>
> Hi All,
>
> Does anyone know if it's possible turn on the tile grid info (bbox, x, y, zoom) for WMTS/XYZ type layers in QGIS for debugging purposes?
>
> Cheers
> Jeremy
> _______________________________________________
> QGIS-Developer mailing list
> [hidden email]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: See map tile grid overlay.

Jeremy Palmer-3
Thanks Martin, very helpful. I'll check it out. 

On Mon, Jul 8, 2019 at 5:42 PM Martin Dobias <[hidden email]> wrote:
Hi Jeremy

I am afraid there is no such run-time option. There are some useful
pieces of debugging code in there, but you would need to do some
adjustments in the source code and recompile QGIS. For example in
qgswmsprovider.cpp in
QgsWmsTiledImageDownloadHandler::tileReplyFinished() there is a block
of code inside "#if 0" / "#endif" which draws tile borders and prints
tile bbox on top of the tile.

Cheers
Martin

On Mon, Jul 8, 2019 at 9:15 AM Jeremy Palmer <[hidden email]> wrote:
>
> Hi All,
>
> Does anyone know if it's possible turn on the tile grid info (bbox, x, y, zoom) for WMTS/XYZ type layers in QGIS for debugging purposes?
>
> Cheers
> Jeremy
> _______________________________________________
> QGIS-Developer mailing list
> [hidden email]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer