igd-geo / pasture

Rust library for point cloud processing
Apache License 2.0
72 stars 9 forks source link

pasture_io - IOFactory is case sensitive #9

Closed tobias93 closed 2 years ago

tobias93 commented 3 years ago

When using pasture_io::base::IOFactory::default() to construct a reader of the appropriate type for a file, it does not correctly detect the file format, if the file extension is upper case.

This is for example inconvenient, when processing files from the ahn3 data set, obtained from here, as the file names end in .LAZ instead of .laz, as expected by the IOFactory.

Mortano commented 3 years ago

Thanks for pointing this out. Should be easy to fix.

Mortano commented 3 years ago

This is fixed in main now and will be part of pasture 0.2.0 once it gets released.