Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.in.pdal fails with LAS files without projection #4157

Open
CarlosGrohmann opened this issue Aug 8, 2024 · 2 comments
Open

r.in.pdal fails with LAS files without projection #4157

CarlosGrohmann opened this issue Aug 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@CarlosGrohmann
Copy link
Contributor

Describe the bug

I'm using GRASS 8.4 from ubuntugis-unstable. When trying to import a lidar dataset I got this error:

terminate called after throwing an instance of
'pdal::pdal_error'
  what():  readers.las: Global encoding WKT flag not set for
point format 6 - 10.

Searching for the error, I found mentions that this can be avoided by using readers.las.nosrs=true but there is no way to add it this option to r.in.pdal.

One field to add extra options to the pdal pipeline could fix this.

System description

  • Operating System: Linux, Pop!OS (jammy)

  • GRASS GIS version: 8.4.0RC1 (from ubuntugis-unstable)

    g.version -rge
    version=8.4.0RC1
    date=2024
    revision=3a099f17bd
    build_date=2024-06-19
    build_platform=x86_64-pc-linux-gnu
    build_off_t_size=8
    libgis_revision=3a099f17bd
    libgis_date=2024-06-11T14:29:08+00:00
    proj=9.3.1
    gdal=3.8.4
    geos=
    sqlite=3.37.2

external links

PDAL/PDAL#3803
https://gis.stackexchange.com/questions/413191/python-pdal-error-reading-format-1-4-las-file-readers-las-error-global-enco

@CarlosGrohmann CarlosGrohmann added the bug Something isn't working label Aug 8, 2024
@marisn
Copy link
Contributor

marisn commented Aug 19, 2024

Could you, please, provide a small file with test data?

@CarlosGrohmann
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants