Unify XML structure of RCBOX

It is hard to make code with CLI if the structure of XML change depending on an unknown reason, using the same version of reality capture.

The widthHeightDepth sometimes look like :

<widthHeightDepth>253.523330688481 244.950302124093 168.371154784681</widthHeightDepth>

 

sometimes like

<ReconstructionRegion globalCoordinateSystem=“+proj=utm +zone=37 +datum=WGS84 +units=m +no_defs”
   globalCoordinateSystemName=“epsg:32637 - WGS 84 / UTM zone 37N” isGeoreferenced=“1”
   isLatLon=“0” widthHeightDepth=“153.571403104233 178.093876393347 102.61076354994”>

Hi softyoda, were these exports created using the same tool?

Is it the same reconstruction region?

It isn’t the same reconstruction region (but both are generated in the same reality capture project, always using the export reconstruction region)

 

I’m trying to parse the xml using python, but I don’t understand why in some rcbox xml the widthHeightDepth is an attribute of the root, and in some others, it’s an element.

The result depends on the length of values/elements. Also it could be related with aligned/unaligned scenes.

I will fill it as a bug for our developers.