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.65k stars 3.01k forks source link

Elevation Profile showing Points from a Virtual Point Cloud does not show the Points if you pan to a new Tile of the VPC and query a new Profile Location #59551

Open PeterDrexel opened 4 days ago

PeterDrexel commented 4 days ago

What is the bug or the crash?

The Elevation Profile showing Points from a Virtual Point Cloud does not show the Points if you pan to a new Tile of the VPC and query a new Profile Location

Steps to reproduce the issue

To reproduce:

  1. Open QGIS and load a VPC (containing more then 1 Tile, for example copc.laz-Pointclouds).
  2. Turn off the VPC in the Layer Tree of the Map Canvas
  3. Open the Elevation Profile (the VPC remains turned off in the Layer-Tree of the Map Canvas, but turned on in the Layer-Tree of the Elevation Profile) and draw a Profile-Line in the Map Canvas: -> The Elevation-Profile-Plot with the Points of the VPC are drawn perfectly.
  4. In the Map Canvas pan to another Tile of the VPC and then draw a new Profile-Line in the Map Canvas. -> The Elevation-Profile-Plot does not show the Points of the VPC at the location of the new Profile-Line. This is not what someone would expect because the VPC is still turned on in the Layer-Tree of the Elevation-Profile. I can even turn it off and on but nothing changes. The Only way to make the Points of the VPC appear in the Elevation-Profile is to turn them on (and off) in the Layer-Tree of the Map-Canvas. After doing so first nothing happens (in the Elevation-Profile), but after pressing the show full extent Button the Points appear.

Versions

3.41 from today an 3.40

Supported QGIS version

New profile

Additional context

https://github.com/qgis/QGIS/issues/54728

No response