Select to view content in your preferred language

Is there a Pro equivalent to ITopologicalOperator3.IsSimpleEx ?

508
2
10-16-2022 01:31 PM
KirkKuykendall1
Frequent Contributor

Hi -

I'm using GeometryEngine.ImportFromWKB to create geometries.

Sometimes I get an exception when I try to insert into a file gdb.

Rather than applying GeometryEngine.SimplifyAsFeature, I'd like to figure out what's wrong with the geometry to begin with so I can correct the code in the system that's generating the wkb (NetTopologySuite).

Does  the Pro SDK have anything like ITopologicalOperator3.IsSimpleEx found in the Enterprise SDK, that could  provide similar diagnostics, like this:

KirkKuykendall1_0-1665952092755.png

Thanks!

 

 

 

0 Kudos
2 Replies
AnnetteLocke
Esri Contributor

Hi Kirk,

The Pro SDK doesn't have it, but we do have an issue in our queue to add it. I will update the priority to include it in an upcoming release.

Thanks,

Annette

0 Kudos
AnnetteLocke
Esri Contributor

In the meantime, you could insert the geometries into a feature class in a geodatabase and use the GeoProcessing tool CheckGeometry. 

https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/check-geometry.htm

0 Kudos