An extension of #228. As the PR for that issues currently stands, you can update a camera's SN to be the same as an existing camera's in that project, but the images don't automatically get consolidated into one camera because the deployment Ids for the camera stay the same. To do so, I think the steps would look like this:
update all matching Images' cameraId fields with the new SN
find the source (original) cameraConfig in that Project, and delete it
if "merge deployments" option is checked (not sure how critical this even is?), for each non-default deployment from the source cameraConfig, create a new deployment on the target's cameraConfig
run remapImgsToDeps on all images that have the new SN (technically this won't be necessary if "merge deployments" was checked & we created new deployments)
update views. If any of the source deployments were used as filters in views, remove them from the filters.
An extension of #228. As the PR for that issues currently stands, you can update a camera's SN to be the same as an existing camera's in that project, but the images don't automatically get consolidated into one camera because the deployment Ids for the camera stay the same. To do so, I think the steps would look like this:
cameraId
fields with the new SNcameraConfig
in that Project, and delete itcameraConfig
, create a new deployment on the target'scameraConfig
remapImgsToDeps
on all images that have the new SN (technically this won't be necessary if "merge deployments" was checked & we created new deployments)