Add 3DTILES_implicit_tiling_custom_template_variables extension - #815
Add 3DTILES_implicit_tiling_custom_template_variables extension#815lilleyse wants to merge 3 commits into
3DTILES_implicit_tiling_custom_template_variables extension#815Conversation
| Template variables are substituted with property values in [`tileMetadata`](https://github.com/CesiumGS/3d-tiles/tree/main/specification/ImplicitTiling#tile-metadata), [`contentMetadata`](https://github.com/CesiumGS/3d-tiles/tree/main/specification/ImplicitTiling#content-metadata), [`subtreeMetadata`](https://github.com/CesiumGS/3d-tiles/tree/main/specification/ImplicitTiling#subtree-metadata), or [tileset metadata](https://github.com/CesiumGS/3d-tiles/blob/main/specification/README.adoc#metadata). The fully resolved values are used, i.e. after [`noData`/`default` substitution](https://github.com/CesiumGS/3d-tiles/blob/main/specification/Metadata/README.adoc#required-properties-no-data-values-and-default-values) and [`normalized`](https://github.com/CesiumGS/3d-tiles/blob/main/specification/Metadata/README.adoc#normalized-values) and [`offset` and `scale`](https://github.com/CesiumGS/3d-tiles/blob/main/specification/Metadata/README.adoc#offset-and-scale) transformations have been applied. | ||
|
|
There was a problem hiding this comment.
The first sentence here could use a bit more clarity. Is it saying that the property values are substituted defined in the property tables for the listed metadata types, or is it saying that the template variables are substituted within those property tables? To you and me, the former is obvious, but to someone new to 3D Tiles and with the lack of examples in this extension, it could be unclear.
I'd add "defined" before "in" and that should fix it.
| } | ||
| ``` | ||
|
|
||
| In case of name collisions, the following precedence order is used: |
There was a problem hiding this comment.
You should indicate that "1" is meant as the "highest" precedence. Different cultures read tables and values differently.
| 3|Subtree property | ||
| 4|Tileset property |
There was a problem hiding this comment.
I'm thinking about removing substitution with subtree and tileset metadata.
Subtree metadata could be useful in the future but is rarely used. Tileset metadata doesn't vary per request and can be inlined in the url.
This extension allows arbitrary property IDs to be used in implicit tiling template URIs, e.g.
This is useful for resolving tile content through mechanisms other than just its implicit tile coordinates, e.g. locating content resources by timestamp or revision number.
This is one of three extension for supporting time-dynamic 3D Tiles: #102 (comment)
3DTILES_implicit_tiling_custom_template_variablesextension #8153DTILES_implicit_tiling_multiple_contentsextension #8163DTILES_time_dynamicextension #817To do: