<?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: Sde command to create feature class and  import coordinate system in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252446#M14385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't apply a coordinate reference after the fact when using ArcSDE command-line utilities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same is not true for spatial index parameters -- you can change them at any time (see the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;admin doc for 'sdelayer -o alter -g ...' and 'sdelayer -o {load_only_io | normal_io}')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a file in SDEeXport format, then you can simply use the '-o create' option, which will&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;restore all aspects of the layer (except DBTUNE keyword, which must be specified or it will default&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to DEFAULTS).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even if you use command-line tools to load tables, they still won't register with the geodatabase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(and be available for featuredatasets, et.. al.), but they will be available as simple featureclasses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 16:37:35 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2012-01-24T16:37:35Z</dc:date>
    <item>
      <title>Sde command to create feature class and  import coordinate system</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252443#M14382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can someone please provide a sde command example to create feature class and apply coordinate system? thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 14:12:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252443#M14382</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-01-24T14:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sde command to create feature class and  import coordinate system</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252444#M14383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently, there is no command to create a feature class using the SDE commands.&amp;nbsp; You can find a reference to all SDE commands in the admincmdref.htm file located at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files\ArcGIS\ArcSDE\Documentation\Admin_Cmd_Ref&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are you trying to accomplish?&amp;nbsp; There may be a solution using python, or some other procedure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 15:57:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252444#M14383</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-01-24T15:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sde command to create feature class and  import coordinate system</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252445#M14384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have always used arcobjects with arceditor license to&amp;nbsp; create feature class and apply desired spatial reference. But in my current scenario the user has arcengine license and sde binaries. The only way I can create feature class is by using sde commands. I was able to create feature class using "sdetable -o create" "sdelayer -o add " commands but I was unable to change coordinate system. Then I tried "sdeimport -o create" command to import the feature class from flat file but I was unable to change the coordinate system using "sdelayer -o alter" command. As a workaround&amp;nbsp; I deleted&amp;nbsp; and unregistered the layer from imported featureclass and reregistered it with the new srid to change the spatial reference which worked. But now the feature class does not have spatial index.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 16:12:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252445#M14384</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-01-24T16:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sde command to create feature class and  import coordinate system</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252446#M14385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't apply a coordinate reference after the fact when using ArcSDE command-line utilities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same is not true for spatial index parameters -- you can change them at any time (see the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;admin doc for 'sdelayer -o alter -g ...' and 'sdelayer -o {load_only_io | normal_io}')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a file in SDEeXport format, then you can simply use the '-o create' option, which will&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;restore all aspects of the layer (except DBTUNE keyword, which must be specified or it will default&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to DEFAULTS).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even if you use command-line tools to load tables, they still won't register with the geodatabase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(and be available for featuredatasets, et.. al.), but they will be available as simple featureclasses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 16:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252446#M14385</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-01-24T16:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sde command to create feature class and  import coordinate system</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252447#M14386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to get this to work using the 'sdetable -o create', 'sdelayer -o add', and 'sdelayer -o alter'.&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;sdetable -o create -t parcels -d "PIN string(20)" -D vector -u vector&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add a spatial column to the table including coordinate system:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;sdelayer -o add -l parcels,shape -e a -G 32614 -D vector -u vector&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alter the coordinate system:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;sdelayer -o alter -l parcels,shape -G 32618 -D vector -u vector&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to alter the spatial index using the 'sdelayer -o alter' command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;sdelayer -o alter -l parcels,shape -g GRID,300,1000,5000 -D vector -u vector&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently using ArcSDE 10 SP3 and SQL Server 2008.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 16:45:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252447#M14386</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-01-24T16:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sde command to create feature class and  import coordinate system</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252448#M14387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;JSkinn3 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I could change the coordinate system using "sdelayer -o add" with SRID option but I couldnt insert any features to the feature class. let me rerun insert program and will post the error details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Appreciate your help!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 16:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252448#M14387</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-01-24T16:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sde command to create feature class and  import coordinate system</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252449#M14388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm unable to reproduce the error. But it seems to be working now. Anyway thanks for your time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 17:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252449#M14388</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-01-24T17:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sde command to create feature class and  import coordinate system</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252450#M14389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I noticed that the featureclass is not registered with geodatabase. Please let me know if you happen to know any sde commands for registration. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 17:37:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252450#M14389</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-01-24T17:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sde command to create feature class and  import coordinate system</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252451#M14390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I encountered "The coordinates or measures are out of bounds." error while setting geometry to the shape field of the feature class using arcobjects.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 18:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-command-to-create-feature-class-and-import/m-p/252451#M14390</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-01-24T18:21:14Z</dc:date>
    </item>
  </channel>
</rss>

