<?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: How to reserve GEOMETRY in a created View in SDE Database in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146055#M8277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The whole purpose of using 'sdetable -o create_view' to to preserve the layer information&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so that an additional 'sdelayer' isn't necessary.&amp;nbsp; Make no mistake -- ArcSDE doesn't have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any knowledge of "feature classes" or other geodatabase entities, but ArcObjects does,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; and it presents the "new" "table" as a simple feature class.&amp;nbsp; Views cannot be versioned,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; and therefore cannot participate in feature datasets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2012 10:52:40 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2012-04-27T10:52:40Z</dc:date>
    <item>
      <title>How to reserve GEOMETRY in a created View in SDE Database</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146052#M8274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have got one point feature class table and a non-spatial plain table both stored in an ArcSDE 10 database with SQL Server 2008 R2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They share a common field called GEOMETRY_ID. I created a view joining up the GEOMETRY_ID column on both tables and stored it as V_Location in Views.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, when I tried to view the created View V_Location in ArcCatalog, it only showed as a plain table but not point features that I was expecting. SHAPE was changed to type of "LONG INTEGER" in stead of "GEOMETRY".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did I do it wrongly? What is the best practise to make a View reserving Geometry of the features?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 04:02:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146052#M8274</guid>
      <dc:creator>AlexChen</dc:creator>
      <dc:date>2012-04-13T04:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to reserve GEOMETRY in a created View in SDE Database</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146053#M8275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Spatial views involving SDEBINARY storage need to be made with the 'sdetable -o create_view' command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Spatial views involving native or ST_GEOMETRY storage should be made with SQL, then registered with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE through 'sdelayer -o register'.&amp;nbsp; In either case, the resulting view must contain a NOT NULL, unique,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and reproducible SE_INT32_TYPE integer column for the registered rowid (a one-to-many view must join&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the rowid from the many side), or ArcGIS will be unable to function correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 11:25:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146053#M8275</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-04-13T11:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to reserve GEOMETRY in a created View in SDE Database</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146054#M8276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Vince, while I've successfully created a spatial view using sdetable command, i was surprised it appears as a fc without having to apply the sdelayer command.&amp;nbsp; Are you able to explain?&amp;nbsp; Is it recognising the geometry field in my sv definition?&amp;nbsp; I suspect why its displaying as a fc, not registering it using sdelayer is resulting in it not being fully enabled as a fc in the gdb?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 07:58:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146054#M8276</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-04-27T07:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to reserve GEOMETRY in a created View in SDE Database</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146055#M8277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The whole purpose of using 'sdetable -o create_view' to to preserve the layer information&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so that an additional 'sdelayer' isn't necessary.&amp;nbsp; Make no mistake -- ArcSDE doesn't have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any knowledge of "feature classes" or other geodatabase entities, but ArcObjects does,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; and it presents the "new" "table" as a simple feature class.&amp;nbsp; Views cannot be versioned,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; and therefore cannot participate in feature datasets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 10:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146055#M8277</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-04-27T10:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to reserve GEOMETRY in a created View in SDE Database</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146056#M8278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So the following documentation is wrong then:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002q000000r5000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002q000000r5000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;brad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 11:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146056#M8278</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-04-27T11:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to reserve GEOMETRY in a created View in SDE Database</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146057#M8279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not wrong.&amp;nbsp; Just simplistic.&amp;nbsp; I strongly discourage the use of 'sdetable -o create_view' for anything&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but creation of spatial views on SDEBINARY storage layers.&amp;nbsp; The best way to work with native&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;geometry is in SQL (e.g., CREATE VIEW xxx AS SELECT ...), at which point 'sdelayer -o register' is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;used to make the result available to ArcSDE.&amp;nbsp; The main problem with simplistic examples is that the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;complixities of real world data reduce their value -- in this case, trying to work both methods into&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;one example confuses the issue on when you should use each method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 12:46:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-reserve-geometry-in-a-created-view-in-sde/m-p/146057#M8279</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-04-27T12:46:17Z</dc:date>
    </item>
  </channel>
</rss>

