Skip to main content
Question

finding digitization direction of polyline


gis2020
Contributor
Forum|alt.badge.img+5

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 .

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • March 18, 2020

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


gis2020
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 18, 2020

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


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • March 18, 2020
gis2020 wrote:

@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
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • March 18, 2020
gis2020 wrote:

@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:


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