$ show CesiumGS/quantized-mesh
This repository defines the quantized-mesh-1.0 terrain format, a specification for encoding and streaming terrain tiles in a multi-resolution quadtree pyramid. It includes detailed documentation of the binary tile structure (header, vertex data, index data, edge indices, and extensions) and the JSON manifest format (layer.json) with accompanying JSON schemas for validation. The format is used by CesiumJS for 3D terrain rendering and enables efficient sharing of terrain data. While the repository does not contain processing code, it provides a complete and reusable specification for producers and consumers of quantized-mesh tiles, including the schemas for layer manifests and availability rectangles.
The LLM identified 2 files worth highlighting for reuse:
Defines the structure of an availability rectangle for tile availability in a quantized-mesh tileset. This schema is reusable across any project that uses the quantized-mesh format to validate availability data. It demonstrates the use of JSON Schema to define a simple geographic rectangle with integer coordinates.
Defines the structure of the layer.json manifest for a quantized-mesh terrain tileset, including references to the availability rectangle schema. This schema is reusable for validating the manifest of any quantized-mesh tileset. It demonstrates the use of JSON Schema references and complex validation rules (arrays of arrays, conditional dependencies via properties like metadataAvailability and available).