<?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 Tabulate a drawn polygon in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tabulate-a-drawn-polygon/m-p/735655#M68154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know if I should ask this here or in the Python forum so please move if this should be there instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to run Zonal Statistics as Table and/or Tabulate Area using a "drawn" polygon with the JavaScript drawing tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to send the geometries to these tools to use with a shape file (non changing).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to convert the geometries to send it to the tool or is there another way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2012 19:49:48 GMT</pubDate>
    <dc:creator>ChadFanguy</dc:creator>
    <dc:date>2012-11-29T19:49:48Z</dc:date>
    <item>
      <title>Tabulate a drawn polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tabulate-a-drawn-polygon/m-p/735655#M68154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know if I should ask this here or in the Python forum so please move if this should be there instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to run Zonal Statistics as Table and/or Tabulate Area using a "drawn" polygon with the JavaScript drawing tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to send the geometries to these tools to use with a shape file (non changing).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to convert the geometries to send it to the tool or is there another way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 19:49:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tabulate-a-drawn-polygon/m-p/735655#M68154</guid>
      <dc:creator>ChadFanguy</dc:creator>
      <dc:date>2012-11-29T19:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Tabulate a drawn polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tabulate-a-drawn-polygon/m-p/735656#M68155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;for calculating "&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z000000w8000000"&gt;Zonal Statistics as Table&lt;/A&gt;&lt;SPAN&gt;" are you saying that you want the sketched polygon geometries to be appended to a static shapefile and used together as the input feature zone data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;its pretty typical to run a geoprocessing service from a client web application with an input featureset of sketched graphics, but if you need to do the above i think you're on the right track with using python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;your script (published as a geoprocessing service) would have to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. accept the input featureset and append it to your static shapefile.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. make sure the zones field for sketched features is populated appropriately&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. call the Zonal Statistics as Table tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is creating a link to the output table for client download what you had in mind?&amp;nbsp; because i'm not sure how you could handle the information directly in the JavaScript application.&amp;nbsp; Also, you'll have to make sure you have the right extension licensing for ArcGIS Server to publish a GP service with a Spatial Analyst tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 15:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tabulate-a-drawn-polygon/m-p/735656#M68155</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-11-30T15:22:46Z</dc:date>
    </item>
  </channel>
</rss>

