3Dtiles, To change the location of a building

hi all,

I have a question.

I added a building using the option to 'transform' at tileset.json file.

I want to change the location of my building to korea.

  "root": {
    "transform": [
Should I put Korean coordinates in x, y, z?
What is the coordinates system? ECEF or wgs84 ?
and i need a description of each item in "transform"

Thanks so very much for your help


Just replacing x, y, z isn’t enough because the rotation component of the matrix will not be aligned correctly with the new location.

Try computing the transform with this Cesium code:

Cesium.Transforms.headingPitchRollToFixedFrame(Cesium.Cartesian3.fromRadians(longitude, latitude, height), new Cesium.HeadingPitchRoll());


The resulting transform is ECEF.

Also you shouldn’t need a description of each item in transform. Though I’m not completely sure what you mean.

thanks Sean

Thanks to your advice, I understand.

My building is located in Korea.

have a nice day.