<?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 Error encountered when attempting to create spatial view in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/error-encountered-when-attempting-to-create/m-p/665034#M37695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to create a simple spatial view using the following command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdetable -o create_view -t source_fc -T destination_view -c "*" -i sde:sqlserver:server\instance -D database -u username -p xxxxxxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm recieving the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Invalid entity type(-29)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Unable to create view destination_view&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've searched through the forums and the internet, but nearly all references to -29 deal with registering tables, which I don't need to do since the source is already a Feature Class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any ideas?&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;Craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2012 18:08:31 GMT</pubDate>
    <dc:creator>CraigPatterson</dc:creator>
    <dc:date>2012-05-04T18:08:31Z</dc:date>
    <item>
      <title>Error encountered when attempting to create spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/error-encountered-when-attempting-to-create/m-p/665034#M37695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to create a simple spatial view using the following command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdetable -o create_view -t source_fc -T destination_view -c "*" -i sde:sqlserver:server\instance -D database -u username -p xxxxxxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm recieving the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Invalid entity type(-29)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Unable to create view destination_view&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've searched through the forums and the internet, but nearly all references to -29 deal with registering tables, which I don't need to do since the source is already a Feature Class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any ideas?&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;Craig&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 18:08:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-encountered-when-attempting-to-create/m-p/665034#M37695</guid>
      <dc:creator>CraigPatterson</dc:creator>
      <dc:date>2012-05-04T18:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error encountered when attempting to create spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/error-encountered-when-attempting-to-create/m-p/665035#M37696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;'sdetable -o create_view' should only be used when the geometry is a SDEBINARY or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDELOB storage layer.&amp;nbsp; Views on native geometry or ST_GEOMETRY tables should be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;constructed in SQL, then registered with 'sdelayer -o register'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I strongly advise against using "-c '*'" -- it is best practice to always explicity list&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;your columns.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An entity type error indicates that your geometry actually contains entities not&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;supported by your layer.&amp;nbsp; Native geometries may only contain one topology class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(point *or* line *or* polygon), and should be defined to allow nil geometries --&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"np", "nsl+", "na+", respectively).&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, 04 May 2012 18:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-encountered-when-attempting-to-create/m-p/665035#M37696</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-05-04T18:27:37Z</dc:date>
    </item>
  </channel>
</rss>

