<?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 fails in simple case in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352110#M20155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The SDELayer register command is insisting that the entity argument include a "3" (eg "nac3") or it fails. When the "3" is included, it registers the MSSql table as a feature class, but the FC is corrupted (Symptoms: from ArcCat, the FC shows up blank; from ArcMap, it shows up blank. In ArcMap, if I open the attribute table, I can get an outline of the shape; but using the Info tool, and clicking on the shape, no information appears.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To see if I could get SDELayer to work without the "3" in the entity class (which we're assuming is the culprit here), I created a new SRID in sde.sde_spatial_references and verified that it has a zero for its falsez and falsem, and a 1 for its zunits and munits, and a zcluster_tol of 0.001 (which all the rest of my SRIDs have). I set the SRID of the GEOMETRY shape to the SRID I created (71). Still, SDELayer refuses to work unless the "3" is in the entity types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a reference that the "c" cannot be removed from the entity types (&lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=2&amp;amp;f=59&amp;amp;t=238988);"&gt;http://forums.esri.com/Thread.asp?c=2&amp;amp;f=59&amp;amp;t=238988);&lt;/A&gt;&lt;SPAN&gt; but is there a way to get SDELayer to register the FC without a "3"? Or might some other factor than the "3" be causing the corruption in the registered feature class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 May 2010 14:25:06 GMT</pubDate>
    <dc:creator>JohnCawley_III</dc:creator>
    <dc:date>2010-05-10T14:25:06Z</dc:date>
    <item>
      <title>SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352096#M20141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to register a very simple MSSql table (with a Geometry shape) as a feature class in ArcSDE using SDELayer, but am unable to do so. I am using ArcSDE 9.3.1 on a SQL Server 2008 database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I start with a good feature class, Bldg, that has a single (MSSql Geometry) shape in it and which is viewable in ArcCat/ArcMap. Then from MSSql, I make a copy of the table/FC with "select * into sde.Bldg2 from sde.Bldg". (On an aside, I understand that user sde should not own user data, but will fix that later.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I try to register this new table/FC with ArcSDE using this command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; sdelayer -o register -l Bldg2,shape -e na+ -t GEOMETRY -C objectid,SDE %auth&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where %auth contains my connection and authentication information for user sde. I receive this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; ArcSDE 9.3.1&amp;nbsp; for SQL Server Build 1632 Thu Feb 26 12:05:37&amp;nbsp; 2009&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Layer&amp;nbsp;&amp;nbsp;&amp;nbsp; Administration Utility&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -----------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Error: Invalid entity type (-29).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Error: Cannot Create Layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After I receive this error, Bldg2 does show up under ArcCat, but as a table, not a feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've searched the forums here and tried advice from somewhat-related problems, with no success. Thanks in advance for any assistance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 13:49:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352096#M20141</guid>
      <dc:creator>JohnCawley_III</dc:creator>
      <dc:date>2010-05-07T13:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352097#M20142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried specifying coordinate reference parameters (-x/-G/-P or -R)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't worked much with GEOMETRY on SQL-Server 2008, but the Oracle&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;metadata includes envelope, projection, and resolution data which allows&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for a better guess on coordref, before then passing the existing geometries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;through validation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your invalid entiity type could be due to coordinate snapping to a single&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;vertex (or a two-point line), or the table could just have non-polygon features &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which don't meet the "nil or polygon" entity flag mask.&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, 07 May 2010 14:11:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352097#M20142</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-05-07T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352098#M20143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I assume that the building shape is a closed polygon and not a polyline? Is it a single part or multi part polygon? If so try (just as a test) to register with the entity type as area only. Dont worry about n for nil and + for multi-part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l Bldg2,shape &lt;/SPAN&gt;&lt;STRONG&gt;-e a&lt;/STRONG&gt;&lt;SPAN&gt; -t GEOMETRY -C objectid,SDE %auth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 15:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352098#M20143</guid>
      <dc:creator>EricPaitz</dc:creator>
      <dc:date>2010-05-07T15:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352099#M20144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your replies!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried specifying the srid and "basic" coordinate precision (in case the sdelayer register command was trying to round nearby points to the same point):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; sdelayer -o register -l zBldg2,shape -e na+ -t GEOMETRY -C objectid,SDE %auth -R 54 -P basic&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This gave the same error "Invalid entity type (-29)", but on a minor note, it did not create a table with the same name afterward.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To keep things simple, I have only a single feature in the feature class, a closed single-part polygon -- the WKT, for example, is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;POLYGON ((-8899212.0936 4488955.4609000012, -8899222.9883 4488964.9522999972, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899254.6753 4488928.5802000016, -8899253.7593 4488927.7823000029, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899256.4052 4488924.7453000024, -8899268.3965 4488923.9197999984, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899271.4336 4488926.5656, -8899270.6356 4488927.4815, -8899307.0077 4488959.1684999987, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899316.4991 4488948.2736999989, -8899280.127 4488916.5868000016, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899279.3291 4488917.502700001, -8899276.292 4488914.8568999991, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899275.4665 4488902.8655000031, -8899266.4037 4488894.9699999988, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899254.4123 4488895.7955000028, -8899251.3752 4488893.1497000009, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899252.1732 4488892.2337, -8899215.8011 4488860.5468000025, -8899206.3097 4488871.4415000007, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899242.6818 4488903.1285, -8899243.4797 4488902.2126, -8899246.5168 4488904.8584000021, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899247.3423 4488916.8497999981, -8899244.6964 4488919.8867999986, -8899243.7805 4488919.0887999982, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -8899212.0936 4488955.4609000012))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My reasoning was that if I pulled this single shape from a good working feature class that ArcCat is already happy with (the Bldg FC that I copied the row from), it should be an easy, valid geometry to register.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried omitting&amp;nbsp; the nil and multipart portions from the entity type: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; sdelayer -o register -l Bldg2,shape -e a -t GEOMETRY -C objectid,SDE %auth &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This still gives the invalid entity type error, though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 16:36:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352099#M20144</guid>
      <dc:creator>JohnCawley_III</dc:creator>
      <dc:date>2010-05-07T16:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352100#M20145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ArcSDE 'C' API reports the same "Invalid shape type" error for that WKT.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't been able to parse that vertex stream without error.&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, 07 May 2010 16:47:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352100#M20145</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-05-07T16:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352101#M20146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, it's a simple, non-overlapping polygon (looks like the NW, NE and SE legs of an "x"). The coordinates cluster around&amp;nbsp; -8899000, 4488000, which I don't think should be invalid -- it displays okay in the MSSql Spatial Results tab. It has SRID 54, which sde.sde_spatial_references lists as Web Mercator:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And like I mentioned, ArcSDE seems to be happy enough with the identical shape in another FC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas what ArcSDE may not like about it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 16:55:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352101#M20146</guid>
      <dc:creator>JohnCawley_III</dc:creator>
      <dc:date>2010-05-07T16:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352102#M20147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, I goofed -- my metadata file contained "np" eflags, which generated the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The coordinate system (projection) doesn't matter, but the falsex/falsey/xyunits matter &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a great deal.&amp;nbsp; What values do they contain in SRID 54?&amp;nbsp; I used -10000000,0,10000 (with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HIGH precision).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Go ahead and leave your eflags at "na+", since that's not the issue.&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, 07 May 2010 17:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352102#M20147</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-05-07T17:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352103#M20148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From sde.sde_spatial_references:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; falsex = -20037700 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; falsey = -30241100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xyunits = 10000&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 17:53:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352103#M20148</guid>
      <dc:creator>JohnCawley_III</dc:creator>
      <dc:date>2010-05-07T17:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352104#M20149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, just tried sdelayer register with the -x arg and the values for srid 54:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l zBldg2,shape -e na+ -t GEOMETRY -C objectid,SDE %auth -x -20037700,-30241100,10000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but this still gives the invalid entity type error&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 17:58:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352104#M20149</guid>
      <dc:creator>JohnCawley_III</dc:creator>
      <dc:date>2010-05-07T17:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352105#M20150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try again with "-P HIGH"&amp;nbsp; -- your Y origin is too far away with BASIC precision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: You'll also need "-G&amp;nbsp; 102100" for&amp;nbsp; PE_PCS_WGS_1984_WEB_MERCATOR_AUXSPHERE&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 18:20:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352105#M20150</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-05-07T18:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352106#M20151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, I got slightly further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running "sdelayer -o describe %auth", I noticed that the Bldg table (that the single feature was copied from into Bldg2) has an Entities value of "nac3+". (c for CAD I understand, as this feature ultimately came from a CAD; 3 for 3-dimensional, I have no idea the source of.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I tried "nac3+" instead of "na+" in the register command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l Bldg2,shape -e nac3+ -t GEOMETRY -C objectid,SDE %auth&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This did successfully create a layer. However, from ArcCat, I am able to preview the Bldg feature class, but the new feature class Bldg2 just has a blank preview panel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So there still seems to be something wrong with the FC it registered, as it is un-preview-able (which in my experience leads to it having other problems further down the line) ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would the falsex/falsey/xyunits perhaps have something to do with it being un-preview-able?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 18:35:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352106#M20151</guid>
      <dc:creator>JohnCawley_III</dc:creator>
      <dc:date>2010-05-07T18:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352107#M20152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tried adding the -P and -G arguments:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l Bldg2,shape -e nac3+ -t GEOMETRY -C objectid,SDE %auth -P HIGH -G102100&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The table registered again, but is still un-preview-able.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 18:39:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352107#M20152</guid>
      <dc:creator>JohnCawley_III</dc:creator>
      <dc:date>2010-05-07T18:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352108#M20153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The "3" corrupted the layer definition, since your geometries are 2-D.&amp;nbsp; You should have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the "-x" flag on the command line, in addition to -P and -G.&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, 07 May 2010 18:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352108#M20153</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-05-07T18:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352109#M20154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for all your assistance. I tried -P, -G and -x, both with and without the "-e 3", and both with the -x args you used and with the values from srid 54, but all four combos had problems:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l zBldg2,shape -e nac3+ -t GEOMETRY -C objectid,SDE %auth -P HIGH -G102100 -x -10000000,0,10000 # created but unpreviewable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l zBldg2,shape -e nac+ -t GEOMETRY -C objectid,SDE %auth -P HIGH -G102100 -x -10000000,0,10000 # invalid entity type error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l zBldg2,shape -e nac3+ -t GEOMETRY -C objectid,SDE %auth -P HIGH -G102100 -x -20037700,-30241100,10000 # created but unpreviewable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l zBldg2,shape -e nac+ -t GEOMETRY -C objectid,SDE %auth -P HIGH -G102100 -x -20037700,-30241100,10000 # invalid entity type error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it looks like sdelayer thinks it needs the "3" entity type (even though I have no idea where it is determining that from the 2-dimensional MSSql Geometry type). Is there perhaps a way to strip the "c" and the "3" from the "sdelayer describe" attributes of the source FC (Bldg) prior to using MSSql to copy the single feature from that class to the new table Bldg2 that I'm trying to register?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or perhaps some other way to prevent the registered layer from being corrupted?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 19:03:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352109#M20154</guid>
      <dc:creator>JohnCawley_III</dc:creator>
      <dc:date>2010-05-07T19:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352110#M20155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The SDELayer register command is insisting that the entity argument include a "3" (eg "nac3") or it fails. When the "3" is included, it registers the MSSql table as a feature class, but the FC is corrupted (Symptoms: from ArcCat, the FC shows up blank; from ArcMap, it shows up blank. In ArcMap, if I open the attribute table, I can get an outline of the shape; but using the Info tool, and clicking on the shape, no information appears.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To see if I could get SDELayer to work without the "3" in the entity class (which we're assuming is the culprit here), I created a new SRID in sde.sde_spatial_references and verified that it has a zero for its falsez and falsem, and a 1 for its zunits and munits, and a zcluster_tol of 0.001 (which all the rest of my SRIDs have). I set the SRID of the GEOMETRY shape to the SRID I created (71). Still, SDELayer refuses to work unless the "3" is in the entity types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a reference that the "c" cannot be removed from the entity types (&lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=2&amp;amp;f=59&amp;amp;t=238988);"&gt;http://forums.esri.com/Thread.asp?c=2&amp;amp;f=59&amp;amp;t=238988);&lt;/A&gt;&lt;SPAN&gt; but is there a way to get SDELayer to register the FC without a "3"? Or might some other factor than the "3" be causing the corruption in the registered feature class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 May 2010 14:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352110#M20155</guid>
      <dc:creator>JohnCawley_III</dc:creator>
      <dc:date>2010-05-10T14:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352111#M20156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At this point, I think you'd be better off taking this issue to Tech Support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 May 2010 16:13:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352111#M20156</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-05-10T16:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352112#M20157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, V,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 May 2010 18:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352112#M20157</guid>
      <dc:creator>JohnCawley_III</dc:creator>
      <dc:date>2010-05-10T18:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: SDELayer fails in simple case</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352113#M20158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if you ever solved your problem but we have successfully registered a SQL spatial table with the SDELayer command using the following syntax:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l pcown.datest,shape -e a+ -C objectid,SDE -t geometry -R 111 -i xx -s xx -u xx - p xx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where the -R parameter is the SRID value that we know the feature class belongs to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In our case we generated the non registered SQL table from a feature class that was registered with a know SRID so that helped.&amp;nbsp; It worked however.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe in ArcMap/ArcSDE 10 there is a new feature to recognize SQL spatial tables without having to register them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 13:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-fails-in-simple-case/m-p/352113#M20158</guid>
      <dc:creator>DuaneAnderson1</dc:creator>
      <dc:date>2010-07-20T13:10:09Z</dc:date>
    </item>
  </channel>
</rss>

