-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXT_structural_metadata
- parent
class
#70
base: 3d-tiles-next
Are you sure you want to change the base?
Conversation
It's difficult to foresee all implications of this change. Some thoughts: (EDIT: This PR has been split into two. What I wrote here originally now is in #71 (comment) ) The additional support for a For example, looking at things like the existing
it was trivial to just throw that It may also require further differentiation for the properties: The When looking at things like
And, more broadly: The |
I think it should, though I'm not sure if it can be done without adding a new extension. |
283f778
to
6946e4a
Compare
I moved the JSON encoding change to its own PR: #71 |
EXT_structural_metadata
updatesEXT_structural_metadata
- parent
class
@javagl brings up some great points about the complications it adds. What problem do you want to solve by adding a parent class, maybe there are other concepts that could solve the same problem without the same complications. |
I hope it's OK to mention a "basic" reasoning for having such a
and then you'd have metadata about an "engine", that contains all these properties, and additionaly a Right now, the only way to model this within The |
@javagl you summed it up pretty well. I think the discussion should move to the 3d-tiles repo. Even though I originally proposed this, would you mind opening an issue and summarizing the discussion there? |
@lilleyse I tried to extract/summarize this at CesiumGS/3d-tiles#786 |
Adds the concept of a
parent
class that allows for class hierarchies, with some restrictions like no duplicate property IDs and no cyclical inheritance@javagl would you mind taking a look?