Working on the implementation of Vector Data Cubes defined in stars I found the same error that is documented [here](https://github.com/edzer/spacetime/issues/30) and [here](http://r-sig-geo.2731867.n2.nabble.com/plotKML-using-STFDF-object-replicated-polygons-plot-order-error-td7590866.html). I will add a reprex as soon as possible