<?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 Re: Spatial Database View giving draw error in ArcMap 10.4 in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877433#M6572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christian, &lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;I ended up deleting my pa feature class and archive table, re-importing it back to the database, re-enabling archiving, and re-creating my views and they worked! So, I guess I must have corrupted that pa feature class somehow in my SQL experiments. Good thing it was just practice data!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chloe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2016 22:33:41 GMT</pubDate>
    <dc:creator>ForrestChevaillier1</dc:creator>
    <dc:date>2016-05-25T22:33:41Z</dc:date>
    <item>
      <title>Spatial Database View giving draw error in ArcMap 10.4</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877429#M6568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with MS SQL Server 2012 and ArcMap 10.4.&lt;/P&gt;&lt;P&gt;I'm a bit of newbie to SQL so please bear with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a view in my database using the following query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;CREATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="color: blue;"&gt;VIEW&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;dbo&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;intermediate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="color: fuchsia;"&gt;MIN&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;OBJECTID&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;OBJECTID&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: fuchsia;"&gt;MIN&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;INT_NAME&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;INT_NAME&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: fuchsia;"&gt;MIN&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;INT_NAME&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="color: gray;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="color: red;"&gt;' INT'&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;AS&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;CAMPUS&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: fuchsia;"&gt;MIN&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;ISD&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;ISD&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;UnionAggregate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;Shape&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="color: teal;"&gt;SHAPE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="color: teal;"&gt;dbo&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;pa_evw&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;pa&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;GROUP&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="color: blue;"&gt;BY&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;ISD&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;INT_NAME&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Where 'dbo.pa_evw' is an archived view of a polygon layer with a category field called INT_NAME.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P&gt;The query runs without an error in SQL Server Management Studio and the spatial results look how I would expect them to. However, when I bring the layer into ArcMap, I get a drawing error that says there is a "Shape integrity error."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point me in the right direction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 19:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877429#M6568</guid>
      <dc:creator>ForrestChevaillier1</dc:creator>
      <dc:date>2016-05-25T19:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Database View giving draw error in ArcMap 10.4</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877430#M6569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although the query is successful in SMSS it seems that ArcMap is getting caught on the render part of the query, not the query itself. You could consider running an STIsValid() function in SMSS to see if any shapes are invalid:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;CREATE&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;VIEW&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;dbo&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;intermediate&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;AS&lt;/SPAN&gt;
&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: fuchsia;"&gt;MIN&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;OBJECTID&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;OBJECTID&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: fuchsia;"&gt;MIN&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;INT_NAME&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;INT_NAME&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: fuchsia;"&gt;MIN&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;INT_NAME&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: red;"&gt;' INT'&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;AS&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;CAMPUS&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: fuchsia;"&gt;MIN&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;ISD&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;ISD&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;UnionAggregate&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;Shape&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;SHAPE,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: teal; font-weight: inherit; font-size: 12.6667px; font-family: inherit; font-style: inherit;"&gt;geometry::UnionAggregate(pa.shape).STIsValid() as validate&lt;/SPAN&gt;
&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;dbo&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;pa_evw&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;pa&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;GROUP&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;BY&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;ISD&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;pa&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;INT_NAME&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://msdn.microsoft.com/en-us/library/bb933890.aspx" title="https://msdn.microsoft.com/en-us/library/bb933890.aspx" rel="nofollow noopener noreferrer" target="_blank"&gt;STIsValid (geometry Data Type)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: The return is a boolean where 0 = False and 1 = True. Any records that are 0 would be considered invalid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 11:01:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877430#M6569</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2021-12-12T11:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Database View giving draw error in ArcMap 10.4</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877431#M6570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the suggestion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the STIsValid() function on the intermediate view and on the pa and pa_evw tables and all records returned 1 in the validate column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 22:10:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877431#M6570</guid>
      <dc:creator>ForrestChevaillier1</dc:creator>
      <dc:date>2016-05-25T22:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Database View giving draw error in ArcMap 10.4</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877432#M6571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another consideration here is that in SMSS, all shapes are stored and queried without a resolution or tolerance. However, in ArcMap we employ the use of these, which can, in some cases, truncate the coordinates therefore rendering an incomplete shape. In this case the Union Aggregate could be creating coordinates that are too granular for ArcMap to pick up. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, I would recommend contacting Technical Support to review this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 22:22:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877432#M6571</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2016-05-25T22:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Database View giving draw error in ArcMap 10.4</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877433#M6572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christian, &lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;I ended up deleting my pa feature class and archive table, re-importing it back to the database, re-enabling archiving, and re-creating my views and they worked! So, I guess I must have corrupted that pa feature class somehow in my SQL experiments. Good thing it was just practice data!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chloe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 22:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877433#M6572</guid>
      <dc:creator>ForrestChevaillier1</dc:creator>
      <dc:date>2016-05-25T22:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Database View giving draw error in ArcMap 10.4</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877434#M6573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although ArcGIS Server supports SQL Server's Geometry data type, it doesn't support all Geometry subtypes.&amp;nbsp; For example, CompoundCurve and CurvePolygon are unsupported subtypes.&amp;nbsp; Check the geometry type being returned from UnionAggregate.&amp;nbsp; If GeometryCollection is what is being returned, that could be causing the problem. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 22:38:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877434#M6573</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-05-25T22:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Database View giving draw error in ArcMap 10.4</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877435#M6574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this thread just after I posted a similar question here&amp;nbsp;&lt;A href="https://community.esri.com/message/687252-sql-view-to-sanitize-geometrycollections"&gt;https://community.esri.com/message/687252-sql-view-to-sanitize-geometrycollections&lt;/A&gt;&amp;nbsp;&amp;nbsp;I'd appreciate any comments to help me with this nastiness.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 15:20:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877435#M6574</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2017-05-16T15:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Database View giving draw error in ArcMap 10.4</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877436#M6575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;I am in the similar situation, UnionAggregate is problematic with some geometry. &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;ArcGIS 10.4.1 and SQL Server 2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;To solve my problem, I use a little buffer next to the aggregate:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(geometry::STUnionAggregate(Shape)).Buffer(0.01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;I'd also appreciate any comments to help&lt;/SPAN&gt;, because this request is not enough efficient for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 20:34:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatial-database-view-giving-draw-error-in-arcmap/m-p/877436#M6575</guid>
      <dc:creator>MatthieuMureau</dc:creator>
      <dc:date>2018-05-22T20:34:37Z</dc:date>
    </item>
  </channel>
</rss>

