<?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: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class) in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475416#M27085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort of.&amp;nbsp; Those tools create views in the database.&amp;nbsp; They do NOT register those views with ArcSDE.&lt;/P&gt;&lt;P&gt;If you want the views registered with ArcSDE (as geodatabase objects, not as simple Query Layers),&lt;/P&gt;&lt;P&gt;you must use ArcSDE command-line to register the view(s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rules for view creation remain the same:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Must have a rowid column, which is 32-bit INTEGER,NOT NULL, with distinct and repeatable values &lt;BR /&gt;(no ROWNUMs allowed), &lt;/LI&gt;&lt;LI&gt;Many-to-one and one-to-many allowed ONLY if the resulting rowids are unique (choose rowids&lt;BR /&gt;from the many side).&lt;/LI&gt;&lt;LI&gt;Can only contain one geometry class (point/line/poly)&lt;/LI&gt;&lt;LI&gt;The source and result projections must be the same&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd still need to provide a complete description of what you have attempted, and what error(s) occurred&lt;/P&gt;&lt;P&gt;before we could help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jul 2014 16:13:59 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2014-07-29T16:13:59Z</dc:date>
    <item>
      <title>Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475412#M27081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the online help documentation, it seems possible that a spatial view against an Oracle/non-versioned/registered with the GDB/st_geometry/feature class is possible. The view creates without error, but cannot be viewed afterwards, giving a generic 'cannot display' error message. The user that is attempting to create the view has create view privileges. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are we mis-reading the help documentation? Is this possible with our configuration? Sure we know that spatial views can be created at the command line, but are more interested in the desktop tool solution rather then the soon to be deprecated command line tools. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Desktop 10.1 SP1 (no QIP)&lt;/P&gt;&lt;P&gt;ArcSDE 10.0 SP5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 21:15:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475412#M27081</guid>
      <dc:creator>SandraLuken</dc:creator>
      <dc:date>2014-07-28T21:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475413#M27082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's certainly possible, but you need to create the view with all required components, and register it properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no supported tools to do this at 10.1sp1 or 10.2.x, so you *must* use command-line, and given&lt;/P&gt;&lt;P&gt;the elderly ArcSDE release, you'd be best doing this with the tools that correspond to that release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to explain what is happening, and where things have gone wrong, you'd need to provide information&lt;/P&gt;&lt;P&gt;on what you are attempting.&amp;nbsp; That would include SQL*Plus DESCRIBE output of the table(s) involved in the&lt;/P&gt;&lt;P&gt;view, 'sdetable -o describe' and 'sdelayer -o describe_long' output of the table with the geometry, the exact&lt;/P&gt;&lt;P&gt;SQL you've used to create the view, the exact command you used to register the view, and the output of&lt;/P&gt;&lt;P&gt;'sdetable -o describe' and 'sdelayer -o describe_long' on the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 22:08:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475413#M27082</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-07-28T22:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475414#M27083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies that I wasn't more clear in the original posting, we are attempting to create a spatial view through either the GP tool (Create Database View.) or geodatabase context menu (New | View).&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're following these directions, which indicate that a spatial view can be created provided the data is not using binary geometry (we are using ST_Geometry).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Creating_a_database_view_in_ArcGIS_for_Desktop/002n000000tp000000/" title="http://resources.arcgis.com/en/help/main/10.1/index.html#/Creating_a_database_view_in_ArcGIS_for_Desktop/002n000000tp000000/"&gt;ArcGIS Help 10.1&lt;/A&gt;‌ - Creating a database view in ArcGIS Desktop&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_views_in_the_geodatabase/002n000000t0000000/" title="http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_views_in_the_geodatabase/002n000000t0000000/"&gt;ArcGIS Help 10.1&lt;/A&gt;‌ - A quick tour of views in the geodatabase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what you have outlined, that spatial views can only be created from the SDE command line, so we have misunderstood the help documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 12:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475414#M27083</guid>
      <dc:creator>SandraLuken</dc:creator>
      <dc:date>2014-07-29T12:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475415#M27084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried creating views on any other Feature Class? Are you observing the same issue for all the feature classes?&lt;/P&gt;&lt;P&gt;In case you have SDE command line installed, and used it to create the View...does that work ( I know you are trying to use the GP tool, but just to confirm).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 13:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475415#M27084</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2014-07-29T13:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475416#M27085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort of.&amp;nbsp; Those tools create views in the database.&amp;nbsp; They do NOT register those views with ArcSDE.&lt;/P&gt;&lt;P&gt;If you want the views registered with ArcSDE (as geodatabase objects, not as simple Query Layers),&lt;/P&gt;&lt;P&gt;you must use ArcSDE command-line to register the view(s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rules for view creation remain the same:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Must have a rowid column, which is 32-bit INTEGER,NOT NULL, with distinct and repeatable values &lt;BR /&gt;(no ROWNUMs allowed), &lt;/LI&gt;&lt;LI&gt;Many-to-one and one-to-many allowed ONLY if the resulting rowids are unique (choose rowids&lt;BR /&gt;from the many side).&lt;/LI&gt;&lt;LI&gt;Can only contain one geometry class (point/line/poly)&lt;/LI&gt;&lt;LI&gt;The source and result projections must be the same&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd still need to provide a complete description of what you have attempted, and what error(s) occurred&lt;/P&gt;&lt;P&gt;before we could help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 16:13:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475416#M27085</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-07-29T16:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475417#M27086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the complete workflow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- use ArcCatalog (Standard, 10.1, SP1)&lt;/P&gt;&lt;P&gt;- navigate to SDE Oracle 10.0 SP5 geodatabase- right click | New | View&lt;/P&gt;&lt;P&gt;- enter in view name (i.e., SL_TEST_SV)&lt;/P&gt;&lt;P&gt;- enter in view criteria such as 'select * from FS_TreeInventory' or 'select oid, shape, treeid from FS_TreeInventory'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (this is a point feature class, registered with the geodatabase, not versioned, stored using ST_Geometry)&lt;/P&gt;&lt;P&gt;- we have also tried with line and polygon feature classes in the same and other geodatabaseswith the same configuration mentioned above&lt;/P&gt;&lt;P&gt;- the view creates without error and appears in the geodatabase listing&lt;/P&gt;&lt;P&gt;- attempts to preview the view return the following error message 'Operation Failed, Error Opening Feature Class'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the same process is repeated on a table, and not a feature class, or the query does not involve the shape column, the view is created and can be previewed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we right click on the resulting spatial view, the option to register with the geodatabase is greyed out/unavailable. Another source of confusion as either this implies that this spatial view cannot be registered with the geodatabase, or it already is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 18:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475417#M27086</guid>
      <dc:creator>SandraLuken</dc:creator>
      <dc:date>2014-07-29T18:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475418#M27087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a quick note: "Registered with geodatabase" and "Registered with SDE" are two different things. What Vince had mentioned previously, involved "Registered with SDE", which doesn't happen if you us the GP tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 18:08:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475418#M27087</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2014-07-29T18:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475419#M27088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you attempting to access the view as a Query Layer or within the Geodatabase connection? If it's the latter, the table must be registered with &lt;EM&gt;ArcSDE&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Views can't be registered with the geodatabase at all (they cannot participate in feature datasets, etc. because they cannot carry an SDE-set rowid), so the registration option being greyed out should not alarm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 18:34:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475419#M27088</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-07-29T18:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475420#M27089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As feared, this comes down to a misunderstanding of the Help documentation. From what everyone has indicated in this thread, a spatial view created from ArcGIS Desktop will not work, unless the sde command line operation to register it with SDE is executed. Sigh. Appreciate the assistance, and Help clarification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 20:26:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475420#M27089</guid>
      <dc:creator>SandraLuken</dc:creator>
      <dc:date>2014-07-29T20:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475421#M27090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The view should work as a &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Creating_a_query_layer/00s500000027000000/"&gt;Query Layer&lt;/A&gt; from a 10.1 client, just not through a geodatabase connection&lt;/P&gt;&lt;P&gt;as a simple feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 21:04:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475421#M27090</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-07-29T21:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475422#M27091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to add to what Vince already mentioned, that View created using ArcGIS Desktop can be previewed in ArcMap w/o any issues. Basically thats going to act as a Query layer,as he pointed out, but will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase this helps or thats what you needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 21:47:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475422#M27091</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2014-07-29T21:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475423#M27092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you to both of you for your time and effort to help clarify things. In the end this comes down to a difference in expected behaviour based on what is written in the document. Short answer, ArcGIS cannot do what I want/expect it to do when it comes to Spatial Views without the involvement of the SDE command line. Perhaps in a future release. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 20:23:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475423#M27092</guid>
      <dc:creator>SandraLuken</dc:creator>
      <dc:date>2014-07-30T20:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View 10.1 (Oracle, ST_Geometry, Feature Class)</title>
      <link>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475424#M27093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work. A few things to check:&lt;/P&gt;&lt;P&gt;-Are you using an application server connection? Try using a direct connection instead. This might be the problem.&lt;/P&gt;&lt;P&gt;-Are there any errors in the sde error log? For direct connections it will be on your arcgis client machine in the %temp% directory (app server in sdehome\etc)&lt;/P&gt;&lt;P&gt;-If it still fails and there is nothing helpful in the sde dc error log, I would suggest opening an incident so we can look into it further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 17:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-database-view-10-1-oracle-st-geometry/m-p/475424#M27093</guid>
      <dc:creator>ForrestJones</dc:creator>
      <dc:date>2014-07-31T17:19:45Z</dc:date>
    </item>
  </channel>
</rss>

