<?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: sdelayer -o feature_info    AND    NULL geometries in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582278#M32922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't believe SDO_GEOMETRY permits 0-vertex geometries, so it might not be possible&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to distinguish between nils and NULLs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I really don't want to wade into the whole "vs." issue, but I can says this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+ Due to the integer-form compression provided by the ST_GEOMETRY storage model, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;equivalent ST_GEOMETRY shapes will be smaller than SDO_GEOMETRY shapes (and those&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with a lot of vertices will generally be a lot smaller, though the exact compression is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;determined by the distance between the vertices and the magnitude of the xy_scale)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+ SDO_GEOMETRY has a limit on the number of ordinates.&amp;nbsp; If you have more than half&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a million vertices on features, this might be an issue to research.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the end, every site should evaluate their geometry storage requirements, with respect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to capability, performance, and interoperability.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2012 15:00:28 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2012-12-06T15:00:28Z</dc:date>
    <item>
      <title>sdelayer -o feature_info    AND    NULL geometries</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582275#M32919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Windows 7, Desktop 10.1, Oracle Spatial 11g, ArcSDE 10.0&amp;nbsp; (all with latest updates)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please keep in mind during your response that I'm not a system admin or DBA so a simple straight-forward reply might be the best for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've installed ArcSDE Administrator and have been checking some of our feature classes for invalid geometries using sdelayer -o feature_info in Windows CMD.&amp;nbsp; When running this on a feature class I know has NULL geometries it reported no problems.&amp;nbsp; Reading the command description it doesn't state specifically that it checks for NULL geometries...is this correct?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;QUESTION - What command do I need to run to check for NULL geometries?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can think of anything very basic and helpful for checking geometries in SDE that wasn't mentioned here please feel free to add it in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 14:57:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582275#M32919</guid>
      <dc:creator>WesKing</dc:creator>
      <dc:date>2012-12-05T14:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: sdelayer -o feature_info    AND    NULL geometries</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582276#M32920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First off, you seem to be blending two concepts, NULL in the geometry column,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and a NIL geometry.&amp;nbsp; ArcSDE requires that geometry columns allow NULLs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(that is, no geometry is present).&amp;nbsp; A NIL is a geometry object with zero vertices&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(think of the result of an intersection of non-overlapping [non-touching] circles).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS has confused these on occassion as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Neither of these cases is invalid (except when a column doesn't permit NIL entity&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;types, but I can't think of a way to create that situation without hacking flags&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the SDE.LAYERS table), so there aren't any tools to "check" for it.&amp;nbsp; You can &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;certainly query for either condition, though, the former with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT objectid FROM table WHERE geometrycolumn IS NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the latter with more complex SQL (depending on what geometry storage is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in use, the syntax can be different).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What geometry storage are you using (what does 'sdelayer -o describe_long' report)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 17:30:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582276#M32920</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-12-05T17:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: sdelayer -o feature_info    AND    NULL geometries</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582277#M32921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Vince!&amp;nbsp; I knew NULL geometries were allowed, but my head wasn't grasping that they wouldn't be reported by this command.&amp;nbsp; But it's obvious now that you set me straight.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running the "sdelayer -o describe_long..." command it reports "Layer Type......: In-Line Spatial Type/SDO_GEOMETRY"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There were reasons our developers chose SDO_GEOMETRY over ST_GEOMETRY, but I can't recall what they are at this time.&amp;nbsp; I've seen many posts recommending ST over SDO...anything you want to say on that topic???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 14:00:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582277#M32921</guid>
      <dc:creator>WesKing</dc:creator>
      <dc:date>2012-12-06T14:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: sdelayer -o feature_info    AND    NULL geometries</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582278#M32922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't believe SDO_GEOMETRY permits 0-vertex geometries, so it might not be possible&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to distinguish between nils and NULLs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I really don't want to wade into the whole "vs." issue, but I can says this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+ Due to the integer-form compression provided by the ST_GEOMETRY storage model, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;equivalent ST_GEOMETRY shapes will be smaller than SDO_GEOMETRY shapes (and those&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with a lot of vertices will generally be a lot smaller, though the exact compression is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;determined by the distance between the vertices and the magnitude of the xy_scale)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+ SDO_GEOMETRY has a limit on the number of ordinates.&amp;nbsp; If you have more than half&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a million vertices on features, this might be an issue to research.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the end, every site should evaluate their geometry storage requirements, with respect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to capability, performance, and interoperability.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 15:00:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582278#M32922</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-12-06T15:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: sdelayer -o feature_info    AND    NULL geometries</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582279#M32923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Vince, I appreciate your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 16:26:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-o-feature-info-and-null-geometries/m-p/582279#M32923</guid>
      <dc:creator>WesKing</dc:creator>
      <dc:date>2012-12-06T16:26:25Z</dc:date>
    </item>
  </channel>
</rss>

