<?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: Features disappear in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49447#M2757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Your quoted link just says that tables with potentially corrupt geometries will be scanned for &lt;BR /&gt;validity with each query (with a performance cost). It does not say that corrupt geometries&lt;BR /&gt;will be processed or rendered, only that an attempt at correction will be made. If both Oracle&lt;BR /&gt;tools and 'sdelayer -o feature_info' report a geometry as invalid, it's invalid.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understood that it says if the flag in question is not set (i.e. layer is created using &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;sdelayer -o register&lt;/SPAN&gt;&lt;SPAN&gt;), ArcSDE will verify the geometries prior to converting them and sending them to client. If they are "invalid" (i.e. vertical polygons) they will not even be converted and nothing will be displayed. However if the flag is set, the conversion proceeds without verification. This conversion and subsequent rendering may or may not succeed, but as it turns out it does succeed since the "invalidity" of the polygons is obviously not severe. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;There is a third issue here: If ArcGIS sees a CAD object, it's going to use that over the invalid&lt;BR /&gt;geometry. It's very likely that the "it works" state is not due to ArcSDE permitting operations on&lt;BR /&gt;invalid geometries (it won't), but to ArcGIS ignoring the invalid shapes in preference to CAD &lt;BR /&gt;entities. Unfortunately, there is no way you can generate those CAD objects externally (much &lt;BR /&gt;less via SQL).&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Didn't quite understand this part with &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;CAD entities&lt;/SPAN&gt;&lt;SPAN&gt;. Are you refering to the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;c&lt;/SPAN&gt;&lt;SPAN&gt; in entity mask? I don't think this makes much difference since there are no CAD objects in the table and adding or substracting this entity type from the layer definition makes no difference (registered layers always fail).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Altering the undocumented (and continually evolving) EFLAGS mask column is not recommended;&lt;BR /&gt;you probably shouldn't do this outside of close coordination with Tech Support.&lt;BR /&gt; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well yes I'm hopeful this will be done with ESRI's assistance, but since I'm not a customer myself, but rather my client is, it will be difficult to coordinate this. However it is frustrating that layers created through ArcCatalog and by using sdelayer command behave differently without any possibility of altering this behaviour (i.e. switch with sdelayer -o register command).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just because both Oracle and ESRI (even though Oracle in a far lesser degree than ArcGIS at v9.3.1) can't handle the 3rd dimension correctly it does not mean the geometry is invalid.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Nov 2011 20:14:40 GMT</pubDate>
    <dc:creator>DaliborKusic</dc:creator>
    <dc:date>2011-11-13T20:14:40Z</dc:date>
    <item>
      <title>Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49437#M2747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have features stored in an Oracle 10gR2 database (SDO_GEOMETRY) with valid spatial indexes (r-tree, 2-dimensional). ArcSDE 9.3.1 with SP2 is installed. All features can be seen fine through 3rd party viewers, but when viewing through ArcMap connecting through SDE (either direct connect or through a service) some features disappear and appear depending on zoom level and panning (i.e. you pan a little to the right and features appear). What can cause such behaviour?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same data in a different database (but still 10gR2) viewed through SDE 9.2 instance shows up fine through ArcMap.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried rebuilding indexes, even creating quad tree instead of r-tree...compared configuration options between these two SDE instances, but to no effect.... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 11:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49437#M2747</guid>
      <dc:creator>DaliborKusic</dc:creator>
      <dc:date>2011-11-02T11:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49438#M2748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does your registered rowid column map to an SE_INT32_TYPE integer (as per 'sdetable -o describe'),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and is the value returned in that column:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ a non-zero positive value,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ distinct (non-repeating across the result set), and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ unique (any given value is returned by exactly one row)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The behavior you're desribing is common when the rowid is not distinct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 13:11:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49438#M2748</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-11-02T13:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49439#M2749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does your registered rowid column map to an SE_INT32_TYPE integer (as per 'sdetable -o describe'),&lt;BR /&gt;and is the value returned in that column:&lt;BR /&gt;+ a non-zero positive value,&lt;BR /&gt;+ distinct (non-repeating across the result set), and&lt;BR /&gt;+ unique (any given value is returned by exactly one row)?&lt;BR /&gt; &lt;BR /&gt;The behavior you're desribing is common when the rowid is not distinct.&lt;BR /&gt; &lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, sdetable reports rowid column as SE_INT32 type and it's a primary key column in Oracle (which pretty much ensures uniqueness).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And as I said before, the same dataset in our development environment shows up fine through SDE. The database is the same (10gR2), but SDE in our dev environment is of lower version (9.2 vs 9.3.1). Although I don't think that's the problem since direct connect (bypassing the service) suffers from the same problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 05:59:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49439#M2749</guid>
      <dc:creator>DaliborKusic</dc:creator>
      <dc:date>2011-11-03T05:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49440#M2750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the past, the existance of a primary key has prevented successful registration of a layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't tried to register a table with a primary key more recently than 9.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At this point you'll probably need to work with Tech Support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 10:13:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49440#M2750</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-11-03T10:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49441#M2751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've pinpointed the problem. Since all of our data is 3D (has a Z value as well), there are also vertical polygons. These polygons fail the validate geometry functions of both Oracle and SDE. Oracle returns ORA-13349 (polygon intersects itself) and SDE returns -151 (SE_INVALID_OUTER_SHELL - The polygon outer shell does not completely enclose all of the donuts in a part of the shape) or -155 (SE_SELF_INTERSECTING A simple line or polygon boundary intersects itself.). This happens through both SDE 9.2 and 9.3.1. However it seems 9.2 still returns the goemetries in question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The log file on the server sde_&amp;lt;servicename&amp;gt;.log for 9.3 contains the following lines (which appear after querying the area which contains the "invalid" polygons:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;[Fri Nov 04 13:01:58 2011] [3005] [bcp] in set_invalidshape_mode &lt;BR /&gt;[Fri Nov 04 13:01:58 2011] [3005] [bcp] load_buffer error -151, current rowid=505072 &lt;BR /&gt;[Fri Nov 04 13:08:12 2011] [3001] [xpmin] load_buffer error -155 on TEMP_JARK, rowid -1 &lt;BR /&gt;[Fri Nov 04 13:08:17 2011] [3001] [xpmin] load_buffer error -155 on TEMP_JARK, rowid 504973&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So apparently it does not want to read these polygons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However the 9.2 log contains only:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;[Fri Nov 04 13:23:04 2011] [4296] [zg-hac] in set_invalidshape_mode &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and returns polygons as normal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;sdelayer -o feature_info&lt;/STRONG&gt;&lt;SPAN&gt; on both 9.2 and 9.3.1 flags these geometries as invalid (-155 or -151).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a change in behaviour from 9.2 to 9.3.1 in a way that it does not want to display invalid geometries any more? Is there a configuration keyword that would allow to loosen-up these validation algorithms? I've checked the config files of both 9.2 and 9.3.1 and they seem the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 11:47:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49441#M2751</guid>
      <dc:creator>DaliborKusic</dc:creator>
      <dc:date>2011-11-04T11:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49442#M2752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No ideas? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 05:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49442#M2752</guid>
      <dc:creator>DaliborKusic</dc:creator>
      <dc:date>2011-11-11T05:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49443#M2753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no way around enforcement of Clementini topology rules. You can talk with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tech Support, but vertical polygons are not supported by ArcSDE (they can only be &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;stored as Lines ["-e s+"]). The fact that it worked at 9.2 must have been a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 09:37:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49443#M2753</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-11-11T09:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49444#M2754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is no way around enforcement of Clementini topology rules. You can talk with&lt;BR /&gt;Tech Support, but vertical polygons are not supported by ArcSDE (they can only be &lt;BR /&gt;stored as Lines ["-e s+"]). The fact that it worked at 9.2 must have been a bug.&lt;BR /&gt; &lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you perhaps have any idea if ArcSDE 10 supports them (so I wouldn't upgrade in vain)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2011 12:39:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49444#M2754</guid>
      <dc:creator>DaliborKusic</dc:creator>
      <dc:date>2011-11-12T12:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49445#M2755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually I figured something out. &lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/36047" rel="nofollow"&gt;&lt;SPAN style="color:&amp;quot;blue&amp;quot;;"&gt;This link&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; states that &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; At ArcSDE 9.2, a new flag was added to layers to indicate whether the layer was created using ArcSDE or registered to ArcSDE using the sdelayer â??o register command. This flag is added automatically by ArcSDE.&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;If the layer was created using ArcSDE, the features are assumed to be valid since ArcSDE does not allow the creation of invalid geometries. Therefore, to help performance, layers that are flagged as having been created using ArcSDE are not verified and corrected before they are converted.&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;If the layer was created outside of ArcSDE then registered to ArcSDE, the features are verified and corrected before they are converted since there is the possibility that layers created outside of ArcSDE can contain invalid geometries.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I've tryed creating a layer on SDE9.3.1 database using ArcCatalog (9.3). I've set the same resolution and tolerance values as I did with the original layer, the same coordinate system, etc... Afterwards, I imported data from the old layer into this new layer and - everything works!!! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So &lt;/SPAN&gt;&lt;STRONG&gt;there is&lt;/STRONG&gt;&lt;SPAN&gt; this flag that tells SDE not to verify geometries and simply send them to the client. But, apparently this cannot be set from the user side. I've checked the definition of the layer by using &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;sdelayer -o describe_long&lt;/SPAN&gt;&lt;SPAN&gt; and the descriptions of this new ESRI layer and my old one are the same except for the entity mask which is &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;nac3+&lt;/SPAN&gt;&lt;SPAN&gt; for the esri one and &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;a3+&lt;/SPAN&gt;&lt;SPAN&gt; for mine (I've tried changing mine to &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;nac3+&lt;/SPAN&gt;&lt;SPAN&gt; but it didn't do the trick).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;EFLAG &lt;/SPAN&gt;&lt;SPAN&gt;attribute in &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;SDE.LAYERS&lt;/SPAN&gt;&lt;SPAN&gt; table is of course different. I could try manually editing the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;EFLAG &lt;/SPAN&gt;&lt;SPAN&gt;attribute based on the ESRI layer, but do not like doing things blindly. Is this binary flag documented somewhere perhaps?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2011 12:39:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49445#M2755</guid>
      <dc:creator>DaliborKusic</dc:creator>
      <dc:date>2011-11-13T12:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49446#M2756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your quoted link just says that tables with potentially corrupt geometries will be scanned for &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;validity with each query (with a performance cost). It does not say that corrupt geometries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;will be processed or rendered, only that an attempt at correction will be made. If both Oracle&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tools and 'sdelayer -o feature_info' report a geometry as invalid, it's invalid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The ArcSDE *API* has a function to allow clients to (reluctantly) accept invalid shapes in a stream&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(as opposed to failing with a database error at the start of the first transfer buffer that would have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;transferred the first invalid shape), but it then needs to test for that case and do something about&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it (using this also has a performance cost). No layer flag is going to change a client to incorporate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SE_stream_invalid_shape_mode code if it is not already present.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a third issue here: If ArcGIS sees a CAD object, it's going to use that over the invalid&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;geometry. It's very likely that the "it works" state is not due to ArcSDE permitting operations on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;invalid geometries (it won't), but to ArcGIS ignoring the invalid shapes in preference to CAD &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;entities. Unfortunately, there is no way you can generate those CAD objects externally (much &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;less via SQL).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Altering the undocumented (and continually evolving) EFLAGS mask column is not recommended;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you probably shouldn't do this outside of close coordination with Tech Support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2011 13:58:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49446#M2756</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-11-13T13:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49447#M2757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Your quoted link just says that tables with potentially corrupt geometries will be scanned for &lt;BR /&gt;validity with each query (with a performance cost). It does not say that corrupt geometries&lt;BR /&gt;will be processed or rendered, only that an attempt at correction will be made. If both Oracle&lt;BR /&gt;tools and 'sdelayer -o feature_info' report a geometry as invalid, it's invalid.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understood that it says if the flag in question is not set (i.e. layer is created using &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;sdelayer -o register&lt;/SPAN&gt;&lt;SPAN&gt;), ArcSDE will verify the geometries prior to converting them and sending them to client. If they are "invalid" (i.e. vertical polygons) they will not even be converted and nothing will be displayed. However if the flag is set, the conversion proceeds without verification. This conversion and subsequent rendering may or may not succeed, but as it turns out it does succeed since the "invalidity" of the polygons is obviously not severe. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;There is a third issue here: If ArcGIS sees a CAD object, it's going to use that over the invalid&lt;BR /&gt;geometry. It's very likely that the "it works" state is not due to ArcSDE permitting operations on&lt;BR /&gt;invalid geometries (it won't), but to ArcGIS ignoring the invalid shapes in preference to CAD &lt;BR /&gt;entities. Unfortunately, there is no way you can generate those CAD objects externally (much &lt;BR /&gt;less via SQL).&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Didn't quite understand this part with &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;CAD entities&lt;/SPAN&gt;&lt;SPAN&gt;. Are you refering to the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;c&lt;/SPAN&gt;&lt;SPAN&gt; in entity mask? I don't think this makes much difference since there are no CAD objects in the table and adding or substracting this entity type from the layer definition makes no difference (registered layers always fail).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Altering the undocumented (and continually evolving) EFLAGS mask column is not recommended;&lt;BR /&gt;you probably shouldn't do this outside of close coordination with Tech Support.&lt;BR /&gt; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well yes I'm hopeful this will be done with ESRI's assistance, but since I'm not a customer myself, but rather my client is, it will be difficult to coordinate this. However it is frustrating that layers created through ArcCatalog and by using sdelayer command behave differently without any possibility of altering this behaviour (i.e. switch with sdelayer -o register command).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just because both Oracle and ESRI (even though Oracle in a far lesser degree than ArcGIS at v9.3.1) can't handle the 3rd dimension correctly it does not mean the geometry is invalid.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2011 20:14:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49447#M2757</guid>
      <dc:creator>DaliborKusic</dc:creator>
      <dc:date>2011-11-13T20:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49448#M2758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another update.... It seems the "problem" wasn't with the EFLAGS, but with the OBJECT_FLAGS attribute in the SDE.TABLE_REGISTRY table. If I take my old table (the one that originally did not work), do not change anything, but only copy this attribute from the table that was created using ArcCatalog and overwriting with it the OBJECT_FLAGS attribute of my old table, the geometries display in ArcMap regardless of their "validity" (also no warnings or errors in SDE log files). Unfortunately I have no idea what this OBJECT_FLAGS is besides it is another binary attribute. I simply copied a value of 147463 over my old value of 133. This is not a perfect solution, but it works for now. Will try to reach ESRI's tech support on this. Anybody perhaps knows the structure of this attribute?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2011 21:57:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49448#M2758</guid>
      <dc:creator>DaliborKusic</dc:creator>
      <dc:date>2011-11-13T21:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Features disappear</title>
      <link>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49449#M2759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hopefully the last update:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears the bit 17 of the OBJECT_FLAGS attribute has something to do with SDE verifications. After setting this bit, layers show "normally" (no anomalies so far) in ArcMap and no errors are logged in the SDE log files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So..lets hope this little bit of reverse engineering holds up through stress tests &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 07:58:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/features-disappear/m-p/49449#M2759</guid>
      <dc:creator>DaliborKusic</dc:creator>
      <dc:date>2011-11-14T07:58:04Z</dc:date>
    </item>
  </channel>
</rss>

