Skip to content

LAS/LAZ file without CRS fails to load #50438

Description

@saberraz

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

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

New profile

  • I tried with a new QGIS 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!Point Clouds

    Type

    No type
    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