cesium篇----CZML入门 CZML-Content(czml内容)

原文链接:Packet · AnalyticalGraphicsInc/czml-writer Wiki · GitHub

以下是描述文档或者文档流中可能存在的内容。

id

每个packet都有一个id属性用来标示我们当前描述的对象。id不需要是guid,但是id在同一个CZML以及与它载入同一个范围(scope)内的其他CZML文件中必须是唯一的。如果id没有被指定,那么客户端会自动生成一个唯一的id,但是这样的话在随后的包中我们就没有办法引用它了,例如我们不能再往它里面添加数据。

属性名称id

是否可以插值(Interpolatable): no

name

对象的名称,它不需要是唯一的,并且可以供用户使用

属性名称name

是否可以插值: no

parent

父对象或者文件的id

属性名称parent

是否可以插值: no

description

对象的HTML描述

属性名称description

是否可以插值: no

子属性:

名称(Name)范围(Scope)类型(Type)描述(Description)
stringIntervalstringThe string value.
referenceIntervalstringA reference property.

availability


当对象的数据可用时。如果一个对象的数据已知在当前动画时间可用,但客户端还没有数据(大概是因为它将在稍后的数据包中到达),客户端将暂停,并发送“Buffering…”这样的消息,同时等待接收数据。该属性可以是指定单个间隔的单个字符串,也可以是表示间隔的字符串数组。如果更改或发现不正确,稍后的cesium包可以更新此可用性。例如,SGP4传播程序可能一直报告可用性,但随后传播程序抛出异常,需要调整可用性。如果该可选属性不存在,则假定该对象始终可用。可用性被限定为特定的CZML流,因此两个不同的流可以为单个对象列出不同的可用性。在单个流中,为对象声明的最后一个可用性是有效的,前面包中的任何可用性都将被忽略。如果一个对象一次可用,客户端希望该对象至少有一个属性,并且希望当时需要定义的所有属性。如果对象没有任何属性,或者定义了需要的属性,但没有在动画时,客户端将暂停动画并等待更多数据。

属性名称availability

是否可以插值: no

position

物体在世界中的位置,这个位置没有直接的视觉表示,但是它可以通过附加到对象上的广告牌, 标签, and other primitives等来进行展示。

属性名称position

是否可以插值: yes

子属性:

NameScopeType描述(Description)
referenceFrameIntervalstring

