Skip to main content
Solved

distance marker from ceterpoint of line

  • October 5, 2016
  • 2 replies
  • 21 views

f.kemminje
Contributor
Forum|alt.badge.img+11

Hi Team,

I have to create points from line at a constant distance from centerpoint. for every 50 ft i need one point along line feature. for exmple if a length of the line is 140 ft. then one point at center(70 dist), and 50 ft to left and 50 ft to right. so in both sides 10 ft will remain.

__x__________x__________x__

10 50 50 10

DistanceMarker_2013 will do the work i know , But only problem i have here is it calculates the distance from start point. is there any method ?

Thank you

F. Kemminje

Best answer by takashi

Hi @fkemminje, the strategy is to make a line starting from the first marker point. I think this expression computes the distance (D) between start node of the original line and the first marker.

D = <line length> * 0.5 - @int(<line length> * 0.5 / <constant distance>) * <constant distance>

You can transform the line into a line starting from the first marker point with the Snipper,

  • Snipping Mode: Distance (Value)
  • Starting Location: D
  • Ending Location: -1 

 and then apply the DistanceMarker_2013.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • Best Answer
  • October 5, 2016

Hi @fkemminje, the strategy is to make a line starting from the first marker point. I think this expression computes the distance (D) between start node of the original line and the first marker.

D = <line length> * 0.5 - @int(<line length> * 0.5 / <constant distance>) * <constant distance>

You can transform the line into a line starting from the first marker point with the Snipper,

  • Snipping Mode: Distance (Value)
  • Starting Location: D
  • Ending Location: -1 

 and then apply the DistanceMarker_2013.


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • October 7, 2016

Hi @fkemminje, the strategy is to make a line starting from the first marker point. I think this expression computes the distance (D) between start node of the original line and the first marker.

D = <line length> * 0.5 - @int(<line length> * 0.5 / <constant distance>) * <constant distance>

You can transform the line into a line starting from the first marker point with the Snipper,

  • Snipping Mode: Distance (Value)
  • Starting Location: D
  • Ending Location: -1 

 and then apply the DistanceMarker_2013.

thank you very much