CZML Ellipsoid
- "ellipsoid":
{ "radii": { "cartesian": [x, y, z] }, "material": { "solidColor": { "color": { "rgba": [r,g,b,a] } } }, "fill": true|false, "outline": true|false, "outlineColor": { "rgba": [r,g,b,a] }, "slicePartitions": <integer>, "stackPartitions": <integer>, "show": true|false } — a three-dimensional analogue of an ellipse,
centered on the entity's "position". "radii" is [X, Y, Z] in meters.
- A sphere is an ellipsoid with equal X, Y, and Z radii.
- "slicePartitions"/"stackPartitions" control the smoothness of the outline/tessellation for a
wireframe-only (fill: false, outline: true) ellipsoid — raise both for a smoother outline.
Example: a blue ellipsoid, a red sphere, and a wireframe ellipsoid
[
{ "id": "document", "name": "Ellipsoids", "version": "1.0" },
{
"id": "ellipsoid-blue",
"position": { "cartographicDegrees": [-75, 40, 300000] },
"ellipsoid": {
"radii": { "cartesian": [200000, 100000, 150000] },
"material": { "solidColor": { "color": { "rgba": [0, 0, 255, 255] } } }
}
},
{
"id": "sphere-red",
"position": { "cartographicDegrees": [-73, 40, 300000] },
"ellipsoid": {
"radii": { "cartesian": [150000, 150000, 150000] },
"material": { "solidColor": { "color": { "rgba": [255, 0, 0, 255] } } },
"outline": true,
"outlineColor": { "rgba": [0, 0, 0, 255] }
}
},
{
"id": "ellipsoid-wireframe",
"position": { "cartographicDegrees": [-71, 40, 300000] },
"ellipsoid": {
"radii": { "cartesian": [180000, 120000, 150000] },
"fill": false,
"outline": true,
"outlineColor": { "rgba": [255, 255, 0, 255] },
"slicePartitions": 32,
"stackPartitions": 32
}
}
]
1---2name: czml-ellipsoid3description: CZML ellipsoids and spheres for domes, planetary bodies, or radius-based 3D round volumes. Use when the intent describes a sphere, ellipsoid, dome, or 3D round volume defined by radii, including wireframe-only variants.4---56# CZML Ellipsoid78- "ellipsoid": `{ "radii": { "cartesian": [x, y, z] },9"material": { "solidColor": { "color": { "rgba": [r,g,b,a] } } }, "fill": true|false,10"outline": true|false, "outlineColor": { "rgba": [r,g,b,a] }, "slicePartitions": <integer>,11"stackPartitions": <integer>, "show": true|false }` — a three-dimensional analogue of an ellipse,12 centered on the entity's "position". "radii" is `[X, Y, Z]` in meters.13- A sphere is an ellipsoid with equal X, Y, and Z radii.14- "slicePartitions"/"stackPartitions" control the smoothness of the outline/tessellation for a15 wireframe-only (fill: false, outline: true) ellipsoid — raise both for a smoother outline.1617## Example: a blue ellipsoid, a red sphere, and a wireframe ellipsoid1819```json20[21 { "id": "document", "name": "Ellipsoids", "version": "1.0" },22 {23 "id": "ellipsoid-blue",24 "position": { "cartographicDegrees": [-75, 40, 300000] },25 "ellipsoid": {26 "radii": { "cartesian": [200000, 100000, 150000] },27 "material": { "solidColor": { "color": { "rgba": [0, 0, 255, 255] } } }28 }29 },30 {31 "id": "sphere-red",32 "position": { "cartographicDegrees": [-73, 40, 300000] },33 "ellipsoid": {34 "radii": { "cartesian": [150000, 150000, 150000] },35 "material": { "solidColor": { "color": { "rgba": [255, 0, 0, 255] } } },36 "outline": true,37 "outlineColor": { "rgba": [0, 0, 0, 255] }38 }39 },40 {41 "id": "ellipsoid-wireframe",42 "position": { "cartographicDegrees": [-71, 40, 300000] },43 "ellipsoid": {44 "radii": { "cartesian": [180000, 120000, 150000] },45 "fill": false,46 "outline": true,47 "outlineColor": { "rgba": [255, 255, 0, 255] },48 "slicePartitions": 32,49 "stackPartitions": 3250 }51 }52]53```