<?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: Calculating AREA and LENGTH Fields in SDO in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/calculating-area-and-length-fields-in-sdo/m-p/39417#M2201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also prefer ST_GEOMETRY but if you must use SDO_Geometry you could write a trigger that fires on insert or update and populate the fields.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may want to look at these Oracle functions in the documentation: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDO_GEOM.SDO_AREA &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDO_GEOM.SDO_LENGTH &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/sdo_objgeom.htm#insertedID0"&gt;http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/sdo_objgeom.htm#insertedID0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also remember that if your data is versioned you have to write the trigger on the the ADDS table too or have some code that covers both the ADDS table and business table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are loading data in Oracle and are not editing it you could just run an update statement once to populate the columns.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ovidio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2011 19:54:49 GMT</pubDate>
    <dc:creator>OvidioRivero</dc:creator>
    <dc:date>2011-04-04T19:54:49Z</dc:date>
    <item>
      <title>Calculating AREA and LENGTH Fields in SDO</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-area-and-length-fields-in-sdo/m-p/39414#M2198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have my users setup with editable access using File GeoDatabases.&amp;nbsp; When they are finished I pull the data into Oracle which is setup in SDO Geometry in order to be open for our third parties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that these reserved fields with there auto calculations are lost :(.&amp;nbsp; Is there a way I can get the values in?&amp;nbsp; Perhaps by creating a couple of new fields in the FGDB which will auto calculate also and I can then pull into Oracle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 15:45:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-area-and-length-fields-in-sdo/m-p/39414#M2198</guid>
      <dc:creator>CMcDonald</dc:creator>
      <dc:date>2011-03-25T15:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating AREA and LENGTH Fields in SDO</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-area-and-length-fields-in-sdo/m-p/39415#M2199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would recommend using a different storage type, such as ST_GEOMETRY, if you are not querying the data outside of ArcGIS or if no other application is dependent on this data type.&amp;nbsp; Or you can query the Area and Length through SQL*PLUS:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=27329"&gt;http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=27329&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2011 15:30:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-area-and-length-fields-in-sdo/m-p/39415#M2199</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2011-03-30T15:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating AREA and LENGTH Fields in SDO</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-area-and-length-fields-in-sdo/m-p/39416#M2200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately we have to store our data in SDO Geometry as we have a few third party apps that read our Oracle data directly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 07:03:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-area-and-length-fields-in-sdo/m-p/39416#M2200</guid>
      <dc:creator>CMcDonald</dc:creator>
      <dc:date>2011-03-31T07:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating AREA and LENGTH Fields in SDO</title>
      <link>https://community.esri.com/t5/data-management-questions/calculating-area-and-length-fields-in-sdo/m-p/39417#M2201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also prefer ST_GEOMETRY but if you must use SDO_Geometry you could write a trigger that fires on insert or update and populate the fields.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may want to look at these Oracle functions in the documentation: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDO_GEOM.SDO_AREA &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDO_GEOM.SDO_LENGTH &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/sdo_objgeom.htm#insertedID0"&gt;http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/sdo_objgeom.htm#insertedID0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also remember that if your data is versioned you have to write the trigger on the the ADDS table too or have some code that covers both the ADDS table and business table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are loading data in Oracle and are not editing it you could just run an update statement once to populate the columns.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ovidio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 19:54:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculating-area-and-length-fields-in-sdo/m-p/39417#M2201</guid>
      <dc:creator>OvidioRivero</dc:creator>
      <dc:date>2011-04-04T19:54:49Z</dc:date>
    </item>
  </channel>
</rss>

