Select to view content in your preferred language

Looking for equivalent to IPolyline.SimplifyNetwork in ArcGIS Pro SDK

63
1
Jump to solution
Wednesday
rdc_hirohara
Occasional Contributor

I'm currently migrating a tool from ArcGIS Desktop 10.8 ArcObjects (C#) to ArcGIS Pro 3.4 SDK.

In the original ArcObjects code, we use IPolyline.SimplifyNetwork() to simplify polylines and ensure that the endpoints of parts are snapped together topologically—this is important for subsequent network analysis and geometry merging.

However, in the ArcGIS Pro SDK, I couldn't find any equivalent functionality to SimplifyNetwork. Does the Pro SDK provide any method or workaround that can achieve similar results, such as snapping endpoints within a tolerance or topologically connecting loosely joined polyline parts?

Any suggestions or recommended approach would be greatly appreciated.

0 Kudos
1 Solution

Accepted Solutions
rdc_hirohara
Occasional Contributor

I have confirmed that using GeometryEngine.SimplifyPolyline with SimplifyType.Network produces equivalent results to IPolyline.SimplifyNetwork.
Thank you for your time and support, and sorry for the confusion.

View solution in original post

0 Kudos
1 Reply
rdc_hirohara
Occasional Contributor

I have confirmed that using GeometryEngine.SimplifyPolyline with SimplifyType.Network produces equivalent results to IPolyline.SimplifyNetwork.
Thank you for your time and support, and sorry for the confusion.

0 Kudos