As part of a geo-indexing script, I'd like to add in support for numerous .laz files we have sitting around on our SAN. The only intent of the handler is to grab the filename/path, the SRS, and the extent of the point cloud file. I do not need to do any processing or analysis on the dots.
So I'm able to do
from laspy.file import File
my_file = File("path/to/file.laz", mode='r')
and it loads the files without error. I can call the File.header
property, but have no idea how to "get into" it to extract values or calculate the min/max X/Y.