Help C# needed Convert Line to Points

501
2
07-13-2011 02:48 PM
Highlighted
New Contributor
Hey Guys ,

I'm Dead Duck in The Ocean....

I need to convert route output of the analysis to points for use outside of gis ...
I have no idea if it is possible though found a old website which had tools for GIS9.2... that had convert line to point tool.....
I'm using GIS 9.3 Vstudio2008......(C#)....

I GREATLY APPRECIATE YOUR HELP......
Tags (2)
Reply
0 Kudos
2 Replies
Highlighted
Occasional Contributor III
Hello!

Route geometry is in the form of a Polyline, which can be cast as an IPointCollection.  Use the EnumVertices property to get an IEnumVertex that you can use to iterate over the vertices associated with a polyline.

Working with IEnumVertex

Good luck!
Reply
0 Kudos
Highlighted
New Contributor
Hello!

Route geometry is in the form of a Polyline, which can be cast as an IPointCollection.  Use the EnumVertices property to get an IEnumVertex that you can use to iterate over the vertices associated with a polyline.

Working with IEnumVertex

Good luck!


Thank you Sir.
I just started learning programming  and also GIS for my Research I'll try what you suggested and I'll Post on my results
Thanks a Bunch
Reply
0 Kudos