It would be extremely beneficial to add a {side_option} to the arcpy.management.GenerateTransectsAlongLines tool when generating profiles along rivers and roads.
The {side_option} could be 'Left' or 'Right'.
The enhanced tool syntax would look like this:
arcpy.management.GenerateTransectsAlongLines(in_features, out_feature_class, interval, transect_length, {include_ends}, {side_option})
Consider a case where I have road line of 10.1 meters and I set the interval to 1 meter. Usually, our clients in Japan don't require a transect line at the 10-meter position. They prefer to treat the last 1.1 meters as a single section while setting include_ends to 'END_POINTS'. Therefore, we need to introduce another parameter, {last_part_length}, set to 0.1 meters.
We would greatly appreciate it if these enhancements could be considered in the next release.
Wentao Che
Tokyo, Japan