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.66k stars 3.02k forks source link

LAS/LAZ file without CRS fails to load #50438

Open saberraz opened 2 years ago

saberraz commented 2 years ago

What is the bug or the crash?

Point cloud layer does not load at all when the layer does not contain CRS. It would be good to have it behave the same way as other layers are loaded in QGIS - allow the layer to load and just mark it as having undefined CRS, so that user can manually specify it later.

A message like this pops up in the message log:

2022-09-29T09:48:03     WARNING    Source de données invalide (readers.las: Global encoding WKT flag not set for point format 6 - 10.) 

Steps to reproduce the issue

1- Load a point cloud layer with no CRS 2- It will not load, leaving the message mentioned above

Versions

3.26

Supported QGIS version

New profile

Additional context

No response

AliFaisal96 commented 1 year ago

same issue here

songzhenhe commented 4 months ago

same issues here, 3.28 and 3.34 version

songzhenhe commented 4 months ago

issue is being discussed here: https://github.com/qgis/QGIS/issues/51862