# polylineVolume with CZML

**URL:** <https://community.cesium.com/t/polylinevolume-with-czml/9109>\
**Category:** CesiumJS\
**Created:** [March 2, 2020, 11:38am UTC](https://community.cesium.com/t/polylinevolume-with-czml/9109 "2020-03-02T11:38:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christos\_Ch](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@Christos\_Ch](https://community.cesium.com/u/Christos_Ch)\
**Post date:** [March 2, 2020, 11:38am UTC](https://community.cesium.com/t/polylinevolume-with-czml/9109/1 "2020-03-02T11:38:01Z")

</div>

Hello everyone,

I am trying to render a polylineVolume object with cesium with CZML format but it appears that this structure is not recognized

{

```
"label": {"text": "Green box with beveled corners and outline",

"polylineVolume" : {

    "positions" : [-90.0, 32.0, 0.0,

                   -90.0, 36.0, 100000.0,

                   -94.0, 36.0, 0.0],

    "shape" : [[-50000, -50000],

            [50000, -50000],

            [50000, 50000],

            [-50000, 50000]],

    "cornerType" : "BEVELED",

    "material": {

        "polylineOutline": {

            "color": { "rgba": [255, 160, 0, 140] },

            "outlineColor": { "rgba": [0, 0, 0, 60] },

            "outlineWidth": 2

        }

    }

}

```

furthermore there isn’t any documentation in CZML format documentation page for this structure

[https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/CZML-Structure](https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/CZML-Structure)

---

<div class="post-metadata">

**Author:** ![GDM](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gdm/32/3476_2.png) [@GDM](https://community.cesium.com/u/GDM)\
**Post date:** [May 21, 2021, 11:50am UTC](https://community.cesium.com/t/polylinevolume-with-czml/9109/2 "2021-05-21T11:50:40Z")

</div>

Hi Christos\_Ch,

Did you work this one out? I also cant get it to work

---

<div class="post-metadata">

**Author:** ![GDM](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gdm/32/3476_2.png) [@GDM](https://community.cesium.com/u/GDM)\
**Post date:** [May 21, 2021, 12:27pm UTC](https://community.cesium.com/t/polylinevolume-with-czml/9109/3 "2021-05-21T12:27:33Z")

</div>

Got a simple sample to work:

[{  
“id” : “document”,  
“name” : “CZML Geometries: Polygon”,  
“version” : “1.0”

```
}, {
"id": "1",
"polylineVolume": {
    "cornerType": "ROUNDED",
    "material": {
        "solidColor": {
            "color": {
                "rgba": [
                    0,
                    160,
                    48,
                    255
                ]
            }
        }
    },
    "shape": {
      "cartesian":
        [-50,-50, 50, -50,
        50, 50, -50, 50]
    },
    "positions": {
        "cartographicDegrees": [
            30,
            25,
            10,
            31,
            26,
            10
            
        ]     
    }
}

```

}

]
