Is it possible to draw an arc(curve) in QGIS using Python if the following parameters are known?
- start point of the arc
- end point of the arc
- arc length
- direction of the arc from start point to end point
- Radius (of the circle created from the arc)
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityIs it possible to draw an arc(curve) in QGIS using Python if the following parameters are known?
I have derived center point of the circle (formed by the arc) and then computed the midpoint of the arc. Having traced the midpoint, I have used "QgsCircularStringV2" class which creates the arc from its start point, mid point and end point. Refer the code for arc creation here