Select to view content in your preferred language

best way to get coordinates of a circular polyline.

457
2
01-15-2014 11:34 PM
Rahul_KumarDogra
New Contributor
hi,
I am using .net frame work 4.0,ArcServer 10.0,sql server 2008.
I want to get the cordinates(points) of a circular polyline so that i can store that in sql server .
what is the best way to get these cordinates , curently i m using IPointCollection - this which give two point but both points  are same as end point and start point are same.

Thanks in Advance.
0 Kudos
2 Replies
MelitaKennedy
Esri Notable Contributor
I moved this thread here, to ArcObjects SDK, because it appeared to be the most appropriate location. If you feel that's incorrect, please let me know.

I believe you'll have to call IPolycurve's Densify or one of the similar methods that convert the circular arc into a densified line.

Melita
0 Kudos
NeilClemmons
Honored Contributor
hi,
I am using .net frame work 4.0,ArcServer 10.0,sql server 2008.
I want to get the cordinates(points) of a circular polyline so that i can store that in sql server .
what is the best way to get these cordinates , curently i m using IPointCollection - this which give two point but both points  are same as end point and start point are same.

Thanks in Advance.


What you're seeing is correct.  The boundary of a true circle only has two points, the point where it begins and the point where it ends.  Because it is a curve there are no points in between.  Because it is a circle, the start point and end point have the same coordinates.
0 Kudos