I converted a gml data to cesium 3d tiles.It got converted to cesium 3d tiles correctly but the data is getting an extra added height.The 3d tiles data is not getting aligning properly with the basemap.The 3d tiles data is in the air.What could be the reason.Please check the attachment image.The tile is in the air.
Hi @san,
I've also experienced the same issue, unfortunately, I still do not know how to solve it.
citygml2null-cesium3dtiles.fmwt
Your CityGML (or gml) has an elevation, the basemap does not have an elevation set. You either need to add a terrain layer to your map or you need to remove the elevation from the buildings before writing out.
You can use a BoundsExtracter to get the 'minz' value and then use an Offsetter to offset by -minz to get the models placed at the sea level.
797525.19 326602.00 219.21
797525.19 326602.00 215.59
797537.19 326605.27 215.59
797537.19 326605.27 219.25
797525.19 326602.00 219.21
I feel that height values are making the tiles to project in the air.What can i do to solve this issue.
Your CityGML (or gml) has an elevation, the basemap does not have an elevation set. You either need to add a terrain layer to your map or you need to remove the elevation from the buildings before writing out.
You can use a BoundsExtracter to get the 'minz' value and then use an Offsetter to offset by -minz to get the models placed at the sea level.
If the result is not 0, check that the expression is correct and the attribute being used in the correct attribute. After the ExpressionEvaluator the _minz value should be a negative number.