<?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: Why did a polygon lose 76 sqft (Shape.Area) when exporting from Oracle ST_Geometery to File GDB? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1269788#M8354</link>
    <description>&lt;P&gt;Thanks for the excellent explanation, Shannon. And for confirming that the SQL Server documentation that I quoted applies to Oracle and the other Enterprise GDBs (though I imagine each DBMS may have some of its own particular details/idiosyncrasies regarding area and length calculations). I can stop scratching my head now......&amp;nbsp; Thanks again.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While we're on the topic of SHAPE.AREA, it be really nice to be able to specify the units that are displayed in these fields. As you saw above, I almost exclusively use TN State Plan HARN NAD83. The X/Y units are in feet so the SHAPE.AREA fields display square feet. Square feet is a easy to digest when you're at the building or lot level, but once you get up into dozens of acres, it's almost meaningless, like 4,535,588.22548 sq ft. I'd much rather see acres in feature classes with larger polygons. You mentioned attribute rules, but it sounds like you'd need to create a new field to store the calculate area? That could get inefficient on larger datasets. I also realize that Query Layers allow you to specify SQL that can handle this conversion, but then you can't edit the FC. It'd also be nice to have dynamic field that makes calculations beyond geometry (summing several columns of different races reported in census data). QGIS has 'virtual fields' that do just that.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2023 12:23:56 GMT</pubDate>
    <dc:creator>AZendel</dc:creator>
    <dc:date>2023-04-04T12:23:56Z</dc:date>
    <item>
      <title>Why did a polygon lose 76 sqft (Shape.Area) when exporting from Oracle ST_Geometery to File GDB?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1268950#M8340</link>
      <description>&lt;P&gt;I exported some simple polygons stored in the ST_Geometry format&amp;nbsp; from an Enterprise Oracle database to File GDB (FGDB) and the shape_area field for one polygon lost 76 sqft. That 'loss' is based on the Shape.Area field in Oracle and the SHAPE_Area field in the FGDB. This happens when I use the Copy Features tool in a geoprocessing model and using Data --&amp;gt; Export Features in Pro. I've looked at the feature class properties of both and they have the exact same:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Coordinate system: SRID 2915 (TN State Plane NAD83 HARN). The "Geographic Coordinate System" that the layer properties dialog box that Pro displays lists the same WKID: 4152&lt;/LI&gt;&lt;LI&gt;Spatial resolution:&amp;nbsp;0.000328083333333333 US Survey Feet&lt;/LI&gt;&lt;LI&gt;No Z value storage, no M Value storage&lt;/LI&gt;&lt;LI&gt;Simple Feature type&lt;/LI&gt;&lt;LI&gt;Vertical units (Foot_US) -- this is probably moot since neither store Z values&lt;/LI&gt;&lt;LI&gt;No Errors or Warnings are shown in the geoprocessing history for the copy features&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;More notes/questions&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Does the FGDB use also ST_Geometry? Or something slightly different? If the latter, I suppose this could account for the difference&lt;/LI&gt;&lt;LI&gt;I ran the Check Geometry tool on the FGDB feature class and none were reported. It is not possible to run the tool on Oracle feature classes because, as the tool document states, the geometry is reportedly validate when inserted&lt;/LI&gt;&lt;LI&gt;Does the shape_area or Shape.Area sometimes fail to update?&lt;/LI&gt;&lt;LI&gt;This discrepancy was only detected in 2 of 190 exported polygons (one discrepancy was ~76 sqft, the other 18 sqft)&lt;/LI&gt;&lt;LI&gt;This is fairly concerning because we often list polygon areas on documents that have legal ramifications&lt;/LI&gt;&lt;LI&gt;The calculate geometry tool doesn't match the SHAPE_Area field of the output FGDB feature class, which is shown below (calculated area with us survey feet as the input). The Shape.Area field of the Oracle feature is&amp;nbsp;651063.678772&lt;UL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AZendel_1-1679059943418.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65561i18254636F6AA9AF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AZendel_1-1679059943418.png" alt="AZendel_1-1679059943418.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks in advance for any insight you can provide.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 13:53:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1268950#M8340</guid>
      <dc:creator>AZendel</dc:creator>
      <dc:date>2023-03-17T13:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why did a polygon lose 76 sqft (Shape.Area) when exporting from Oracle ST_Geometery to File GDB?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1268968#M8341</link>
      <description>&lt;P&gt;For reference&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-oracle/stgeometry-oracle.htm" target="_blank"&gt;ST_Geometry in Oracle—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is there anything special about your geometries that are causing issues?&amp;nbsp; curves? etc?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 14:37:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1268968#M8341</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-03-17T14:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why did a polygon lose 76 sqft (Shape.Area) when exporting from Oracle ST_Geometery to File GDB?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1268974#M8342</link>
      <description>&lt;P&gt;Thanks for the quick response. I believe I ran across that page in the documentation, but it's hard to remember all that I read before I decided to post here. That page starts with "&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Esri&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;ST_Geometry spatial data type.....", which implies that ESRI created it. That makes me think that ST_Geometry is used in File GDB's, but I could not confirm that after extensive web searches .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Good suggestion on looking for curves in the source geometry. There are some (below). But shouldn't those transfer from Oracle to FGDB the same?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AZendel_0-1679064897087.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65568i4D90C2B2B400063D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AZendel_0-1679064897087.png" alt="AZendel_0-1679064897087.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 14:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1268974#M8342</guid>
      <dc:creator>AZendel</dc:creator>
      <dc:date>2023-03-17T14:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why did a polygon lose 76 sqft (Shape.Area) when exporting from Oracle ST_Geometery to File GDB?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1268994#M8344</link>
      <description>&lt;P&gt;After coming across&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-oracle/stgeometry-oracle.htm" target="_self"&gt;this post&lt;/A&gt;, I think the discrepancy comes down to how Oracle and ArcGIS are handling curves when calculating area. That post is for SQL Server, but I imagine that something similar is happening with Oracle.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 15:28:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1268994#M8344</guid>
      <dc:creator>AZendel</dc:creator>
      <dc:date>2023-03-17T15:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why did a polygon lose 76 sqft (Shape.Area) when exporting from Oracle ST_Geometery to File GDB?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1269082#M8349</link>
      <description>&lt;P&gt;If you are working with curve geometry features, I wouldn't recommend using ST_Area &amp;amp; ST_Length functions, which are used to display those values dynamically when you view attributes.&lt;/P&gt;&lt;P&gt;Features with curve geometry/circular arcs have two representations in enterprise geodatabases. The ST_Geometry shape stores a densified arc version of the geometry, and the true curve is stored in a blob format read by ArcGIS, but not by the DBMS. If you use the Measure tool in Pro you'll see the measurement based on the curve geometry. You can calculate your own area/length fields using the Calculate Geometry Attribute tool, and there are Arcade Geometry functions for area &amp;amp; length if you want to have these values automatically generated using Attribute Rules.&lt;/P&gt;&lt;P&gt;This applies to all spatial types in enterprise geodatabases including Oracle Spatial, SQL Server Geometry/Geography, PostGIS as well as ST_Geometry on Oracle &amp;amp; PostgreSQL.&lt;/P&gt;&lt;P&gt;We understand that this is confusing and not a great user experience. We are investigating ways to improve this behavior so that it is easier to get to the consistent measurement value.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 18:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1269082#M8349</guid>
      <dc:creator>ShannonShields</dc:creator>
      <dc:date>2023-03-17T18:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why did a polygon lose 76 sqft (Shape.Area) when exporting from Oracle ST_Geometery to File GDB?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1269788#M8354</link>
      <description>&lt;P&gt;Thanks for the excellent explanation, Shannon. And for confirming that the SQL Server documentation that I quoted applies to Oracle and the other Enterprise GDBs (though I imagine each DBMS may have some of its own particular details/idiosyncrasies regarding area and length calculations). I can stop scratching my head now......&amp;nbsp; Thanks again.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While we're on the topic of SHAPE.AREA, it be really nice to be able to specify the units that are displayed in these fields. As you saw above, I almost exclusively use TN State Plan HARN NAD83. The X/Y units are in feet so the SHAPE.AREA fields display square feet. Square feet is a easy to digest when you're at the building or lot level, but once you get up into dozens of acres, it's almost meaningless, like 4,535,588.22548 sq ft. I'd much rather see acres in feature classes with larger polygons. You mentioned attribute rules, but it sounds like you'd need to create a new field to store the calculate area? That could get inefficient on larger datasets. I also realize that Query Layers allow you to specify SQL that can handle this conversion, but then you can't edit the FC. It'd also be nice to have dynamic field that makes calculations beyond geometry (summing several columns of different races reported in census data). QGIS has 'virtual fields' that do just that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:23:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1269788#M8354</guid>
      <dc:creator>AZendel</dc:creator>
      <dc:date>2023-04-04T12:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why did a polygon lose 76 sqft (Shape.Area) when exporting from Oracle ST_Geometery to File GDB?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1269794#M8355</link>
      <description>&lt;P&gt;Regarding &lt;EM&gt;“Features with curve geometry/circular arcs have two representations in enterprise geodatabases. The ST_Geometry shape stores a densified arc version of the geometry, and the true curve is stored in a &lt;STRONG&gt;blob&lt;/STRONG&gt; format read by ArcGIS, but not by the DBMS.”&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think some folks call that blob the “CAD blob”.&lt;BR /&gt;&lt;A href="https://gis.stackexchange.com/search?q=%5Bst-geometry%5D+cad" target="_blank" rel="noopener"&gt;https://gis.stackexchange.com/search?q=%5Bst-geometry%5D+cad&lt;/A&gt;&lt;BR /&gt;Other things to search for in GIS Stack Exchange: [st-geometry] tag and one of these words: blob, densify, densified, arc, curve, vertices, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Related: &lt;A href="https://community.esri.com/t5/data-management-ideas/documentation-about-st-geometry-curves-cad-blob/idi-p/1269799" target="_self"&gt;Idea - Documentation about ST_Geometry curves/CAD BLOB&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 13:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/why-did-a-polygon-lose-76-sqft-shape-area-when/m-p/1269794#M8355</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-21T13:21:31Z</dc:date>
    </item>
  </channel>
</rss>

