Closed donmccurdy closed 3 years ago
Adding to the list:
3DTILES_metadata
Concept | Has ID | Has Name | Has Description |
---|---|---|---|
Schema | :x: | :heavy_check_mark: | :heavy_check_mark: |
Enum | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Class | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Property | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
The biggest thing missing here is schema id which would let us uniquely identify schemas in a global sense.
Does schema.id
conflict with schema.version
at all? I.e. should a later version of a schema have the same ID as the original?
Somewhat related, see #524 – we are removing name
and description
from tileset and content group definitions. Instead of name
authors should use properties with the NAME
semantic; there is currently no DESCRIPTION
semantic.
It does look like 3DTILES_metadata and EXT_mesh_features
are already aligned, so we should at least update the 3D Metadata spec to match that... an ID for schema is OK with me too but would be a new addition for all three.
Does
schema.id
conflict withschema.version
at all? I.e. should a later version of a schema have the same ID as the original?
The way I'm envisioning it the ID would stay the same but the version would change (like a software library)
Somewhat related, see #524 – we are removing
name
anddescription
from tileset and content group definitions. Instead ofname
authors should use properties with theNAME
semantic; there is currently noDESCRIPTION
semantic.
Good call, we should add a DESCRIPTION
semantic.
It does look like 3DTILES_metadata and
EXT_mesh_features
are already aligned, so we should at least update the 3D Metadata spec to match that... an ID for schema is OK with me too but would be a new addition for all three.
Yes we should add it to all three documents.
Proposed changes for Core Metadata and 3DTILES_metadata in https://github.com/CesiumGS/3d-tiles/pull/539.
Proposed DESCRIPTION
semantic in https://github.com/CesiumGS/3d-tiles/pull/540.
Added id
to schema in EXT_mesh_features in https://github.com/CesiumGS/glTF/pull/41.
Continuing from https://github.com/CesiumGS/3d-tiles/pull/530/files#r739733458, comment from @lilleyse copied below:
Enums, classes, and properties should each have an
id
property so that they can be uniquely identified within their scope. They should each have an optionalname
anddescription
for consistency as well.I was looking at
EXT_mesh_features
and here are the differences that I noticed.Cesium 3D Metadata
EXT_mesh_features
ConceptThe biggest thing missing here is schema
id
which would let us uniquely identify schemas in a global sense. We should probably add that toEXT_mesh_features
,3DTILES_metadata
, and here. Though I'm not sure if schemaid
should be required.