laspy.vlrs.vlr
- class laspy.VLR(user_id, record_id, description='', record_data=b'')[source]
>>> import laspy >>> my_vlr = laspy.VLR( ... user_id="MyUserId", ... record_id=0, ... description="An Example VLR", ... record_data=int(42).to_bytes(8, byteorder='little'), ... ) >>> my_vlr.user_id 'MyUserId' >>> int.from_bytes(my_vlr.record_data, byteorder='little') 42
- record_data: bytes
The record_data as bytes, length cannot exceed 65_535
- property description: str | bytes
The description, cannot exceed 32 bytes
- property record_id: int
The record id
- property user_id: str
The user id