{"success":true,"data":{"ext":"laz","name":"LAZ","description":"LAZ is a compressed LiDAR point cloud file format based on the LAS specification, originally developed by the LASzip project and maintained within the ASPRS ecosystem. It is used to store airborne and terrestrial laser scanning data for mapping, surveying, geospatial analysis, and 3D terrain modeling in software such as GIS and point cloud processing tools. The format is generally safe, but very large datasets can require substantial memory and processing resources when opened.","mime":["application/x-asprs"],"risk_level":"Safe","signatures":[{"hex":"4C 41 53 46","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["las"],"usage":{"python":"def is_laz(file_path: str) -> bool:\n    \"\"\"Check if file is a valid LAZ by magic bytes.\"\"\"\n    signature = bytes([0x4C, 0x41, 0x53, 0x46])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isLAZ(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4C, 0x41, 0x53, 0x46]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsLAZ(data []byte) bool {\n    signature := []byte{0x4C, 0x41, 0x53, 0x46}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}