Skip to content

Tianditu cannot be loaded in QGis WMS/WMTS。 #58579

Description

@hhw3KevinHou

What is the bug or the crash?

Tianditu can be added to WMS/WTMS with tk in url parameter:http://t0.tianditu.gov.cn/img_w/wmts?request=GetCapabilities&service=wmts&tk={your tk}.
image

But cannot be displayed and got some errors when getting tiles. I found there is no tk parameter in get tile url.

In ArcMap, the Tianditu Map can be displayed by setting parameter in:
image

How to set parameters in QGIS?

Steps to reproduce the issue

  1. add WMS/WTMS with tk in url parameter: http://t0.tianditu.gov.cn/img_w/wmts?request=GetCapabilities&service=wmts&tk={your tk}.
  2. success added
  3. double click and add to layer
  4. cannot display map and get error logs about failing to get tiles

Versions

3.38.2

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!WMTS data provider

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions