Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have created a topology graph of a polygon feature and I want to find the individual FIDS of the lines of the polygon. I want to construct an adjacency matrix to create the shortest path. How can I do this with ArcObjects programming with VBA?

share|improve this question
    
What do you mean by "path" ... is it a sequence of polygons? –  Kirk Kuykendall Dec 3 '12 at 4:49

1 Answer 1

The individual lines will now have their own feature ids (they are not features- per se), but you can iterate over the individual Topology edges using IEnumTopologyEdge (there is also a sample available).

You can find more information about how to work with Topology Edges here: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000002vt000000

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.