Hi,
I want to do something very simple with the ArcGIS Javascript API 3.x. Just check if a polyline is self-intersecting.
Is there anything else than getLineIntersection() or the GeometryService function Intersect() because both require me to iterate through the paths arrays and check each line part myself.
Alex,
Have you tried GeometryEngine.isSimple method it should return false if the polyline self-intersects.
Hi Robert,
yes I tried that, it always returns true, regardless of self-intersection or not.
Alex,
Then, No there is no other way.
Ok thank you for your help. Doing it manually now.