Can I find or count neighbouring network elements using ArcObjects SDK and the Geometric Network model?

697
3
Jump to solution
07-28-2020 03:42 PM
GreigOldford1
New Contributor

I am trying to identify junctions that represent branching in a large geometric network. Using ArcObjects SDK (10.4.1, .NET) and the Geometric Network model there does not seem to be a way to access an adjacency matrix nor a way to find neighbouring elements. Can anyone confirm this? Any suggestions?

0 Kudos
1 Solution

Accepted Solutions
DuncanHornby
MVP Notable Contributor

Have you looked at the IGeometricNetwork Interface? Then you access the logical network via Network property. You can then query neighbours through INetTopology Interface.

View solution in original post

0 Kudos
3 Replies
DuncanHornby
MVP Notable Contributor

Have you looked at the IGeometricNetwork Interface? Then you access the logical network via Network property. You can then query neighbours through INetTopology Interface.

0 Kudos
GreigOldford1
New Contributor

Thanks! I didn't think of this approach.

0 Kudos
by Anonymous User
Not applicable

I think you could generate near table, then count them.

0 Kudos