Skip to main content
Solved

distance marker from ceterpoint of line


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.

View original
Did this help you find an answer to your question?

2 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • 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
takashi wrote:

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


Reply


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