UNPKG

gis-tools-ts

Version:

A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.

67 lines 5.8 kB
export declare const LASZIP_DECOMPRESS_SELECTIVE_ALL = 4294967295; export declare const LASZIP_DECOMPRESS_SELECTIVE_CHANNEL_RETURNS_XY = 0; export declare const LASZIP_DECOMPRESS_SELECTIVE_Z = 1; export declare const LASZIP_DECOMPRESS_SELECTIVE_CLASSIFICATION = 2; export declare const LASZIP_DECOMPRESS_SELECTIVE_FLAGS = 4; export declare const LASZIP_DECOMPRESS_SELECTIVE_INTENSITY = 8; export declare const LASZIP_DECOMPRESS_SELECTIVE_SCAN_ANGLE = 16; export declare const LASZIP_DECOMPRESS_SELECTIVE_USER_DATA = 32; export declare const LASZIP_DECOMPRESS_SELECTIVE_POINT_SOURCE = 64; export declare const LASZIP_DECOMPRESS_SELECTIVE_GPS_TIME = 128; export declare const LASZIP_DECOMPRESS_SELECTIVE_RGB = 256; export declare const LASZIP_DECOMPRESS_SELECTIVE_NIR = 512; export declare const LASZIP_DECOMPRESS_SELECTIVE_WAVEPACKET = 1024; export declare const LASZIP_DECOMPRESS_SELECTIVE_BYTE0 = 65536; export declare const LASZIP_DECOMPRESS_SELECTIVE_BYTE1 = 131072; export declare const LASZIP_DECOMPRESS_SELECTIVE_BYTE2 = 262144; export declare const LASZIP_DECOMPRESS_SELECTIVE_BYTE3 = 524288; export declare const LASZIP_DECOMPRESS_SELECTIVE_BYTE4 = 1048576; export declare const LASZIP_DECOMPRESS_SELECTIVE_BYTE5 = 2097152; export declare const LASZIP_DECOMPRESS_SELECTIVE_BYTE6 = 4194304; export declare const LASZIP_DECOMPRESS_SELECTIVE_BYTE7 = 8388608; export declare const LASZIP_DECOMPRESS_SELECTIVE_EXTRA_BYTES = 4294901760; /** * for LAS files with the return (r) and the number (n) of * returns field correctly populated the mapping should really * be only the following. * { 15, 15, 15, 15, 15, 15, 15, 15 }, * { 15, 0, 15, 15, 15, 15, 15, 15 }, * { 15, 1, 2, 15, 15, 15, 15, 15 }, * { 15, 3, 4, 5, 15, 15, 15, 15 }, * { 15, 6, 7, 8, 9, 15, 15, 15 }, * { 15, 10, 11, 12, 13, 14, 15, 15 }, * { 15, 15, 15, 15, 15, 15, 15, 15 }, * { 15, 15, 15, 15, 15, 15, 15, 15 } * however, some files start the numbering of r and n with 0, * only have return counts r, or only have number of return * counts n, or mix up the position of r and n. we therefore * "complete" the table to also map those "undesired" r & n * combinations to different contexts * 8 x 8 u8 values */ export declare const numberReturnMap: readonly [readonly [15, 14, 13, 12, 11, 10, 9, 8], readonly [14, 0, 1, 3, 6, 10, 10, 9], readonly [13, 1, 2, 4, 7, 11, 11, 10], readonly [12, 3, 4, 5, 8, 12, 12, 11], readonly [11, 6, 7, 8, 9, 13, 13, 12], readonly [10, 10, 11, 12, 13, 14, 14, 13], readonly [9, 10, 11, 12, 13, 14, 15, 14], readonly [8, 9, 10, 11, 12, 13, 14, 15]]; /** * for LAS files with the return (r) and the number (n) of * returns field correctly populated the mapping should really * be only the following. * { 0, 7, 7, 7, 7, 7, 7, 7 }, * { 7, 0, 7, 7, 7, 7, 7, 7 }, * { 7, 1, 0, 7, 7, 7, 7, 7 }, * { 7, 2, 1, 0, 7, 7, 7, 7 }, * { 7, 3, 2, 1, 0, 7, 7, 7 }, * { 7, 4, 3, 2, 1, 0, 7, 7 }, * { 7, 5, 4, 3, 2, 1, 0, 7 }, * { 7, 6, 5, 4, 3, 2, 1, 0 } * however, some files start the numbering of r and n with 0, * only have return counts r, or only have number of return * counts n, or mix up the position of r and n. we therefore * "complete" the table to also map those "undesired" r & n * combinations to different contexts * 8 x 8 u8 values */ export declare const numberReturnLevel: readonly [readonly [0, 1, 2, 3, 4, 5, 6, 7], readonly [1, 0, 1, 2, 3, 4, 5, 6], readonly [2, 1, 0, 1, 2, 3, 4, 5], readonly [3, 2, 1, 0, 1, 2, 3, 4], readonly [4, 3, 2, 1, 0, 1, 2, 3], readonly [5, 4, 3, 2, 1, 0, 1, 2], readonly [6, 5, 4, 3, 2, 1, 0, 1], readonly [7, 6, 5, 4, 3, 2, 1, 0]]; /** 6 context map. U8 c[16][16] */ export declare const number_return_map_6ctx: readonly [readonly [0, 1, 2, 3, 4, 5, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5], readonly [1, 0, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], readonly [2, 1, 2, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3], readonly [3, 3, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], readonly [4, 3, 4, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], readonly [5, 3, 4, 4, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], readonly [3, 3, 4, 4, 4, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4], readonly [4, 3, 4, 4, 4, 4, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4], readonly [4, 3, 4, 4, 4, 4, 4, 4, 5, 4, 4, 4, 4, 4, 4, 4], readonly [5, 3, 4, 4, 4, 4, 4, 4, 4, 5, 4, 4, 4, 4, 4, 4], readonly [5, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 4, 4, 4, 4, 4], readonly [5, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 4, 4, 4], readonly [5, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 4, 4], readonly [5, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 4], readonly [5, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5], readonly [5, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5]]; /** 8 context map. U8 c[16][16] */ export declare const number_return_level_8ctx: readonly [readonly [0, 1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7], readonly [1, 0, 1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7], readonly [2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7], readonly [3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7], readonly [4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7], readonly [5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 7, 7, 7], readonly [6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 7, 7], readonly [7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 7], readonly [7, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7], readonly [7, 7, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6], readonly [7, 7, 7, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5], readonly [7, 7, 7, 7, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4], readonly [7, 7, 7, 7, 7, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3], readonly [7, 7, 7, 7, 7, 7, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2], readonly [7, 7, 7, 7, 7, 7, 7, 7, 6, 5, 4, 3, 2, 1, 0, 1], readonly [7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 5, 4, 3, 2, 1, 0]]; //# sourceMappingURL=constants.d.ts.map