<?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 Need a Widget for Zonal Statistics as a Table for WebApp in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/need-a-widget-for-zonal-statistics-as-a-table-for/m-p/1021416#M20253</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am old school GIS and spatial analyst.&amp;nbsp; With the move to providing tools via WebMaps giving me headaches as the department (I work for government) wants to create tools for our users.&amp;nbsp; Thus,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a portal with an image server that I have two image services (ModelResult1 and ModelResult2).&amp;nbsp; I then have a boundary file (BND_py).&amp;nbsp; &amp;nbsp;Users would like to select a polygon (ultimately draw there own polygon) and get the statistics for that polygon - I use Zonal Statistics as Table with statistic type=ALL.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;This is easy to do in ArcGIS Pro or ArcMAP but my users don't have these product and want to just use a map that I put on the web for them.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought that I could find a widget for zonalstats as a table but have had no luck.&amp;nbsp; &amp;nbsp;I did review the calculate population sample in a hand drawn polygon (&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/gp_zonalstats.html" target="_blank"&gt;Geoprocessing - Population zonal statistics | ArcGIS API for JavaScript 3.35&lt;/A&gt;)&amp;nbsp; &amp;nbsp;This is limited but I believe could be adapted maybe?&lt;/P&gt;&lt;P&gt;Problems: I am not a javascript coder nor do I work with REST&amp;nbsp; often.&amp;nbsp; &amp;nbsp;Obvisously, I was hoping there was a custom widget that could do this.&amp;nbsp; &amp;nbsp;If not, does anyone have one that I could adapt to my problem.&amp;nbsp; &amp;nbsp;Lastly, is there better help (how-to) to get the javascipt API code into a widget for WebApp Builder.&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sharolyn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2021 08:29:51 GMT</pubDate>
    <dc:creator>SharolynAnderson1</dc:creator>
    <dc:date>2021-01-29T08:29:51Z</dc:date>
    <item>
      <title>Need a Widget for Zonal Statistics as a Table for WebApp</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/need-a-widget-for-zonal-statistics-as-a-table-for/m-p/1021416#M20253</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am old school GIS and spatial analyst.&amp;nbsp; With the move to providing tools via WebMaps giving me headaches as the department (I work for government) wants to create tools for our users.&amp;nbsp; Thus,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a portal with an image server that I have two image services (ModelResult1 and ModelResult2).&amp;nbsp; I then have a boundary file (BND_py).&amp;nbsp; &amp;nbsp;Users would like to select a polygon (ultimately draw there own polygon) and get the statistics for that polygon - I use Zonal Statistics as Table with statistic type=ALL.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;This is easy to do in ArcGIS Pro or ArcMAP but my users don't have these product and want to just use a map that I put on the web for them.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought that I could find a widget for zonalstats as a table but have had no luck.&amp;nbsp; &amp;nbsp;I did review the calculate population sample in a hand drawn polygon (&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/gp_zonalstats.html" target="_blank"&gt;Geoprocessing - Population zonal statistics | ArcGIS API for JavaScript 3.35&lt;/A&gt;)&amp;nbsp; &amp;nbsp;This is limited but I believe could be adapted maybe?&lt;/P&gt;&lt;P&gt;Problems: I am not a javascript coder nor do I work with REST&amp;nbsp; often.&amp;nbsp; &amp;nbsp;Obvisously, I was hoping there was a custom widget that could do this.&amp;nbsp; &amp;nbsp;If not, does anyone have one that I could adapt to my problem.&amp;nbsp; &amp;nbsp;Lastly, is there better help (how-to) to get the javascipt API code into a widget for WebApp Builder.&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sharolyn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 08:29:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/need-a-widget-for-zonal-statistics-as-a-table-for/m-p/1021416#M20253</guid>
      <dc:creator>SharolynAnderson1</dc:creator>
      <dc:date>2021-01-29T08:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need a Widget for Zonal Statistics as a Table for WebApp</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/need-a-widget-for-zonal-statistics-as-a-table-for/m-p/1021485#M20255</link>
      <description>&lt;P&gt;Another way to accomplish this without becoming a JS developer is to &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/share-analysis/quick-tour-of-authoring-and-sharing-geoprocessing-services.htm" target="_self"&gt;publish the geoprocessing tool as a service&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Once your tool is successfully published, you can add it to WAB via the &lt;STRONG&gt;Geoprocessing&lt;/STRONG&gt; widget by searching your portal for the item, or by entering the URL to the GP service.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jCarlson_0-1611927989357.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4883i3D2C4A134E3BE5A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jCarlson_0-1611927989357.png" alt="jCarlson_0-1611927989357.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This method &lt;EM&gt;does &lt;/EM&gt;take some careful configuring and testing, but the end result is a widget that runs the same GP tool you're used to from the desktop software, and you don't have to touch any JS to do it.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 13:48:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/need-a-widget-for-zonal-statistics-as-a-table-for/m-p/1021485#M20255</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-01-29T13:48:03Z</dc:date>
    </item>
  </channel>
</rss>

