[GRASS-git] [OSGeo/grass] 856a51: r.in.pdal: Improve PDAL error handling (#4750)
Māris Nartišs
noreply at github.com
Mon Dec 2 15:23:54 PST 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 856a5141ea392b620e23dbe486e595564e2fb629
https://github.com/OSGeo/grass/commit/856a5141ea392b620e23dbe486e595564e2fb629
Author: Māris Nartišs <maris.gis at gmail.com>
Date: 2024-12-02 (Mon, 02 Dec 2024)
Changed paths:
M raster/r.in.pdal/info.cpp
M raster/r.in.pdal/info.h
M raster/r.in.pdal/main.cpp
A raster/r.in.pdal/testsuite/test_r_in_pdal_print.py
Log Message:
-----------
r.in.pdal: Improve PDAL error handling (#4750)
* r.in.pdal: Improve PDAL error handling
Some non-conformant LAS files trigger an error in PDAL library that
results in an unhandled exit from r.in.pdal module.
This code catches all PDAL errors and reports them in a GRASS way.
One of error sources is lack of SRS information in the imported LAS file.
This code propogates SRS check override from GRASS to PDAL library
thus eliminating an error observed by non-conformant 1.4 LAS files.
Fixes: https://github.com/OSGeo/grass/issues/4157
* r.in.pdal: update copyright notice
* r.in.pdal: enable reader.las "nosrs" option only in PDAL >= 2.4.3
* r.in.pdal: use PDAL defined macros to determine its version
Reduces overhead of the configure stage
* r.in.pdal: remove debugging pritnout left by accident
* r.in.pdal: do not pass unused parameter to functions if "nosrs" is
not available
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list