Skip to main content

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

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.


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