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.43k stars 2.99k forks source link

Endless loop if profile is drawn outside layer extent #54349

Closed nicogodet closed 1 year ago

nicogodet commented 1 year ago

What is the bug or the crash?

With 1 layer image

With 2 layers image

If both layers are downloaded first and added to QGIS using local files, no issue. Only happens with distant layers

Steps to reproduce the issue

  1. Load both layers
  2. Open profile tool
  3. Draw profile
  4. See endless loading
  5. Remove one layer
  6. Draw profile
  7. Success

Bonus:

  1. Download both layers
  2. Added them
  3. Draw profile
  4. Success

Versions

Version de QGIS 3.33.0-Master Révision du code 1778cbbb0e

Supported QGIS version

New profile

Additional context

No response

nicogodet commented 1 year ago

Reproducible with only 1 layer if profile is drawn outside layer extent image

No issue with same layer using local file.

pblottiere commented 1 year ago

I can reproduce the issue, I'm taking a look.