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

Interactions with QGIS virtual layer cause QGIS to hang. #56809

Open EnronEvolved opened 7 months ago

EnronEvolved commented 7 months ago

What is the bug or the crash?

When attempting to export a virtual layer, filtering a layer retrieved from an ArcGIS REST feature server by intersection with local geometry, QGIS fails to bring up the export menu, and locks up completely. A similar hang occurs when attempting to access the layer properties.

My desktop environment informs me that the application is not responding, and I am left with no choice but to force-quit the application.

Steps to reproduce the issue

  1. Add this English Heritage feature server as an ArcGIS REST Server, and add the "Detailed Mapping" and "Project Area" layers to the project.
  2. Import these two layers into a new virtual layer, and use the following query:
    SELECT pts.*
    FROM 'Detailed Mapping' AS pts,
     'Project Area' AS plg
    WHERE plg.fid = 37 
      AND ST_Intersects(pts.geometry, plg.geometry);
  3. After creating the layer, attempt one of the following actions on the layer through its right-click menu: a. "Export → Save features as..." b. Viewing "Properties..."
  4. Observe non-responsiveness of QGIS.

Versions

QGIS version 3.36.0-Maidenhead QGIS code branch Release 3.36
Qt version 5.15.10
Python version 3.11.7
GDAL/OGR version 3.8.4
PROJ version 9.3.1
EPSG Registry database version v10.098 (2023-11-24)
GEOS version 3.12.1-CAPI-1.18.1
SQLite version 3.44.2
PDAL version 2.5.6
PostgreSQL client version unknown
SpatiaLite version 5.0.1
QWT version 6.1.5
QScintilla2 version 2.14.1
OS version KDE Flatpak runtime
       

Active Python plugins processing | 2.12.99 MetaSearch | 0.3.6 grassprovider | 2.12.99 db_manager | 0.1.20

Supported QGIS version

New profile

Additional context

I am running QGIS through Flatpak on Linux Mint 21.3.

EnronEvolved commented 7 months ago

Further testing, having downloaded the ArcGIS layer in question, has established that the issues persist even when the layer is downloaded.