Question

Offset the center point of the segment perpendicular to the segment

  • 22 October 2022
  • 4 replies
  • 11 views

Badge +10

I extracted the center point of a line segment, I need to offset this point from its original position on the line to a 10m distance from the line and should be perpendicular to the line

 

imageimage


4 replies

Userlevel 2
Badge +12
  • first make a parallel line: OffsetCurveGenerator
  • then find the center: CenterPointReplacer
Userlevel 4
Badge +36

Or you can use some math:

Offset_from_Line

Userlevel 4
Badge +36

@nielsgerrits​ added and subsequently removed a reaction mentioning the Labeller. This seems to be a viable alternative, as long as the sign of the Label Offset is set depending on the direction of the line. The resulting coordinates are exactly the same as in my math solution described above. Kudos to @nielsgerrits​!

Offset_from_Line_using_Labeller

Userlevel 6
Badge +32

@nielsgerrits​ added and subsequently removed a reaction mentioning the Labeller. This seems to be a viable alternative, as long as the sign of the Label Offset is set depending on the direction of the line. The resulting coordinates are exactly the same as in my math solution described above. Kudos to @nielsgerrits​!

Offset_from_Line_using_Labeller

:) thanks, I had not enough time to work it out properly as you did.

Reply