UNPKG

@giro3d/giro3d

Version:

A JS/WebGL framework for 3D geospatial data visualization

18 lines (17 loc) 522 B
/** * Maps attribute names found in the batch table with well-known names expected by Giro3D * for generating point cloud geometries and shader uniform names. * * Keys are well-known attributes, and values are attribute names in the batch table. * * ``` * const customMapping = { * 'classification': 'THE_CATEGORY_OF_POINTS', * 'intensity': 'MY_CUSTOM_INTENSITY_VALUE' * } * ``` */ export const DEFAULT_TILES3D_POINTCLOUD_ATTRIBUTE_MAPPING = { classification: 'classification', intensity: 'intensity' };