Skip to content

Don't overwrite existing reference_lla file - #2097

Open
MJohnson459 wants to merge 1 commit into
masterfrom
fix-2094
Open

MJohnson459 wants to merge 1 commit into
masterfrom
fix-2094

Conversation

@MJohnson459

Copy link
Copy Markdown
Contributor

Fixes #2094 which contains testing and evidence for the bug.

With --split + --sm-cluster, every submodel processed on a remote node comes back translated. Submodels processed locally are correct. In the merged orthophoto the same buildings show up in several places.

This fix avoids overwriting the file if it already exists. The write_reference_lla method is only called from one place but this would stop it being overwritten accidentally later.

A split-merge parent seeds reference_lla.json into remote submodels and
we don't want to replace them.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

split-merge with --sm-cluster: remote submodels are shifted by (submodel centre − project origin)

1 participant