<?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 -o register on Oracle Spatial View and coordinate systems in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-register-on-oracle-spatial-view-and/m-p/653900#M37024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't use Catalog to change an ArcSDE coordsys (can't use an ArcSDE command-line or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;API function to do it either; once set, it's immutable).&amp;nbsp; The Oracle WGS84 string is different &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;than the projection engine WGS84 string, and ArcSDE overrides the PE string when it registers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;an Orace layer with an SRID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your only chance to have ArcSDE use the PE WGS84 is to initially define the Oracle table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;via SQL without an SRID, register the layer with ArcSDE (with the -G or -R flag), then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alter the USER_SDO_GEOM_METADATA to include the SRID.&amp;nbsp; If this doesn't work, then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can go the other way, and define all your ArcGIS layers to use the -R of your &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDO_GEOMETRY layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Nov 2010 10:03:46 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2010-11-08T10:03:46Z</dc:date>
    <item>
      <title>sdelayer -o register on Oracle Spatial View and coordinate systems</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-register-on-oracle-spatial-view-and/m-p/653899#M37023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So.... after many attemps i have tried making sdelayer -o register give a proper coordinate system for my Oracle Spatial views.&amp;nbsp; The SDO_GEOMETRY data in my Oracle Spatial is EPSG:4326 coordinate system, this should equate to ArcCatalog's GCS_WGS_1984 coordinate system in Geographic Coordinate Systems/World/WGS 1984.prj.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attempted everything possible but the numbers never match up to an ArcCatalog created layer.&amp;nbsp; I would just change coordinate system through ArcCatalog but my requirements state I need to 100% script the registration of these views on our ArcSDE Linux server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my most recent iteration.&amp;nbsp; The .prj file is copy+paste from the ArcGIS Desktop machine but after registering it I get a slightly different coordinate system which ArcMap complains is incompatible with anything GCS_WGS_1984.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l points,shape -e np+ -t SDO_GEOMETRY -u &amp;lt;uname&amp;gt; -p &amp;lt;pass&amp;gt; -C OBJECTID,USER -G file=wgs1984.prj -x -400,-400,1000000000,0.000000008983153 -E -180,-90,180,90&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Nov 2010 15:12:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-o-register-on-oracle-spatial-view-and/m-p/653899#M37023</guid>
      <dc:creator>CurtisRuck</dc:creator>
      <dc:date>2010-11-07T15:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: sdelayer -o register on Oracle Spatial View and coordinate systems</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-register-on-oracle-spatial-view-and/m-p/653900#M37024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't use Catalog to change an ArcSDE coordsys (can't use an ArcSDE command-line or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;API function to do it either; once set, it's immutable).&amp;nbsp; The Oracle WGS84 string is different &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;than the projection engine WGS84 string, and ArcSDE overrides the PE string when it registers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;an Orace layer with an SRID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your only chance to have ArcSDE use the PE WGS84 is to initially define the Oracle table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;via SQL without an SRID, register the layer with ArcSDE (with the -G or -R flag), then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alter the USER_SDO_GEOM_METADATA to include the SRID.&amp;nbsp; If this doesn't work, then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can go the other way, and define all your ArcGIS layers to use the -R of your &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDO_GEOMETRY layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 10:03:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-o-register-on-oracle-spatial-view-and/m-p/653900#M37024</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-11-08T10:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: sdelayer -o register on Oracle Spatial View and coordinate systems</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-register-on-oracle-spatial-view-and/m-p/653901#M37025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Argh....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its things like this that make me despise working with ArcSDE and ESRI products.&amp;nbsp; How is there two different WGS 84s?&amp;nbsp; SRID 4326 (and Oracle's coordsys) are geospatial standard WGS 84 definitions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EPSG:4326 .prj definition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS WGS 84 .prj definition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These are identical definitions.&amp;nbsp; How does ArcSDE get confused?&amp;nbsp; How does Oracle Spatial screw up 4326?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 15:55:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-o-register-on-oracle-spatial-view-and/m-p/653901#M37025</guid>
      <dc:creator>CurtisRuck</dc:creator>
      <dc:date>2010-11-11T15:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: sdelayer -o register on Oracle Spatial View and coordinate systems</title>
      <link>https://community.esri.com/t5/data-management-questions/sdelayer-o-register-on-oracle-spatial-view-and/m-p/653902#M37026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Argh....&lt;BR /&gt;&lt;BR /&gt;Its things like this that make me despise working with ArcSDE and ESRI products.&amp;nbsp; How is there two different WGS 84s?&amp;nbsp; SRID 4326 (and Oracle's coordsys) are geospatial standard WGS 84 definitions.&lt;BR /&gt;&lt;BR /&gt;EPSG:4326 .prj definition:&lt;BR /&gt;GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]&lt;BR /&gt;&lt;BR /&gt;ArcGIS WGS 84 .prj definition:&lt;BR /&gt;GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]&lt;BR /&gt;&lt;BR /&gt;These are identical definitions.&amp;nbsp; How does ArcSDE get confused?&amp;nbsp; How does Oracle Spatial screw up 4326?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's Oracle's 4326 from 11g:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GEOGCS [ "WGS 84", DATUM ["World Geodetic System 1984 (EPSG ID 6326)", SPHEROID ["WGS 84 (EPSG ID 7030)", 6378137, 298.257223563]], PRIMEM [ "Greenwich", 0.000000 ], UNIT ["Decimal Degree", 0.01745329251994328]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's ours from ArcGIS 10: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984", 6378137.0, 298.257223563]],PRIMEM["Greenwich", 0.0],UNIT["Degree", 0.0174532925199433],AUTHORITY["EPSG",4326]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've started including an AUTHORITY tag for the top level object. This would be one of the easier entries to try to "make equal", but it's complicated in code to do it reliably without just taking the SRIDs at face value. The values are all 'equal', but does that really mean that the WKT versions (if you didn't have the SRIDs) represent the same coordinate reference system? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Melita&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 20:50:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sdelayer-o-register-on-oracle-spatial-view-and/m-p/653902#M37026</guid>
      <dc:creator>MelitaKennedy</dc:creator>
      <dc:date>2010-11-11T20:50:44Z</dc:date>
    </item>
  </channel>
</rss>

