Introduction
Problem description
All Datasets in a Site were manually aligned. The Bundle was then downloaded from the site and uploaded to a new instance/site. However, the datasets are no longer aligned or geo-registered.
Scope
Applies to: NavVis IVION all versions
Troubleshooting procedure
1 Check if the alignment was saved
After aligning your data manually in the Dataset Alignment, you must store the changes by clicking the Save button in the bottom right. If you do not store these changes, your alignment will not be written to the site or the bundle file. To check if the alignment was stored:
Open the bundle file in WinRAR.
Navigate to the dataset folder of each dataset.
Check that the alignment.json files of each dataset have the same "parent" entry, and non zero values for the "transform" entry.
If no alignment information is stored in the bundle, the only solution is to align the data manually again.

2 Ensure that the new site base point matches the previous one
If the site base point of your previous site (where the bundle was downloaded from) does not match the base point of your new site, your data will no longer be correctly geo-located. Look up which site base point was stored in the bundle file:
Open the bundle file in WinRAR.
Navigate to any dataset folder and open the alignment.json file.
Look for entry that says "parent"

The value "spatial_reference" tells you which system was used, and values "tx" and "ty" tell you the coordinates of the point. Make sure that the newly created site has the matching values.
If not, adapt them and the geo-location will be restored.
