Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm opening this up for early feedback. There is a
vertexPositions
branch in Cesium that goes along with this (which I'm still working on).vertexPositions
fromPacket
positions
property toPolygon
andPolyline
hierarchy
property toPolygon
to support an arbitrary number of holesKML is broken but I opened #69 to remove it completely.
It's number 3, above, that is causing me issues. I'm not really sure how we want to define polygons with holes in CZML. The GeoJSON way of doing it is probably CZML friendly, but the spec is not very 3D friendly (see CesiumGS/cesium/issues/1878). KML and Cesium have similar rules for defining them but I'm not sure how well that will translate to CZML.
GeoJSON spec for polygon with holes
KML spec for polygon with holes
Cesium doc for polygon with holes
I want to get this into Cesium 1.0 because I think it's important from a backwards compatibility standpoint. Worst case, we can forgo wholes support for now and then add it later (but still move
vertexPositions
down into the individual objects).@shunter and @kring any thoughts?