From 4756f35c2f43930b45926d7db6395e2ccfd940e9 Mon Sep 17 00:00:00 2001
From: "arnaud.morvan@camptocamp.com" <arnaud.morvan@camptocamp.com>
Date: Sun, 6 Oct 2024 10:05:18 +0200
Subject: [PATCH] Fix SOURCE_FIELD_SEC_ID in ImportPointsAlgorithm

---
 PreCourlis/processing/import_points_algorithm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PreCourlis/processing/import_points_algorithm.py b/PreCourlis/processing/import_points_algorithm.py
index 81bf60d..a0100ab 100644
--- a/PreCourlis/processing/import_points_algorithm.py
+++ b/PreCourlis/processing/import_points_algorithm.py
@@ -112,7 +112,7 @@ class ImportPointsAlgorithm(PreCourlisAlgorithm):
             "TRACKS_FIELD_SEC_ID": parameters[self.TRACKS_FIELD_SEC_ID],
             "AXIS": parameters[self.AXIS],
             "SOURCE_POINTS": joined_points,
-            "SOURCE_FIELD_SEC_ID": parameters[self.TRACKS_FIELD_SEC_ID],
+            "SOURCE_FIELD_SEC_ID": "sec_name",
             "SOURCE_FIELD_Z": parameters[self.SOURCE_FIELD_Z],
             "OUTPUT": parameters[self.OUTPUT],
         }
-- 
GitLab