Skip to main content
Question

finding digitization direction of polyline

  • March 18, 2020
  • 4 replies
  • 92 views

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 .

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • 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
  • 61 replies
  • March 18, 2020

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


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • March 18, 2020

@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
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • March 18, 2020

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