<?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: Calculate the area of intersection between two features in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826106#M4015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't say what sort of db you are using here. In sde the geometry function is ST_Intersect (I think).&lt;/P&gt;&lt;P&gt;This can return a query result, you would have to insert it into another feature, then calculate the area of that piece if geometry, as Wes says.&lt;/P&gt;&lt;P&gt;Otherwsie just use the Intersect tool, which creates that other feature as part of its output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2016 14:25:05 GMT</pubDate>
    <dc:creator>NeilAyres</dc:creator>
    <dc:date>2016-02-12T14:25:05Z</dc:date>
    <item>
      <title>Calculate the area of intersection between two features</title>
      <link>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826104#M4013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to derive the area of intersection resulted by the intersection of two features after performing "SHAPE.StIntersects()"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 11:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826104#M4013</guid>
      <dc:creator>HaniDraidi</dc:creator>
      <dc:date>2016-02-12T11:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the area of intersection between two features</title>
      <link>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826105#M4014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you perform an &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/intersect.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/intersect.htm"&gt;Intersect—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp; on two polygon feature classes and store the results in a geodatabase the area will be calculated for you. However you can also use the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/add-geometry-attributes.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/add-geometry-attributes.htm"&gt;Add Geometry Attributes—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp; to calculate the areas or calculate geometry on a double field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 13:23:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826105#M4014</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-02-12T13:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the area of intersection between two features</title>
      <link>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826106#M4015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't say what sort of db you are using here. In sde the geometry function is ST_Intersect (I think).&lt;/P&gt;&lt;P&gt;This can return a query result, you would have to insert it into another feature, then calculate the area of that piece if geometry, as Wes says.&lt;/P&gt;&lt;P&gt;Otherwsie just use the Intersect tool, which creates that other feature as part of its output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 14:25:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826106#M4015</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2016-02-12T14:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the area of intersection between two features</title>
      <link>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826107#M4016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MIcrosoft documentation or forums might be a better place to research the proper use of Microsoft SQL Server native functions.&amp;nbsp; The basic process is the same as with the Esri-written ST_Intersects and ST_Area functions used in non-Microsoft databases, but the SQL-Server syntax has it's own quirks (including case sensitivity), so it's best to get your information from the capability provider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 15:27:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826107#M4016</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2016-02-12T15:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the area of intersection between two features</title>
      <link>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826108#M4017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears you are using SQL Server native spatial types.&amp;nbsp; That said, it is best to be explicit and not make people guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, &lt;A href="https://msdn.microsoft.com/en-us/library/bb933899.aspx" rel="nofollow noopener noreferrer" target="_blank"&gt;STIntersects &lt;/A&gt;isn't the method you need.&amp;nbsp; It is a check of intersection and returns a SqlBoolean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an example using SQL Server native spatial types to retrieve the intersecting area of 2 polygons:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Declare @g1 geometry;
Declare @g2 geometry;

SET @g1 = 'POLYGON((0 0, 10 0, 10 10, 0 10, 0 0))'
SET @g2 = 'POLYGON((5 5, 15 5, 15 15, 5 15, 5 5))'

SELECT @g1.STIntersection(@g2).STArea()&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:56:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826108#M4017</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-12T09:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the area of intersection between two features</title>
      <link>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826109#M4018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Microsoft SQL Server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 16:37:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826109#M4018</guid>
      <dc:creator>HaniDraidi</dc:creator>
      <dc:date>2016-02-12T16:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the area of intersection between two features</title>
      <link>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826110#M4019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats exactly what I'm looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks Joshua!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 16:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/calculate-the-area-of-intersection-between-two/m-p/826110#M4019</guid>
      <dc:creator>HaniDraidi</dc:creator>
      <dc:date>2016-02-12T16:46:20Z</dc:date>
    </item>
  </channel>
</rss>

