{"success":true,"data":{"ext":"las","name":"LAS","description":"LAS is a standardized point cloud file format for storing LiDAR data, developed and maintained by the American Society for Photogrammetry and Remote Sensing (ASPRS). It is used in surveying, remote sensing, topographic mapping, forestry, and geospatial analysis to exchange airborne and terrestrial laser-scanning measurements. The format is generally considered safe, although very large or malformed datasets can affect processing tools; LAS remains a long-standing interchange format in geospatial workflows.","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":["laz"],"usage":{"python":"def is_las(file_path: str) -> bool:\n    \"\"\"Check if file is a valid LAS 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 isLAS(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4C, 0x41, 0x53, 0x46]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsLAS(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}"}}}