<?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: 3D volume evaluation with WebScene widget  in 3D Questions</title>
    <link>https://community.esri.com/t5/3d-questions/3d-volume-evaluation-with-webscene-widget/m-p/421045#M2501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Auerlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we don't have out of the box tools for calculating 3D volumes. I guess you could build your own, but it probably wouldn't be extremely accurate. I didn't really understand your workflow: what do you mean by selection of surface?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine that if you wanted to calculate the volume between two surfaces, you would have to draw a polygon or somehow select the area for which you want to calculate the volume. Then you could split the polygon in a grid and for each point in the grid I would get the elevation in each of the surfaces and then calculate the volume as grid cell area * height difference. Summing up the volumes for each of the cuboids should you give you an approximation of the whole volume (not very accurate though).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for making a widget out of it, check out this tutorial:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-custom-widget/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/widgets-custom-widget/index.html"&gt;Create a custom widget | ArcGIS API for JavaScript 4.6&lt;/A&gt;&amp;nbsp;or have a look at this video from devsummit 2017:&amp;nbsp;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=XbOScqhW0o8&amp;amp;t=3162s" title="https://www.youtube.com/watch?v=XbOScqhW0o8&amp;amp;t=3162s"&gt;Building Your own Widget with ArcGIS API for JavaScript - YouTube&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raluca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2018 12:49:11 GMT</pubDate>
    <dc:creator>RalucaNicola1</dc:creator>
    <dc:date>2018-04-18T12:49:11Z</dc:date>
    <item>
      <title>3D volume evaluation with WebScene widget</title>
      <link>https://community.esri.com/t5/3d-questions/3d-volume-evaluation-with-webscene-widget/m-p/421044#M2500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are looking for a tool to calculate 3D volumes (selection of surface and then calculation of the elevation differences between 2 drone datasets).&lt;/P&gt;&lt;P&gt;Are there any already available tools or widgets for WebScene ?&lt;/P&gt;&lt;P&gt;If not, what would you recommend ? Do you have a documentation explaining how widgets can be developped ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help,&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Aureline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 06:52:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/3d-volume-evaluation-with-webscene-widget/m-p/421044#M2500</guid>
      <dc:creator>Environnement_1Lausanne</dc:creator>
      <dc:date>2018-04-11T06:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: 3D volume evaluation with WebScene widget</title>
      <link>https://community.esri.com/t5/3d-questions/3d-volume-evaluation-with-webscene-widget/m-p/421045#M2501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Auerlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we don't have out of the box tools for calculating 3D volumes. I guess you could build your own, but it probably wouldn't be extremely accurate. I didn't really understand your workflow: what do you mean by selection of surface?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine that if you wanted to calculate the volume between two surfaces, you would have to draw a polygon or somehow select the area for which you want to calculate the volume. Then you could split the polygon in a grid and for each point in the grid I would get the elevation in each of the surfaces and then calculate the volume as grid cell area * height difference. Summing up the volumes for each of the cuboids should you give you an approximation of the whole volume (not very accurate though).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for making a widget out of it, check out this tutorial:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-custom-widget/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/widgets-custom-widget/index.html"&gt;Create a custom widget | ArcGIS API for JavaScript 4.6&lt;/A&gt;&amp;nbsp;or have a look at this video from devsummit 2017:&amp;nbsp;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=XbOScqhW0o8&amp;amp;t=3162s" title="https://www.youtube.com/watch?v=XbOScqhW0o8&amp;amp;t=3162s"&gt;Building Your own Widget with ArcGIS API for JavaScript - YouTube&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raluca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 12:49:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/3d-volume-evaluation-with-webscene-widget/m-p/421045#M2501</guid>
      <dc:creator>RalucaNicola1</dc:creator>
      <dc:date>2018-04-18T12:49:11Z</dc:date>
    </item>
  </channel>
</rss>

