Skip to main content
Question

Hello everyone, I have road file. May i know how to find slope percent at every 12m.

  • September 6, 2021
  • 3 replies
  • 15 views

Hello everyone, I have road file. May i know how to find slope percent at every 12m.

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

Assuming this is a polyline dataset, multiple ways to do this. One way I can think of:

  • Densifier to add point every 12 meter.
  • Chopper to create segments of 12 meter.
  • CoordinateExtractor to find _z_begin and _z_end.
  • AttributeCreator to calculate slope based on _z_begin and _z_end.

nielsgerrits wrote:

Assuming this is a polyline dataset, multiple ways to do this. One way I can think of:

  • Densifier to add point every 12 meter.
  • Chopper to create segments of 12 meter.
  • CoordinateExtractor to find _z_begin and _z_end.
  • AttributeCreator to calculate slope based on _z_begin and _z_end.

coordinate extractor gives the z value for the splitted lines. may I know how I can differentiate z_begin and z_end ?


nielsgerrits
VIP
Forum|alt.badge.img+54
rajkeerthana09 wrote:

coordinate extractor gives the z value for the splitted lines. may I know how I can differentiate z_begin and z_end ?

Multiple ways to do this, easiest is to use 2 CoordinateExtractors with mode = specify coordinate, coordinate index 0 is first point, index -1 is last point.


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