We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b4e484 commit 1f3e99eCopy full SHA for 1f3e99e
1 file changed
src/use-cases/plan/GeneratePlan.ts
@@ -59,7 +59,11 @@ export class GeneratePlan {
59
}
60
61
62
- if (plan.type === PlanType.TOPOGRAPHIC && plan.topographic_boundary) {
+ if (
63
+ plan.type === PlanType.TOPOGRAPHIC &&
64
+ plan.topographic_boundary &&
65
+ plan.topographic_boundary.coordinates.length > 0
66
+ ) {
67
// compute back computation
68
const backComputationResult = this.backComputation.execute({
69
points: plan.topographic_boundary.coordinates,
0 commit comments