Hi!
Lets say I have a czml file with a polygon that looks like this:
{
"polygon": {
"positions": {
"cartographicDegrees": [
10,
50,
0,
10.001,
50.001,
5,
10.002,
50.001,
10
]
},
"perPositionHeight": true
}
}
What I would like to do, is to vary the height of the polygon over time, but I want the polygon’s shape to remain exactly the same, I only want to move it around in the terrain. Something like the following would have been ideal:
{
"polygon": {
"positions": {
"cartographicDegrees": [
10,
50,
0,
10.001,
50.001,
5,
10.002,
50.001,
10
]
},
"perPositionHeight": true,
"heightOffset": [
{
"interval": "2021-09-22T07:00:00Z/2021-09-22T08:00:00Z",
"number": 1
},
{
"interval": "2021-09-22T08:00:00Z/2021-09-22T09:00:00Z",
"number": 2
},
{
"interval": "2021-09-22T09:00:00Z/2021-09-22T10:00:00Z",
"number": 3
}
]
}
}
Is this possible? Because the only solution I can see now, is to rewrite the entire polygon with different heights for every interval. And obviously, this is not scalable for large structures.
Thanks alot for any help!