笛卡尔坐标被指定为参考系。可能的值包括: "FIXED" and "INERTIAL",此外,这个属性的值可以是一个哈希(#)符号,后面跟着在同一作用域中的另一个对象的ID,该对象的“位置”和“方向”属性定义了定义该位置的参考系。当使用笛卡尔坐标以外的任何类型指定position时,将忽略此属性。如果没有指定此属性,则默认参考系为"FIXED"。

The reference frame in which cartesian positions are specified. Possible values are "FIXED" and "INERTIAL". In addition, the value of this property can be a hash (#) symbol followed by the ID of another object in the same scope whose "position" and "orientation" properties define the reference frame in which this position is defined. This property is ignored when specifying position with any type other than cartesian. If this property is not specified, the default reference frame is "FIXED".

cartesianIntervalarray

以米表示的笛卡尔坐标[X, Y, Z]相对于参考坐标系的位置。如果数组有三个元素,则位置为常量。如果它有四个或更多的元素,它们是时间标记的样本,排列为[Time, X, Y, Z, Time, X, Y, Z, Time, X, Y, Z,…],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The position represented as a Cartesian [X, Y, Z] in the meters relative to the referenceFrame. If the array has three elements, the position is constant. If it has four or more elements, they are time-tagged samples arranged as [Time, X, Y, Z, Time, X, Y, Z, Time, X, Y, Z, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

cartographicRadiansIntervalarray

以WGS 84地图[经度、纬度、高度]表示的位置,经度和纬度以弧度表示,高度以米表示。如果数组有三个元素,则位置为常量。如果它有四个或更多的元素,它们是时间标记的样本,排列为[时间,经度,纬度,高度,时间,经度,纬度,高度,…],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The position represented as a WGS 84Cartographic [Longitude, Latitude, Height] where longitude and latitude are in radians and height is in meters. If the array has three elements, the position is constant. If it has four or more elements, they are time-tagged samples arranged as[Time, Longitude, Latitude, Height, Time, Longitude, Latitude, Height, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

cartographicDegreesIntervalarray

以WGS 84地图[经度、纬度、高度]表示的位置,其中经度和纬度以度数表示,高度以米表示。如果数组有三个元素,则位置为常量。如果它有四个或更多的元素,它们是时间标记的样本,排列为[时间,经度,纬度,高度,时间,经度,纬度,高度,…],其中Time是ISO 8601日期和时间字符串或从poch开始的秒数。

The position reprsented as a WGS 84 Cartographic [Longitude, Latitude, Height] where longitude and latitude are in degrees and height is in meters. If the array has three elements, the position is constant. If it has four or more elements, they are time-tagged samples arranged as[Time, Longitude, Latitude, Height, Time, Longitude, Latitude, Height, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

cartesianVelocityIntervalarray

位置和速度表示为两个笛卡尔坐标[X, Y, Z, vX, vY, vZ]在米相对于参考坐标系。如果数组有6个元素,则位置为常量。如果它有七个或更多的元素,它们是时间标记的样本排列为[Time, X, Y, Z, vX, vY, vZ, Time, X, Y, Z, vX, vY, vZ, Time, X, Y, Z, vX, vX, vY, vZ, Time, X, Y, Z, vX, vY, vZ,…],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The position and velocity represented as two Cartesians [X, Y, Z, vX, vY, vZ] in the meters relative to thereferenceFrame. If the array has six elements, the position is constant. If it has seven or more elements, they are time-tagged samples arranged as[Time, X, Y, Z, vX, vY, vZ, Time, X, Y, Z, vX, vY, vZ, Time, X, Y, Z, vX, vY, vZ, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstring

引用的属性

A reference property.

epochPacketstring

指定要用于times的epoch,指定从epoch开始的秒数。

Specifies the epoch to use for times specifies as seconds since an epoch.

nextTimePacketstring or number

此间隔内下一个样本的时间,指定为ISO 8601日期和时间字符串,或指定为seconds since epoch。此属性用于确定不同数据包中指定的样本之间是否存在差距。

The time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

previousTimePacketstring or number

上一个示例在此间隔内的时间,指定为ISO 8601日期和时间字符串或指定为seconds since epoch。此属性用于确定不同数据包中指定的样本之间是否存在差距。

The time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

Examples:

{
  "id":"MyObject",
  "position": { "cartographicDegrees": [-75.0, 40.0, 0.0] }
}
{
  "id":"InternationalSpaceStation",
  "position": {
    "referenceFrame":"INERTIAL",
    "epoch":"2012-05-02T12:00:00Z",
    "cartesian": [
      0.0, -6668447.2211117, 1201886.45913705, 146789.427467256,
      60.0, -6711432.84684144, 919677.673492462, -214047.552431458,
      90.0, -6721319.92231553, 776899.784034099, -394198.837519575,
      150.0, -6717826.447064, 488820.628328182, -752924.980158179,
      180.0, -6704450.41462847, 343851.784836767, -931084.800346031,
      240.0, -6654518.44949696, 52891.726433174, -1283967.69137678
    ],
    "nextTime":300.0,
    "interpolationAlgorithm":"LAGRANGE",
    "interpolationDegree":5
  }
}

billboard

一个广告牌,或视口对齐的图像。该广告牌通过position属性定位在场景中。广告牌有时被称为标记。

属性名称billboard

是否可以插值: no

billboard.color


广告牌的颜色。这个颜色值与广告牌的“图像”值相乘,就产生了最后的颜色。

属性名称color

是否可以插值: yes

子属性:

NameScopeTypeDescription
rgbaIntervalarray

颜色指定为一个数组的颜色组件[red,green,blue,Alpha],每个组件的范围是0-255。如果数组有四个元素,则颜色为常量。如果它有五个或更多的元素,它们是时间标记的样本,排列为[Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha,…]],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

rgbafIntervalarray

颜色指定为一个颜色组件数组[红,绿,蓝,Alpha],其中每个组件的范围是0-1.0。如果数组有四个元素,则颜色为常量。如果它有五个或更多的元素,它们是时间标记的样本,排列为[Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha,…]],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0.0-1.0. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstring

指定要用于times的epoch,指定从epoch开始的秒数。

Specifies the epoch to use for times specifies as seconds since an epoch.

nextTimePacketstring or number

此间隔内下一个样本的时间,指定为ISO 8601日期和时间字符串,或指定为seconds since epoch。此属性用于确定不同数据包中指定的样本之间是否存在差距。

The time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

previousTimePacketstring or number

一个示例在此间隔内的时间,指定为ISO 8601日期和时间字符串或指定为seconds since epoch。此属性用于确定不同数据包中指定的样本之间是否存在差距。

The time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

billboard.eyeOffset

广告牌的视点坐标偏移,它是放置广告牌相对于position属性的坐标偏移。视点坐标是一个左手坐标系,x轴指向观众的右侧,y轴指向上方,z轴指向屏幕。

The eye offset of the billboard, which is the offset in eye coordinates at which to place the billboard relative to the position property. Eye coordinates are a left-handed coordinate system where the X-axis points toward the viewer's right, the Y-axis points up, and the Z-axis points into the screen.

属性名称eyeOffset

是否可以插值: yes

子属性:

NameScopeTypeDescription
cartesianIntervalarray

视点的偏移,以米为单位表示,是视点坐标中笛卡尔坐标[X, Y, Z]的位置。如果数组有三个元素,则视点的偏移量为常量。如果它有四个或更多的元素,它们是时间标记的样本,排列为[Time, X, Y, Z, Time, X, Y, Z, Time, X, Y, Z,…],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The eye offset specified as a Cartesian [X, Y, Z] position in eye coordinates in meters. If the array has three elements, the eye offset is constant. If it has four or more elements, they are time-tagged samples arranged as[Time, X, Y, Z, Time, X, Y, Z, Time, X, Y, Z, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

billboard.horizontalOrigin

广告牌的水平原点。它控制广告牌图像是否与该位置左对齐、中对齐或右对齐。

属性名称horizontalOrigin

是否可插值: no

子属性:

NameScopeTypeDescription
horizontalOriginIntervalstring

水平原点,有效值 "LEFT", "CENTER", and "RIGHT".

The horizontal origin. Valid values are "LEFT", "CENTER", and "RIGHT".

referenceIntervalstringA reference property.

billboard.image

显示在广告牌上的图像,表示为URL。为了更广泛的客户端兼容性,URL应该通过跨来源资源共享(CORS)访问。URL也可以是一个数据URI。

属性名称image

是否可插值: no

Sub-properties:

NameScopeTypeDescription
uriIntervalstringThe URI value.
referenceIntervalstringA reference property.

billboard.pixelOffset


在视口像素中,广告牌原点到该位置的偏移量。像素偏移量是指向上和向右放置广告牌的像素数,相对于放置位置而言。

属性名称pixelOffset

是否可插值: yes

Sub-properties:

NameScopeTypeDescription
cartesian2Intervalarray

像素偏移指定为视口坐标中的笛卡尔坐标[X, Y],其中X是向右的像素,Y是向上的像素。如果数组有两个元素,则像素偏移量为常量。如果它有三个或更多的元素,它们是时间标记的样本,排列为[Time, X, Y, Time, X, Y, Time, X, Y,…],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The pixel offset specified as a Cartesian [X, Y] in viewport coordinates in pixels, where X is pixels to the right and Y is pixels up. If the array has two elements, the pixel offset is constant. If it has three or more elements, they are time-tagged samples arranged as[Time, X, Y, Time, X, Y, Time, X, Y, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

billboard.scale

广告牌的缩放。比例与广告牌图像的像素大小相乘。例如,如果比例为2.0,那么广告牌将在每个方向上以图像像素数的两倍进行渲染。

属性名称scale

是否可插值: yes

子属性:

NameScopeTypeDescription
numberIntervalnumber or array

浮点值。该值可以是单个数字,在这种情况下,该值在时间间隔内是常量,也可以是一个数组。如果它是一个数组,且数组只有一个元素,则该值在时间间隔内为常量。如果它有两个或更多的元素,它们是时间标记的样本,排列为[Time, Value, Time, Value,…]],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The floating-point value. The value may be a single number, in which case the value is constant over the interval, or it may be an array. If it is an array and the array has one element, the value is constant over the interval. If it has two or more elements, they are time-tagged samples arranged as [Time, Value, Time, Value, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

billboard.rotation

The rotation(旋转) of the billboard offset from the alignedAxes.

Property Namerotation

Interpolatable: yes

Sub-properties:

NameScopeTypeDescription
numberIntervalnumber or array

浮点值。该值可以是单个数字,在这种情况下,该值在时间间隔内是常量,也可以是一个数组。如果它是一个数组,且数组只有一个元素,则该值在时间间隔内为常量。如果它有两个或更多的元素,它们是时间标记的样本,排列为[Time, Value, Time, Value,…]],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The floating-point value. The value may be a single number, in which case the value is constant over the interval, or it may be an array. If it is an array and the array has one element, the value is constant over the interval. If it has two or more elements, they are time-tagged samples arranged as [Time, Value, Time, Value, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

billboard.alignedAxis

The aligned axis is the unit vector, in world coordinates, that the billboard up vector points towards. The default is the zero vector, which means the billboard is aligned to the screen up vector.

属性名称alignedAxis

是否可插值: yes

Sub-properties:

NameScopeTypeDescription
cartesianIntervalarrayThe axis specified as a unit Cartesian [X, Y, Z] in world coordinates in meters. If the array has three elements, the eye offset is constant. If it has four or more elements, they are time-tagged samples arranged as [Time, X, Y, Z, Time, X, Y, Z, Time, X, Y, Z, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

billboard.show

广告牌是否显示

属性名称show

是否可插值: no

子属性:

NameScopeTypeDescription
booleanIntervalbooleanThe boolean value.

billboard.verticalOrigin

广告牌的垂直原点。它控制广告牌图像是底部对齐、居中对齐还是顶部对齐。

属性名称verticalOrigin

是否可插值: no

子属性:

NameScopeTypeDescription
verticalOriginIntervalstringThe vertical origin. Valid values are "BOTTOM", "CENTER", and "TOP".
referenceIntervalstringA reference property.

orientation

物体在世界中的方向。方向没有直接的视觉表示,但它被用于定位附加在对象上的模型、cones, and pyramids。

属性名称orientation

是否可插值: yes

子属性:

NameScopeTypeDescription
axesIntervalstringTODO
unitQuaternionIntervalarrayTODO
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

point

点或视口对齐的圆。这个点通过position属性定位在场景中。

属性名称point

是否可插值: no

point.color

点的颜色

属性名称color

是否可插值: yes

子属性:

NameScopeTypeDescription
rgbaIntervalarray

颜色指定为一个数组的颜色组件[red,green,blue,Alpha],每个组件的范围是0-255。如果数组有四个元素,则颜色为常量。如果它有五个或更多的元素,它们是时间标记的样本,排列为[Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha,…]],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

rgbafIntervalarray

颜色指定为一个颜色组件数组[red,green,blue,Alpha],其中每个组件的范围是0-1.0。如果数组有四个元素,则颜色为常量。如果它有五个或更多的元素,它们是时间标记的样本,排列为[Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha,…]],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0.0-1.0. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

point.outlineColor

点轮廓的颜色.

属性名称outlineColor

是否可插值: yes

子属性:

NameScopeTypeDescription
rgbaIntervalarray

颜色指定为一个数组的颜色组件[red,green,blue,Alpha],每个组件的范围是0-255。如果数组有四个元素,则颜色为常量。如果它有五个或更多的元素,它们是时间标记的样本,排列为[Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha,…]],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

rgbafIntervalarray

颜色指定为一个数组的颜色组件[red,green,blue,Alpha],每个组件的范围是0.0-1.0。如果数组有四个元素,则颜色是常量。如果它有五个或更多,他们是时间标记的样本,排列为 [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0.0-1.0. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

point.outlineWidth

点轮廓的宽度

属性名称outlineWidth

是否可插值: yes

子属性:

NameScopeTypeDescription
numberIntervalnumber or array

浮点值。该值可以是单个数字,在这种情况下,该值在时间间隔内是常量,也可以是一个数组。如果它是一个数组,且数组只有一个元素,则该值在时间间隔内为常量。如果它有两个或更多的元素,它们是时间标记的样本,排列为[Time, Value, Time, Value,…]],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The floating-point value. The value may be a single number, in which case the value is constant over the interval, or it may be an array. If it is an array and the array has one element, the value is constant over the interval. If it has two or more elements, they are time-tagged samples arranged as [Time, Value, Time, Value, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

point.pixelSize

点的大小,以像素为单位。

属性名称pixelSize

是否可插值: yes

子属性:

NameScopeTypeDescription
numberIntervalnumber or array

浮点值。该值可以是单个数字,在这种情况下,该值在时间间隔内是常量,也可以是一个数组。如果它是一个数组,且数组只有一个元素,则该值在时间间隔内为常量。如果它有两个或更多的元素,它们是时间标记的样本,排列为[Time, Value, Time, Value,…]],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The floating-point value. The value may be a single number, in which case the value is constant over the interval, or it may be an array. If it is an array and the array has one element, the value is constant over the interval. If it has two or more elements, they are time-tagged samples arranged as [Time, Value, Time, Value, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

point.show

点是否显示

属性名称show

是否可插值: no

子属性:

NameScopeTypeDescription
booleanIntervalbooleanThe boolean value.

label

一串文本。标签通过position属性定位在场景中。

属性名称label

是否可插值: no

label.eyeOffset

标签的视点坐标偏移量,是放置标签的视点坐标相对于position属性的偏移量。视点坐标是一个左手坐标系,x轴指向观众的右侧,y轴指向上方,z轴指向屏幕。

The eye offset of the label, which is the offset in eye coordinates at which to place the label relative to the position property. Eye coordinates are a left-handed coordinate system where the X-axis points toward the viewer's right, the Y-axis points up, and the Z-axis points into the screen.

属性名称eyeOffset

是否可插值: yes

子属性:

NameScopeTypeDescription
cartesianIntervalarray

视点的偏移,以米为单位表示,是视点坐标中笛卡尔坐标[X, Y, Z]的位置。如果数组有三个元素,则视点的偏移量为常量。如果它有四个或更多的元素,它们是时间标记的样本,排列为[Time, X, Y, Z, Time, X, Y, Z, Time, X, Y, Z,…],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The eye offset specified as a Cartesian [X, Y, Z] position in eye coordinates in meters. If the array has three elements, the eye offset is constant. If it has four or more elements, they are time-tagged samples arranged as[Time, X, Y, Z, Time, X, Y, Z, Time, X, Y, Z, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

label.fillColor

标签的填充颜色

属性名称fillColor

是否可插值: yes

子属性:

NameScopeTypeDescription
rgbaIntervalarray

颜色指定为一个数组的颜色组件[red,green,blue,Alpha],每个组件的范围是0-255。如果数组有四个元素,则颜色为常量。如果它有五个或更多的元素,它们是时间标记的样本,排列为[Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha,…],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

rgbafIntervalarray

颜色指定为一个数组的颜色组件[red,green,blue,Alpha],每个组件的范围是0.0-1.0。如果数组有四个元素,则颜色为常量。如果它有五个或更多的元素,它们是时间标记的样本,排列为[Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha,…],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

The color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0.0-1.0. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

label.font

标签使用的字体

属性名称font

是否可插值: no

子属性:

NameScopeTypeDescription
fontIntervalstringThe font.
referenceIntervalstringA reference property.

label.horizontalOrigin

The horizontal origin of the label. It controls whether the label is left-, center-, or right-aligned with the position.

Property NamehorizontalOrigin

Interpolatable: no

Sub-properties:

NameScopeTypeDescription
horizontalOriginIntervalstringThe horizontal origin. Valid values are "LEFT", "CENTER", and "RIGHT".
referenceIntervalstringA reference property.

label.outlineColor

The outline color of the label.

Property NameoutlineColor

Interpolatable: yes

Sub-properties:

NameScopeTypeDescription
rgbaIntervalarrayThe color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
rgbafIntervalarrayThe color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0.0-1.0. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

label.outlineWidth

The outline width of the label.

Property NameoutlineWidth

Interpolatable: yes

Sub-properties:

NameScopeTypeDescription
numberIntervalnumber or arrayThe floating-point value. The value may be a single number, in which case the value is constant over the interval, or it may be an array. If it is an array and the array has one element, the value is constant over the interval. If it has two or more elements, they are time-tagged samples arranged as [Time, Value, Time, Value, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

label.pixelOffset

The offset, in viewport pixels, of the label origin from the position. A pixel offset is the number of pixels up and to the right to place the label, relative to the position.

Property NamepixelOffset

Interpolatable: yes

Sub-properties:

NameScopeTypeDescription
cartesian2IntervalarrayThe pixel offset specified as a Cartesian [X, Y] in viewport coordinates in pixels, where X is pixels to the right and Y is pixels up. If the array has two elements, the pixel offset is constant. If it has three or more elements, they are time-tagged samples arranged as[Time, X, Y, Time, X, Y, Time, X, Y, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

label.scale

The scale of the label. The scale is multiplied with the pixel size of the label's text. For example, if the scale is 2.0, the label will be rendered with twice the number of pixels, in each direction, of the text.

Property Namescale

Interpolatable: yes

Sub-properties:

NameScopeTypeDescription
numberIntervalnumber or arrayThe floating-point value. The value may be a single number, in which case the value is constant over the interval, or it may be an array. If it is an array and the array has one element, the value is constant over the interval. If it has two or more elements, they are time-tagged samples arranged as [Time, Value, Time, Value, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

label.show

Whether or not the label is shown.

Property Nameshow

Interpolatable: no

Sub-properties:

NameScopeTypeDescription
booleanIntervalbooleanThe boolean value.

label.style

标签的样式.

属性名称style

是否可插值: no

子属性:

NameScopeTypeDescription
labelStyleIntervalstring

标签样式,有效值:"FILL", "OUTLINE", and "FILL_AND_OUTLINE".

The label style. Valid values are "FILL", "OUTLINE", and "FILL_AND_OUTLINE".

referenceIntervalstringA reference property.

label.text

The text displayed by the label.

Property Nametext

Interpolatable: no

Sub-properties:

NameScopeTypeDescription
stringIntervalstringThe string value.
referenceIntervalstringA reference property.

label.verticalOrigin

标签的垂直原点。它控制标签图像是底部对齐、居中对齐还是顶部对齐。

属性名称verticalOrigin

是否可插值: no

子属性:

NameScopeTypeDescription
verticalOriginIntervalstring

垂直原点,有效值:"BOTTOM", "CENTER", and "TOP".

The vertical origin. Valid values are "BOTTOM", "CENTER", and "TOP".

referenceIntervalstringA reference property.

polyline

折线,是场景中由多个线段组成的线。

属性名称polyline

是否可插值: no

polyline.positions


将折线定义为线条的位置数组。

属性名称positions

是否可插值: no

子属性:

NameScopeTypeDescription
referenceFrameIntervalstringThe reference frame in which cartesian positions are specified. Possible values are "FIXED" and "INERTIAL". In addition, the value of this property can be a hash (#) symbol followed by the ID of another object in the same scope whose "position" and "orientation" properties define the reference frame in which this position is defined. This property is ignored when specifying position with any type other than cartesian. If this property is not specified, the default reference frame is "FIXED".
cartesianIntervalarrayThe list of positions represented as Cartesian [X, Y, Z, X, Y, Z, ...] in the meters relative to thereferenceFrame.
cartographicRadiansIntervalarrayThe list of positions represented as WGS 84 [Longitude, Latitude, Height, Longitude, Latitude, Height, ...] where longitude and latitude are in radians and height is in meters.
cartographicDegreesIntervalarrayThe list of positions represented as WGS 84 [Longitude, Latitude, Height, Longitude, Latitude, Height, ...] where longitude and latitude are in degrees and height is in meters.
referencesIntervalarrayThe list of positions specified as references. Each reference is to a property that defines a single position, possible as it changes with time.

polyline.show

折线是否显示

属性名称show

是否可插值: no

子属性:

NameScopeTypeDescription
booleanIntervalbooleanThe boolean value.

polyline.material

用来绘制折线的材质.

属性名称material

是否可插值: no

polyline.material.solidColor

Colors the line with a solid color, which may be translucent(半透明).

属性名称solidColor

是否可插值: no

polyline.material.solidColor.color

The color of the surface.

属性名称color

是否可插值: yes

子属性:

NameScopeTypeDescription
rgbaIntervalarrayThe color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
rgbafIntervalarrayThe color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0.0-1.0. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

polyline.material.polylineOutline

Colors the line with a color and outline.

Property NamepolylineOutline

Interpolatable: no

polyline.material.polylineOutline.color

The color of the surface.

Property Namecolor

Interpolatable: yes

Sub-properties:

NameScopeTypeDescription
rgbaIntervalarrayThe color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
rgbafIntervalarrayThe color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0.0-1.0. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

polyline.material.polylineOutline.outlineColor

The color of the surface outline.

Property NameoutlineColor

Interpolatable: yes

Sub-properties:

NameScopeTypeDescription
rgbaIntervalarrayThe color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
rgbafIntervalarrayThe color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0.0-1.0. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

polyline.material.polylineOutline.outlineWidth

The width of the outline.

属性名称outlineWidth

是否可插值: yes

子属性:

NameScopeTypeDescription
numberIntervalnumber or arrayThe floating-point value. The value may be a single number, in which case the value is constant over the interval, or it may be an array. If it is an array and the array has one element, the value is constant over the interval. If it has two or more elements, they are time-tagged samples arranged as [Time, Value, Time, Value, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

polyline.material.polylineGlow

Colors the line with a glowing color.

Property NamepolylineGlow

Interpolatable: no

polyline.material.polylineGlow.color

The color of the surface.

Property Namecolor

Interpolatable: yes

Sub-properties:

NameScopeTypeDescription
rgbaIntervalarrayThe color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
rgbafIntervalarrayThe color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0.0-1.0. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

polyline.material.polylineGlow.glowPower

The strength of the glow.

Property NameglowPower

Interpolatable: yes

Sub-properties:

NameScopeTypeDescription
numberIntervalnumber or arrayThe floating-point value. The value may be a single number, in which case the value is constant over the interval, or it may be an array. If it is an array and the array has one element, the value is constant over the interval. If it has two or more elements, they are time-tagged samples arranged as [Time, Value, Time, Value, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

polyline.width

折线的宽度.

属性名称width

是否可插值: yes

子属性:

NameScopeTypeDescription
numberIntervalnumber or arrayThe floating-point value. The value may be a single number, in which case the value is constant over the interval, or it may be an array. If it is an array and the array has one element, the value is constant over the interval. If it has two or more elements, they are time-tagged samples arranged as [Time, Value, Time, Value, ...], where Time is an ISO 8601 date and time string or seconds since epoch.
referenceIntervalstringA reference property.
epochPacketstringSpecifies the epoch to use for times specifies as seconds since an epoch.
nextTimePacketstring or numberThe time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.
previousTimePacketstring or numberThe time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

polyline.followSurface

位置连接处为直线或者弧线

属性名称followSurface

是否可插值: no

子属性:

NameScopeTypeDescription
booleanIntervalbooleanThe boolean value.

path

路径,它是由物体随时间的运动所定义的折线。路径的可能顶点由position属性指定。请注意,由于客户端不能呈现真正的无限路径,因此路径必须受到限制,可以为该对象定义可用性,也可以使用leadTime和trailTime属性。

属性名称path

是否可插值: no

子属性

NameType默认值举例是否可插值描述
showBooleantrue是否显示路径
leadTimeDouble --在动画时间之前的时间,以秒为单位,用来显示路径。时间将被限制在不超过对象的可用性。默认情况下,该值是unlimited,这将有效地绘制对象的整个可用路径。
trailTimeDouble  --动画时间后面的时间,以秒为单位,以显示路径。时间将被限制在不超过对象的可用性。默认情况下,该值是unlimited,这将有效地绘制对象的整个可用路径。
widthDouble1.0路径线条的宽度
resolution60.0用于对路径进行采样的最大步长,以秒为单位。如果position属性的数据点比分辨率指定的距离更远,将计算额外的样本,创建更平滑的路径。
material

绘制路径线条的材质

属性参考地址:

https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/PolylineMaterial

distanceDisplay

Condition

[ 150, 15000 ]
[
 0, 150, 15000,
    300, 10000, 15000,
    600, 150, 15000
]
一个值,表示基于到摄像机的距离的对象的可见性,指定为两个值[NearDistance, FarDistance]。如果数组有两个元素,则值为常量。如果它有三个或更多的元素,它们是时间标记的样本,排列为[Time, NearDistance, FarDistance, Time, NearDistance, FarDistance,…]],其中Time是ISO 8601日期和时间字符串或自epoch以来的秒数。

model

3D模型

属性名称model

是否可插值: no

名称类型默认值举例是否可插值描述
showBooleantrue是否显示
gltfUri

①“./models/xiaofang.gltf”

{
    "uri": [
        {
            "interval": "2013-01-01T00:00:00Z/2013-01-01T01:00:00Z",
            "uri": "image.png"
        },
        {
            "interval": "2013-01-01T01:00:00Z/2013-01-01T02:00:00Z",
            "uri": "image2.png"
        }
    ]
}
glTF模型的URI。为了获得更广泛的客户端兼容性,URI应该通过跨源资源共享(CORS)来访问。URI也可以是数据URI。
scale Double1.0模型缩放
minimumPixelSizeDouble0.0无论缩放与否,模型的近似最小像素大小。
maximumScaleDouble模型的最大比例尺寸
colorwhite
...Model · AnalyticalGraphicsInc/czml-writer Wiki · GitHub

polygon

一个多边形,它是地球表面的一个封闭图形。

属性名称polygon

是否可插值: no

名称类型默认值举例是否可插值描述
showBooleantrue是否显示
positions定义简单多边形的位置数组。
holes
arcType

默认:GEODESIC

可选:GEODESIC,RHUMB

连接多边形位置的圆弧类型。
height Double0.0
heightReference 多边形的高度参考,表示高度是否与地形相关。
extrudedHeight 
stRotation 任何应用纹理的旋转。正的旋转是逆时针的。
granularity 采样距离,以弧度为单位。
fillBooleantrue多边形是否被填充。
material 
outline 无论多边形是否被勾勒出来。
outlineColor 多边形轮廓的颜色。
outlineWidth 多边形轮廓的宽度。
perPositionHeight 
closeTop
closeBottom
shadows 
distanceDisplayCondition 
classificationType 
zIndex 
...详情参考:
https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/Polygon

ellipsoid

一个椭球,它是一个封闭的二次曲面它是一个椭圆的三维模拟。利用位置和方向属性对椭球进行定位和定向。

属性名称ellipsoid

是否可插值: no

polylineVolume

rectangle

tileset 

wall

agi_conicSensor

agi_customPatternSensor

agi_rectangularSensor

agi_fan

agi_vector

  • 3
    点赞
  • 27
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值