コンテンツにスキップ

Supported CZML

このページは CZMLPlugin が対応している CZML のパケット、グラフィックス、プロパティをリストしています。

各プロパティの意味については、CZML Guide を参照してください。

凡例:

  • ✅ サポート
  • ⚠️ 部分的にサポート
  • ❌ 未サポート

❌ のプロパティは無視され、その形状の残りの部分は表示されます。ただし、除外される形状 に挙げた場合を除きます。

NameStatus
id✅
delete❌
name⚠️ Read from the document packet only
parent❌
description❌
clock⚠️
version⚠️ Not checked
availability⚠️ One interval only; a packet with several is not shown
properties❌
position⚠️ Constant cartographicDegrees or cartographicRadians only; places the label, point or billboard
orientation❌
viewFrom❌

id が "document" のパケットが、ドキュメントの name と clock を与えます。それ以外のパケットは、polygon、polyline、label のそれぞれを表示します。

NameStatus
interval✅
currentTime✅
multiplier✅
range✅
step❌

document パケットに clock.interval がない場合、CZMLDocument.clock の interval は、表示されるパケットの availability のうち最も早い開始から最も遅い終了までになります。

NameStatus
polygon⚠️
show⚠️ Constant only; a hidden graphic is not drawn
positions⚠️ Constant cartographicDegrees or cartographicRadians only
holes⚠️ Constant cartographicDegrees or cartographicRadians only
arcType❌
height⚠️ Constant 0 only; ignored with perPositionHeight
heightReference❌
extrudedHeight⚠️ Measured from the ellipsoid; with perPositionHeight, the flat bottom
extrudedHeightReference❌
stRotation❌
granularity❌
fill⚠️ Constant only; a polygon with an outline and no fill is left out
material⚠️ solidColor only
outline❌
outlineColor❌
outlineWidth❌
perPositionHeight⚠️ Constant only
closeTop❌
closeBottom❌
shadows❌
distanceDisplayCondition❌
classificationType❌
zIndex❌
polyline⚠️
show⚠️ Constant only; a hidden graphic is not drawn
positions⚠️ Constant cartographicDegrees or cartographicRadians only
arcType❌
width⚠️ Constant only; in texels of the surface tile with clampToGround
granularity❌
material⚠️ solidColor only
followSurface❌
shadows❌
depthFailMaterial❌
distanceDisplayCondition❌
clampToGround⚠️ Constant only; needs a raster or terrain layer to drape on
classificationType❌
zIndex❌
label⚠️
show⚠️ Constant only; a hidden graphic is not drawn
text⚠️ Constant only
font⚠️ Size in px or pt and the first family, which must be registered
style❌
scale❌
showBackground⚠️ Constant only
backgroundColor⚠️ Constant only; alpha is ignored
backgroundPadding❌
pixelOffset⚠️ Constant only
eyeOffset❌
horizontalOrigin⚠️ Constant only
verticalOrigin⚠️ Constant only; BASELINE is placed as BOTTOM
heightReference❌
fillColor⚠️ Constant only
outlineColor❌
outlineWidth❌
translucencyByDistance❌
pixelOffsetScaleByDistance❌
scaleByDistance❌
distanceDisplayCondition❌
disableDepthTestDistance❌
point⚠️
show⚠️ Constant only; a hidden graphic is not drawn
pixelSize⚠️ Constant only
heightReference❌
color⚠️ Constant only
outlineColor❌
outlineWidth❌
scaleByDistance❌
translucencyByDistance❌
distanceDisplayCondition❌
disableDepthTestDistance❌
billboard⚠️
show⚠️ Constant only; a hidden graphic is not drawn
image⚠️ Constant URI only; a relative URI is resolved against the document URL
scale⚠️ Constant only
pixelOffset⚠️ Constant only; not with sizeInMeters
eyeOffset❌
horizontalOrigin⚠️ Constant only
verticalOrigin⚠️ Constant only; BASELINE is placed as BOTTOM
heightReference❌
color⚠️ Constant only
rotation⚠️ Constant only
alignedAxis❌
sizeInMeters⚠️ Constant only
width❌
height❌
scaleByDistance❌
translucencyByDistance❌
pixelOffsetScaleByDistance❌
imageSubRegion❌
distanceDisplayCondition❌
disableDepthTestDistance❌
box❌
corridor❌
cylinder❌
ellipse❌
ellipsoid❌
model❌
path❌
polylineVolume❌
rectangle❌
tileset❌
wall❌

perPositionHeight、clampToGround、showBackground などの真偽値のプロパティは、真と評価される定数であれば有効になります。そのため、真偽値を文字列で書いたドキュメントでは、"True" でも "False" でもプロパティが有効になります。holes の空のリストは無視されます。

NameStatus
solidColor⚠️ color as rgba or rgbaf only
image❌
grid❌
stripe❌
checkerboard❌
polylineOutline❌
polylineArrow❌
polylineDash❌
polylineGlow❌

material の指定がない場合は不透明な白になります。

値は、定数、または時刻付きのサンプルで指定します。サンプルは時刻とその値を交互に並べたリストで、時刻は ISO 8601 文字列、または epoch からの秒数です。サンプルできるのは、polygon.extrudedHeight と、solidColor material の color だけです。区間のリストで指定した値と、reference で指定した値には対応していません。

NameStatus
epoch✅
interpolationAlgorithm⚠️ LINEAR only
interpolationDegree❌
forwardExtrapolationType❌
forwardExtrapolationDuration❌
backwardExtrapolationType❌
backwardExtrapolationDuration❌

ドキュメント内のサンプルされた値は、すべて同じサンプル時刻を使う必要があります。そうでない場合、load() は reject されます。最初のサンプルより前と最後のサンプルより後では、そのサンプルの値が表示されます。

次の形状はコンソールに警告を出して除外され、パケットのほかの形状は表示されます。

  • extrudedHeight と perPositionHeight のどちらも持たないポリゴン、height を持つポリゴン
  • 位置が時間でサンプルされている、または cartesian や参照で指定されているポリゴン、ポリライン、ラベル、ポイント、ビルボード
  • material が solidColor でないポリゴンとポリライン
  • interpolationAlgorithm が LINEAR でない値を持つポリゴンとポリライン
  • width がサンプルされているポリライン
  • text、fillColor、backgroundColor、pixelOffset のいずれかが定数でないラベル
  • font のサイズの単位が px と pt のどちらでもないラベル
  • pixelSize または color が定数でないポイント
  • image、scale、pixelOffset、rotation、color のいずれかが定数でないビルボード
  • width か height を持つビルボード、sizeInMeters と pixelOffset の両方を持つビルボード
  • image を URL として読めないビルボード

availability が複数の区間を持つパケットは、コンソールに警告を出してパケットごと除外されます。❌ のグラフィックスも同じように報告され、種類ごとに 1 回、除外されたパケットの数を示す警告が出ます。