Skip to main content

Hi All,

i have a polyline for which i would like to find the digitization direction. and based on this i will be applying the driving direction for this line .I am not sure how i can find the digitization direction for polyline , can somebody help me with this .?

I checked with azimuth calculation but not sure how i can use this any guidance on this will be helpful.

 

Thank you in advance .

Hi @dandekarpriya

I suggest you to use the transformer CoordinateExtractor.

This transformer generate the attribute _indices - a list of all vertices will be create and the position List{0} - is the begin of direction.

 

Thanks,

Danilo


@danilo_fme but how can i say if this in positive direction or negative direction ?


@danilo_fme but how can i say if this in positive direction or negative direction ?

How do you define positive and negative? If you know what angles are considered positive or negative you can calculate the angle and then use an attribute creator or attribute value mapper to define positive or negative


@danilo_fme but how can i say if this in positive direction or negative direction ?

Maybe you use the transformer AttributeManager and set for the List 0 = Positive:


Reply