Skip to main content
Question

Offset the center point of the segment perpendicular to the segment


boubcher
Contributor
Forum|alt.badge.img+11

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

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • October 24, 2022
  • first make a parallel line: OffsetCurveGenerator
  • then find the center: CenterPointReplacer

geomancer
Evangelist
Forum|alt.badge.img+51
  • Evangelist
  • October 24, 2022

Or you can use some math:

Offset_from_Line


geomancer
Evangelist
Forum|alt.badge.img+51
  • Evangelist
  • October 24, 2022

@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


nielsgerrits
VIP
Forum|alt.badge.img+55
geomancer wrote:

@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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings