Hello,
I am working on a project where part of the project is the display of satellite swaths.
A satellite is a Cesium entity, and I am displaying the range of a satellite via the Ellipse property.
The diameter of this ellipse is described by the SemiMajorAxis and SemiMinorAxis properties. In the documentation, these values are measured in metres.
However, I find that the representations I get are inconsistent.
For example, if I set these two properties to 400,000 metres, i.e. above the radius of the earth, the ellipse displayed is very small.
const czml = [
{
"id": "document",
"name": "simple",
"version": "1.0",
"clock": {
"interval": "2012-03-15T10:00:00Z/2012-03-16T10:00:00Z",
"currentTime": "2012-03-15T10:00:00Z",
"multiplier": 60,
"range": "LOOP_STOP",
"step": "SYSTEM_CLOCK_MULTIPLIER"
}
},
{
"id":"Satellite/Geoeye1",
"name":"Geoeye1",
"availability":"2012-03-15T10:00:00Z/2012-03-16T10:00:00Z",
"description":"<!--HTML-->\r\n<p>GeoEye-1 is a high-resolution earth observation satellite owned by GeoEye, which was launched in September 2008.</p>\r\n\r\n<p>On December 1, 2004, General Dynamics C4 Systems announced it had been awarded a contract worth approximately $209 million to build the OrbView-5 satellite. Its sensor is designed by the ITT Exelis.</p>\r\n\r\n<p>The satellite, now known as GeoEye-1, was originally scheduled for April 2008 but lost its 30-day launch slot to a U.S. government mission which had been delayed. It was rescheduled for launch August 22, 2008 from Vandenberg Air Force Base aboard a Delta II launch vehicle. The launch was postponed to September 4, 2008, due to unavailability of the Big Crow telemetry-relay aircraft. It was delayed again to September 6 because Hurricane Hanna interfered with its launch crews.</p>\r\n\r\n<p>The launch took place successfully on September 6, 2008 at 11:50:57 a.m. PDT (18:50:57 UTC). The GeoEye-1 satellite separated successfully from its Delta II launch vehicle at 12:49 p.m. PDT (19:49 UTC), 58 minutes and 56 seconds after launch.</p>",
"billboard":{
"eyeOffset":{
"cartesian":[
0,0,0
]
},
"horizontalOrigin":"CENTER",
"image":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADJSURBVDhPnZHRDcMgEEMZjVEYpaNklIzSEfLfD4qNnXAJSFWfhO7w2Zc0Tf9QG2rXrEzSUeZLOGm47WoH95x3Hl3jEgilvDgsOQUTqsNl68ezEwn1vae6lceSEEYvvWNT/Rxc4CXQNGadho1NXoJ+9iaqc2xi2xbt23PJCDIB6TQjOC6Bho/sDy3fBQT8PrVhibU7yBFcEPaRxOoeTwbwByCOYf9VGp1BYI1BA+EeHhmfzKbBoJEQwn1yzUZtyspIQUha85MpkNIXB7GizqDEECsAAAAASUVORK5CYII=",
"pixelOffset":{
"cartesian2":[
0,0
]
},
"scale":1.5,
"show":true,
"verticalOrigin":"CENTER"
},
"label":{
"fillColor":{
"rgba":[
0,255,0,200
]
},
"font":"11pt Lucida Console",
"horizontalOrigin":"LEFT",
"outlineColor":{
"rgba":[
0,0,0,255
]
},
"outlineWidth":2,
"pixelOffset":{
"cartesian2":[
25,0
]
},
"show":true,
"style":"FILL",
"text": [
{
"interval":"2012-03-15T10:00:00Z/2012-03-15T10:39:30.5752243210009Z",
"epoch":"2012-03-15T10:00:00Z",
"string":"IRDIUM-85\n5.3km/s\n60°"
},
{
"interval":"2012-03-15T10:39:30.5752243210009Z/2012-03-15T12:17:53.9522015590046Z",
"epoch":"2012-03-15T10:39:30.5752243210009Z",
"string":"IRDIUM-85\n5.6km/s\n61°"
},
],
"verticalOrigin":"CENTER"
},
"ellipse": {
"show": true,
"fill": false,
"outline": true,
"outlineColor":{
"rgba":[
126,255,0,255
]
},
"outlineWidth": 1,
"material": {
"image": {
"image": "https://raw.githubusercontent.com/JamesStandbridge/images/main/fauchee_svg.svg"
}
},
"semiMinorAxis": {
"epoch":"2012-03-15T10:00:00Z",
"number": 400000
},
"semiMajorAxis": {
"epoch":"2012-03-15T10:00:00Z",
"number": 400000
},
},
"path":{
"show":[
{
"interval":"2012-03-15T10:00:00Z/2012-03-16T10:00:00Z",
"boolean":true
}
],
"width":1,
"material":{
"solidColor":{
"color":{
"rgba":[
0,255,0,255
]
}
}
},
"resolution":120,
"leadTime":[
{
"interval":"2012-03-15T10:00:00Z/2012-03-15T10:39:30.5752243210009Z",
"epoch":"2012-03-15T10:00:00Z",
"number":[
0,5903.376977238004,
5903.376977238004,0
]
},
{
"interval":"2012-03-15T10:39:30.5752243210009Z/2012-03-15T12:17:53.9522015590046Z",
"epoch":"2012-03-15T10:39:30.5752243210009Z",
"number":[
0,5903.376977238004,
5903.376977238004,0
]
},
{
"interval":"2012-03-15T12:17:53.9522015590046Z/2012-03-15T13:56:17.3309044399939Z",
"epoch":"2012-03-15T12:17:53.9522015590046Z",
"number":[
0,5903.378702880989,
5903.378702880989,0
]
},
{
"interval":"2012-03-15T13:56:17.3309044399939Z/2012-03-15T15:34:40.7113328760024Z",
"epoch":"2012-03-15T13:56:17.3309044399939Z",
"number":[
0,5903.3804284360085,
5903.3804284360085,0
]
},
{
"interval":"2012-03-15T15:34:40.7113328760024Z/2012-03-15T17:13:04.0934867610049Z",
"epoch":"2012-03-15T15:34:40.7113328760024Z",
"number":[
0,5903.3821538850025,
5903.3821538850025,0
]
},
{
"interval":"2012-03-15T17:13:04.0934867610049Z/2012-03-15T18:51:27.4773659909988Z",
"epoch":"2012-03-15T17:13:04.0934867610049Z",
"number":[
0,5903.383879229994,
5903.383879229994,0
]
},
{
"interval":"2012-03-15T18:51:27.4773659909988Z/2012-03-15T20:29:50.8629704579944Z",
"epoch":"2012-03-15T18:51:27.4773659909988Z",
"number":[
0,5903.385604466996,
5903.385604466996,0
]
},
{
"interval":"2012-03-15T20:29:50.8629704579944Z/2012-03-15T22:08:14.6231253900041Z",
"epoch":"2012-03-15T20:29:50.8629704579944Z",
"number":[
0,5903.76015493201,
5903.76015493201,0
]
},
{
"interval":"2012-03-15T22:08:14.6231253900041Z/2012-03-15T23:46:38.0402241229895Z",
"epoch":"2012-03-15T22:08:14.6231253900041Z",
"number":[
0,5903.417098732985,
5903.417098732985,0
]
},
{
"interval":"2012-03-15T23:46:38.0402241229895Z/2012-03-16T01:25:01.45978897399618Z",
"epoch":"2012-03-15T23:46:38.0402241229895Z",
"number":[
0,5903.419564851007,
5903.419564851007,0
]
},
{
"interval":"2012-03-16T01:25:01.45978897399618Z/2012-03-16T03:03:24.8818198189838Z",
"epoch":"2012-03-16T01:25:01.45978897399618Z",
"number":[
0,5903.422030844988,
5903.422030844988,0
]
},
{
"interval":"2012-03-16T03:03:24.8818198189838Z/2012-03-16T04:41:48.3063165349886Z",
"epoch":"2012-03-16T03:03:24.8818198189838Z",
"number":[
0,5903.424496716005,
5903.424496716005,0
]
},
{
"interval":"2012-03-16T04:41:48.3063165349886Z/2012-03-16T06:20:11.7332789999782Z",
"epoch":"2012-03-16T04:41:48.3063165349886Z",
"number":[
0,5903.42696246499,
5903.42696246499,0
]
},
{
"interval":"2012-03-16T06:20:11.7332789999782Z/2012-03-16T07:58:35.1683124770061Z",
"epoch":"2012-03-16T06:20:11.7332789999782Z",
"number":[
0,5903.435033477028,
5903.435033477028,0
]
},
{
"interval":"2012-03-16T07:58:35.1683124770061Z/2012-03-16T08:21:36.5644517090113Z",
"epoch":"2012-03-16T07:58:35.1683124770061Z",
"number":[
0,5903.435548290989,
5903.435548290989,0
]
},
{
"interval":"2012-03-16T08:21:36.5644517090113Z/2012-03-16T10:00:00Z",
"epoch":"2012-03-16T08:21:36.5644517090113Z",
"number":[
0,5903.435548290989,
5903.435548290989,0
]
}
],
"trailTime":[
{
"interval":"2012-03-15T10:00:00Z/2012-03-15T10:39:30.5752243210009Z",
"epoch":"2012-03-15T10:00:00Z",
"number":[
0,0,
5903.376977238004,5903.376977238004
]
},
{
"interval":"2012-03-15T10:39:30.5752243210009Z/2012-03-15T12:17:53.9522015590046Z",
"epoch":"2012-03-15T10:39:30.5752243210009Z",
"number":[
0,0,
5903.376977238004,5903.376977238004
]
},
{
"interval":"2012-03-15T12:17:53.9522015590046Z/2012-03-15T13:56:17.3309044399939Z",
"epoch":"2012-03-15T12:17:53.9522015590046Z",
"number":[
0,0,
5903.378702880989,5903.378702880989
]
},
{
"interval":"2012-03-15T13:56:17.3309044399939Z/2012-03-15T15:34:40.7113328760024Z",
"epoch":"2012-03-15T13:56:17.3309044399939Z",
"number":[
0,0,
5903.3804284360085,5903.3804284360085
]
},
{
"interval":"2012-03-15T15:34:40.7113328760024Z/2012-03-15T17:13:04.0934867610049Z",
"epoch":"2012-03-15T15:34:40.7113328760024Z",
"number":[
0,0,
5903.3821538850025,5903.3821538850025
]
},
{
"interval":"2012-03-15T17:13:04.0934867610049Z/2012-03-15T18:51:27.4773659909988Z",
"epoch":"2012-03-15T17:13:04.0934867610049Z",
"number":[
0,0,
5903.383879229994,5903.383879229994
]
},
{
"interval":"2012-03-15T18:51:27.4773659909988Z/2012-03-15T20:29:50.8629704579944Z",
"epoch":"2012-03-15T18:51:27.4773659909988Z",
"number":[
0,0,
5903.385604466996,5903.385604466996
]
},
{
"interval":"2012-03-15T20:29:50.8629704579944Z/2012-03-15T22:08:14.6231253900041Z",
"epoch":"2012-03-15T20:29:50.8629704579944Z",
"number":[
0,0,
5903.76015493201,5903.76015493201
]
},
{
"interval":"2012-03-15T22:08:14.6231253900041Z/2012-03-15T23:46:38.0402241229895Z",
"epoch":"2012-03-15T22:08:14.6231253900041Z",
"number":[
0,0,
5903.417098732985,5903.417098732985
]
},
{
"interval":"2012-03-15T23:46:38.0402241229895Z/2012-03-16T01:25:01.45978897399618Z",
"epoch":"2012-03-15T23:46:38.0402241229895Z",
"number":[
0,0,
5903.419564851007,5903.419564851007
]
},
{
"interval":"2012-03-16T01:25:01.45978897399618Z/2012-03-16T03:03:24.8818198189838Z",
"epoch":"2012-03-16T01:25:01.45978897399618Z",
"number":[
0,0,
5903.422030844988,5903.422030844988
]
},
{
"interval":"2012-03-16T03:03:24.8818198189838Z/2012-03-16T04:41:48.3063165349886Z",
"epoch":"2012-03-16T03:03:24.8818198189838Z",
"number":[
0,0,
5903.424496716005,5903.424496716005
]
},
{
"interval":"2012-03-16T04:41:48.3063165349886Z/2012-03-16T06:20:11.7332789999782Z",
"epoch":"2012-03-16T04:41:48.3063165349886Z",
"number":[
0,0,
5903.42696246499,5903.42696246499
]
},
{
"interval":"2012-03-16T06:20:11.7332789999782Z/2012-03-16T07:58:35.1683124770061Z",
"epoch":"2012-03-16T06:20:11.7332789999782Z",
"number":[
0,0,
5903.435033477028,5903.435033477028
]
},
{
"interval":"2012-03-16T07:58:35.1683124770061Z/2012-03-16T08:21:36.5644517090113Z",
"epoch":"2012-03-16T07:58:35.1683124770061Z",
"number":[
0,0,
5903.435548290989,5903.435548290989
]
},
{
"interval":"2012-03-16T08:21:36.5644517090113Z/2012-03-16T10:00:00Z",
"epoch":"2012-03-16T08:21:36.5644517090113Z",
"number":[
0,0,
5903.435548290989,5903.435548290989
]
}
]
},
"position":{
"interpolationAlgorithm":"LAGRANGE",
"interpolationDegree":5,
"referenceFrame":"INERTIAL",
"epoch":"2012-03-15T10:00:00Z",
"cartesian":[
0,4650397.56551457,-3390535.52275848,-4087729.48877329,
300,3169722.12564676,-2787480.80604407,-5661647.74541255,
600,1369743.14695017,-1903662.23809705,-6663952.07552171,
900,-567881.181741598,-828602.646229013,-6995188.66804375,
1200,-2448582.60230996,329568.153528487,-6623075.06683579,
1500,-4083754.13823344,1454683.10708859,-5585143.37246992,
1800,-5308969.50307564,2433751.75579502,-3985152.1306503,
2100,-6000251.41586053,3168038.65147806,-1983402.41619314,
2400,-6086888.59948749,3583071.0890244,218668.596985674,
2700,-5559191.47781264,3636465.81402216,2398566.73167249,
3e3,-4469920.08845903,3322511.24085064,4335511.55404767,
3300,-2928982.78408199,2672830.22757979,5833216.31169719,
3600,-1092083.75801192,1753068.15442214,6739938.26134568,
3900,855172.482158128,656135.125613598,6963670.20631676,
4200,2715900.15544456,-507141.10370753,6481233.35568881,
4500,4301545.02457765,-1619032.41301719,5340730.82941359,
4800,5450887.61456272,-2566695.71952053,3657168.90089312,
5100,6046743.71636896,-3253730.76621873,1601308.71661883,
5400,6028480.33195964,-3610312.82817681,-617627.593798261,
5700,5398572.81294241,-3600605.84777646,-2773801.46073176,
6e3,4222131.44045066,-3226403.44705845,-4648544.33370408,
6300,2619506.22498348,-2526553.4640733,-6052998.81756411,
6600,753243.717795414,-1572460.33494755,-6846895.76189552,
6900,-1188681.40488625,-460501.299931452,-6951744.44608042,
7200,-3011438.3543463,697635.55422786,-6357762.60297625,
7500,-4532151.11938648,1785788.3012355,-5124499.63066102,
7800,-5597650.73991331,2694559.67974802,-3375267.6308537,
8100,-6099819.6602219,3332144.87819992,-1285551.25441976,
8400,-5986960.96848025,3633749.04814585,934060.845169727,
8700,-5269630.81665556,3568466.92847822,3059081.28082907,
9e3,-4019895.75365332,3142650.51265407,4874208.829971,
9300,-2363959.24834243,2399275.2584582,6195511.03850927,
9600,-469149.870760219,1413453.85724258,6889101.23661198,
9900,1473060.67181718,284763.40426175,6884461.2201842,
10200,3266189.40343301,-872716.655583284,6181432.05126297,
10500,4728347.28355441,-1941746.59348253,4850477.39746136,
10800,5710710.2309505,-2813734.86048061,3026098.49087128,
11100,6113095.13961986,-3399958.81868676,893596.861584693,
11400,5894739.57129755,-3640946.46595729,-1329913.85220463,
11700,5078666.83994692,-3512760.54879695,-3418301.78745728,
1.2e4,3748910.95111879,-3029296.38333698,-5160170.44648529,
12300,2041115.54074956,-2240388.77388782,-6380510.87024598,
12600,128062.841689814,-1226230.06015728,-6957810.72494893,
12900,-1797880.02370018,-89029.4500196064,-6835259.47179512,
13200,-3543573.22088694,1057095.05449295,-6025636.92847326,
13500,-4933723.66130957,2097142.52871785,-4609929.79883268,
13800,-5828032.08592363,2926410.8376128,-2729797.16692992,
14100,-6135448.82449735,3460972.29119284,-574126.701345544,
14400,-5823927.7453399,3646385.46288723,1639558.19879141,
14700,-4924221.58519395,3463528.69521585,3687192.93154295,
1.5e4,-3526959.31596672,2930706.251085,5361276.70706965,
15300,-1773303.2569981,2101739.07409384,6492183.23224769,
15600,159547.662987404,1060379.23480408,6965271.78475013,
15900,2076237.39607934,-88180.8729786283,6732242.01695268,
16200,3782725.81635179,-1227790.39374922,5815983.99990949,
16500,5105722.20548866,-2242913.57649818,4308638.06403535,
16800,5910441.07421132,-3030353.86516332,2362820.08963428,
17100,6114851.51773991,-3510008.83668448,176385.679251524,
17400,5698545.28993677,-3633371.19534201,-2028049.09959272,
17700,4704828.76468794,-3388594.10597537,-4026549.32730149,
1.8e4,3235698.38668044,-2801429.85157001,-5617256.78167319,
18300,1440597.87544465,-1932078.39947018,-6640795.78057306,
18600,-499271.406753861,-868624.163763964,-6995574.53823806,
18900,-2389099.93056153,281955.155073057,-6646967.28761496,
19200,-4039374.65314639,1404254.69599011,-5630169.87285918,
19500,-5284177.74745136,2385580.5113947,-4046822.21760319,
19800,-5997582.07668494,3126987.78863274,-2055530.11530625,
20100,-6106647.9295009,3553296.55362796,143356.668050338,
20400,-5599404.46957774,3620983.69073271,2327690.75353029,
20700,-4526523.6344331,3322884.75009569,4276248.57556407,
2.1e4,-2996245.95968125,2689013.19249613,5791558.99005475,
21300,-1163200.2741721,1783416.84670725,6720089.01115394,
21600,787392.993898573,697578.526522602,6967627.88152446,
21900,2658313.93062137,-458794.910147627,6508599.14858285,
22200,4259990.67255703,-1568681.0047992,5388741.89641135,
22500,5429593.2831701,-2519450.97921993,3720960.53337583,
22800,6047882.84940679,-3214395.00924545,1674395.1431695,
23100,6051933.55069228,-3582878.93041997,-542688.518363143,
23400,5441937.00725033,-3587843.0497094,-2704629.51345146,
23700,4280981.3355276,-3229580.32104236,-4592141.67304755,
2.4e4,2687870.63239537,-2545325.71682756,-6015038.82305718,
24300,824227.476165237,-1604924.09680093,-6831172.62144631,
24600,-1122206.7533029,-503393.526280383,-6959823.84518174,
24900,-2956141.14030617,648615.184081045,-6388844.91324311,
25200,-4493594.58923188,1735560.37697432,-5175495.01335972,
25500,-5579742.15764727,2648182.45074863,-3441081.02701185,
25800,-6104403.26233424,3294305.38566715,-1359568.96084645,
26100,-6013607.17885908,3608279.93904281,859312.893815001,
26400,-5315661.64405407,3557946.90172158,2991170.32920959,
26700,-4080654.87799535,3148138.47866591,4820009.9588535,
2.7e4,-2433295.14169919,2420207.41265824,6160500.86869024,
27300,-540048.709695602,1447707.79842875,6876809.17070199,
27600,1407767.0671378,328874.327204994,6896124.80284684,
27900,3213109.50329342,-823211.994312959,6215875.70465174,
28200,4692868.59118734,-1891866.70296935,4904219.94344902,
28500,5696446.91317596,-2768546.70023811,3093687.88562859,
28800,6121503.42645198,-3364055.24800511,968155.930008613,
29100,5924955.48270504,-3617967.44053651,-1255976.3070331,
29400,5127597.6892057,-3505018.25529556,-3352495.11813025,
29700,3811571.94317904,-3037549.25029656,-5109143.31304328,
3e4,2111161.49948368,-2263783.11174549,-6349384.85929529,
30300,198440.814370976,-1262402.66740219,-6949691.77194863,
30600,-1734232.20942493,-134349.362344097,-6850956.53988907,
30900,-3493043.34940257,1007171.75248993,-6063593.6302678,
31200,-4901404.59339724,2047631.5553316,-4666367.44252873,
31500,-5817210.59449393,2882304.14537745,-2799066.43911321,
31800,-6147255.41846079,3426731.53070299,-649254.5431675,
32100,-5857198.0801714,3625479.50040521,1566166.40158537,
32400,-4975601.20019172,3458072.25151343,3622969.15612808,
32700,-3591247.48488601,2941244.1531075,5312719.83645661,
3.3e4,-1843992.41265467,2127197.21558911,6464196.01056295,
33300,89606.2868318625,1098179.28301232,6960674.00038747,
33600,2014116.216064,-41861.9173412649,6751496.49323013,
33900,3734716.93464761,-1177641.55889657,5857148.74823608,
34200,5076704.10409687,-2194022.38273781,4367547.68932021,
34500,5903372.88410761,-2987688.92982215,2433491.61675847,
34800,6130453.95083298,-3477904.78368583,251624.603178938,
35100,5735217.75213746,-3615077.15768101,-1955899.72625122,
35400,4758822.55630629,-3385942.79917116,-3964806.69356341,
35700,3301523.19211142,-2814664.43976308,-5572146.00475715,
3.6e4,1511601.23664753,-1959847.10663623,-6616835.17806668,
36300,-430228.574173179,-908129.800399028,-6995151.89199021,
36600,-2328943.09312278,234674.826841814,-6670127.01821151,
36900,-3994146.68251508,1353941.93189576,-5674612.94646658,
37200,-5258447.49803637,2337295.48282856,-4108116.98999385,
37500,-5993978.3578334,3085604.46208182,-2127529.51573296,
37792.10937600001,-6130101.19290489,3515932.23049969,9264.18885075031,
37792.10937600001,-6130384.46590958,3515584.20899647,6695.95297313175,
37800,-6125874.41162028,3522668.06783492,65343.2925253213,
38100,-5639991.96555162,3604984.9649137,2253983.5554605,
38400,-4584395.94143214,3323147.09203951,4214321.78311218,
]
}
}
];
const viewer = new Cesium.Viewer("cesiumContainer");
const dataSourcePromise = Cesium.CzmlDataSource.load(czml);
viewer.dataSources.add(dataSourcePromise);
viewer.zoomTo(dataSourcePromise);
Do you have an explanation?