AnsweredAssumed Answered

ArcGIS Server: Linestring or poly boundary is self-intersecting

Question asked by ybwangesrisingapore-com-sg-esridist Employee on Mar 10, 2017
Latest reply on Mar 12, 2017 by ybwangesrisingapore-com-sg-esridist

I have a web map application where the user can draw a polygon and save it to the database through a feature access-enabled ArcGIS map service.


The problem occurs when the user creates self-intersecting polygons (see Figure 1 below). This causes an error 'Error: Linestring or poly boundary is self-intersecting' in ArcGIS Server, as recorded by the logs (see Figure 2 below).

Self-intersecting polygon

Figure 1: Self-intersecting polygon drawn by user

ArcGIS Server Logs

Figure 2: ArcGIS Server logs

 

My questions: is there a workaround for this error? Do I need to change some configuration on my map service? Unable to find a related setting.

And why does this error not occur in ArcMap?

 

As far as I can gather, this error happens due to a geometry validation issue (ArcGIS Help 10.1 ).

I'm guessing ArcMap uses some validation (e.g. ArcObjects 10 .NET SDK Help) in the background to account for this?

 

Any information would be appreciated.

Outcomes