I have made two objects in geometry nodes (GN):
I took a plane in view port. I increased its size by 20 and then scale it. In Edit Mode, I applied subdivisions two times, first with 10 and then with 4. Next, I applied GN and with GN I applied set position. With vector add math, I connected position and noise texture with the offset of the set position and created a beautiful landscape with mountanous heights on Z axis.
I took a bezier curve in view port and then applied GN. Within GN, I converted this curve into a double fence.
Problem to solve:
I wish to place this double fence surrounding a pedestrian passage on the surface of the landscape. I wish to align the fence along the surface of the landscape so that if I change the noise texture in the landscape, the fence automatically adjusts itself to remain well aligned on the surface of the landscape. Please tell how can I do this in GN.
Please provide the solution in accordance with the latest blender version 4.5 that I am using. Images of my nodes are attached herewith.


