<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS Server: Linestring or poly boundary is self-intersecting in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103426#M3999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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&amp;nbsp;by the logs (see Figure 2 below).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Self-intersecting polygon" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/337860_03.png" style="height: 313px;" width="313" /&gt;&lt;/P&gt;&lt;P&gt;Figure 1: Self-intersecting polygon drawn by user&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ArcGIS Server Logs" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/337861_02.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Figure 2: ArcGIS Server logs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions: is there a workaround for this&amp;nbsp;error? Do I need to change some configuration on my map service? Unable to find a related setting.&lt;/P&gt;&lt;P&gt;And why does this error not occur in ArcMap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can gather, this error happens due to a geometry validation issue (&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/main/10.1/#/Geometry_validation_on_tables_containing_ST_Geometry_columns/006z00000028000000/" title="http://resources.arcgis.com/en/help/main/10.1/#/Geometry_validation_on_tables_containing_ST_Geometry_columns/006z00000028000000/"&gt;ArcGIS Help 10.1&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;I'm guessing ArcMap uses some validation (e.g. &lt;A class="link-titled" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//002m000003w0000000" title="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//002m000003w0000000"&gt;ArcObjects 10 .NET SDK Help&lt;/A&gt;) in the background to account for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any information would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Mar 2017 10:45:44 GMT</pubDate>
    <dc:creator>Ying_BoWang</dc:creator>
    <dc:date>2017-03-10T10:45:44Z</dc:date>
    <item>
      <title>ArcGIS Server: Linestring or poly boundary is self-intersecting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103426#M3999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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&amp;nbsp;by the logs (see Figure 2 below).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Self-intersecting polygon" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/337860_03.png" style="height: 313px;" width="313" /&gt;&lt;/P&gt;&lt;P&gt;Figure 1: Self-intersecting polygon drawn by user&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ArcGIS Server Logs" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/337861_02.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Figure 2: ArcGIS Server logs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions: is there a workaround for this&amp;nbsp;error? Do I need to change some configuration on my map service? Unable to find a related setting.&lt;/P&gt;&lt;P&gt;And why does this error not occur in ArcMap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can gather, this error happens due to a geometry validation issue (&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/main/10.1/#/Geometry_validation_on_tables_containing_ST_Geometry_columns/006z00000028000000/" title="http://resources.arcgis.com/en/help/main/10.1/#/Geometry_validation_on_tables_containing_ST_Geometry_columns/006z00000028000000/"&gt;ArcGIS Help 10.1&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;I'm guessing ArcMap uses some validation (e.g. &lt;A class="link-titled" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//002m000003w0000000" title="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//002m000003w0000000"&gt;ArcObjects 10 .NET SDK Help&lt;/A&gt;) in the background to account for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any information would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 10:45:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103426#M3999</guid>
      <dc:creator>Ying_BoWang</dc:creator>
      <dc:date>2017-03-10T10:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server: Linestring or poly boundary is self-intersecting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103427#M4000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the version of ArcGIS Server? And what database are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 16:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103427#M4000</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2017-03-10T16:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server: Linestring or poly boundary is self-intersecting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103428#M4001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What type of application are you using? &amp;nbsp;Whenever I've seen polygon editing templates in applications, they always maintain those types of topology rules for polygons, (for example, using a rectangle, circle, or polygon template or freehand). &amp;nbsp;They will all make sure that all lines are connected. &amp;nbsp;The WAB has an edit widget&amp;nbsp;where you can define &lt;A href="http://doc.arcgis.com/en/web-appbuilder/create-apps/widget-edit.htm"&gt;snapping tolerances&lt;/A&gt;. &amp;nbsp;If you're using the Javascript API, maybe that's something you can look into.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Mar 2017 19:01:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103428#M4001</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2017-03-11T19:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server: Linestring or poly boundary is self-intersecting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103429#M4002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Server 10.4. Feature access-enabled Map Service was published using ArcMap 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL Server Enterprise Geodatabase. ArcGIS 10.2.2 database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 01:54:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103429#M4002</guid>
      <dc:creator>Ying_BoWang</dc:creator>
      <dc:date>2017-03-13T01:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server: Linestring or poly boundary is self-intersecting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103430#M4003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using Web App builder based web application (version 2.0.1).&lt;/P&gt;&lt;P&gt;Customization in the basic app builder framework was done based on the application requirement and design&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For edit widget, we have used the out of box app builder edit widget, without any customizations.&lt;/P&gt;&lt;P&gt;We will try to set the snapping tolerance and will let you know the outcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 02:03:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-linestring-or-poly-boundary-is-self/m-p/103430#M4003</guid>
      <dc:creator>Ying_BoWang</dc:creator>
      <dc:date>2017-03-13T02:03:30Z</dc:date>
    </item>
  </channel>
</rss>

