CZML Ellipse
- "ellipse":
{ "semiMajorAxis": <number>, "semiMinorAxis": <number>, "material": { "solidColor": { "color": { "rgba": [r,g,b,a] } } }, "height": <number>, "extrudedHeight": <number>, "rotation": <radians>, "fill": true|false, "outline": true|false, "outlineColor": { "rgba": [r,g,b,a] }, "show": true|false } — a closed curve centered on the
entity's "position". "semiMajorAxis"/"semiMinorAxis" are in meters, measured from center to edge.
- A circle is an ellipse with equal "semiMajorAxis" and "semiMinorAxis".
- "rotation" is the angle from north, counter-clockwise, in radians.
- Set "extrudedHeight" (with "height" as the base) to give the ellipse volume above the ground.
Example: a circle, an outlined ellipse, and a rotated extruded ellipse
[
{ "id": "document", "name": "Ellipses", "version": "1.0" },
{
"id": "circle-1",
"position": { "cartographicDegrees": [-75, 40, 50000] },
"ellipse": {
"semiMajorAxis": 100000,
"semiMinorAxis": 100000,
"material": { "solidColor": { "color": { "rgba": [0, 255, 0, 255] } } }
}
},
{
"id": "ellipse-outlined",
"position": { "cartographicDegrees": [-73, 40, 0] },
"ellipse": {
"semiMajorAxis": 150000,
"semiMinorAxis": 80000,
"material": { "solidColor": { "color": { "rgba": [255, 0, 0, 255] } } },
"outline": true,
"outlineColor": { "rgba": [255, 255, 255, 255] }
}
},
{
"id": "ellipse-rotated-extruded",
"position": { "cartographicDegrees": [-71, 40, 0] },
"ellipse": {
"semiMajorAxis": 150000,
"semiMinorAxis": 80000,
"rotation": 0.5,
"extrudedHeight": 80000,
"material": { "solidColor": { "color": { "rgba": [0, 0, 255, 128] } } }
}
}
]
1---2name: czml-ellipse3description: CZML filled ellipses and circles on or above the ground. Use when the intent describes a circle, ellipse, oval, or round shape defined by a radius or semi-major/semi-minor axes, optionally rotated or extruded.4---56# CZML Ellipse78- "ellipse": `{ "semiMajorAxis": <number>, "semiMinorAxis": <number>,9"material": { "solidColor": { "color": { "rgba": [r,g,b,a] } } }, "height": <number>,10"extrudedHeight": <number>, "rotation": <radians>, "fill": true|false, "outline": true|false,11"outlineColor": { "rgba": [r,g,b,a] }, "show": true|false }` — a closed curve centered on the12 entity's "position". "semiMajorAxis"/"semiMinorAxis" are in meters, measured from center to edge.13- A circle is an ellipse with equal "semiMajorAxis" and "semiMinorAxis".14- "rotation" is the angle from north, counter-clockwise, in radians.15- Set "extrudedHeight" (with "height" as the base) to give the ellipse volume above the ground.1617## Example: a circle, an outlined ellipse, and a rotated extruded ellipse1819```json20[21 { "id": "document", "name": "Ellipses", "version": "1.0" },22 {23 "id": "circle-1",24 "position": { "cartographicDegrees": [-75, 40, 50000] },25 "ellipse": {26 "semiMajorAxis": 100000,27 "semiMinorAxis": 100000,28 "material": { "solidColor": { "color": { "rgba": [0, 255, 0, 255] } } }29 }30 },31 {32 "id": "ellipse-outlined",33 "position": { "cartographicDegrees": [-73, 40, 0] },34 "ellipse": {35 "semiMajorAxis": 150000,36 "semiMinorAxis": 80000,37 "material": { "solidColor": { "color": { "rgba": [255, 0, 0, 255] } } },38 "outline": true,39 "outlineColor": { "rgba": [255, 255, 255, 255] }40 }41 },42 {43 "id": "ellipse-rotated-extruded",44 "position": { "cartographicDegrees": [-71, 40, 0] },45 "ellipse": {46 "semiMajorAxis": 150000,47 "semiMinorAxis": 80000,48 "rotation": 0.5,49 "extrudedHeight": 80000,50 "material": { "solidColor": { "color": { "rgba": [0, 0, 255, 128] } } }51 }52 }53]54```