<?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: How exactly does Sample (Spatial analysis tools) work in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-exactly-does-sample-spatial-analysis-tools/m-p/1641033#M98087</link>
    <description>&lt;P&gt;Are you not getting multiple locations for your polygon input featureclass?&lt;/P&gt;&lt;P&gt;Run a quick test with your data.&lt;/P&gt;&lt;P&gt;Select one polygon. export it to its own featureclass.&amp;nbsp; Compare to your other run.&lt;/P&gt;&lt;P&gt;Also, check the help again&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/sample.htm" target="_blank"&gt;Sample (Spatial Analyst)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;way down&lt;/P&gt;&lt;P&gt;If the Generate Feature Class parameter is checked (generate_feature_class = "FEATURE_CLASS" in Python), the output is a point feature class with the sampled values in its attribute table......&lt;/P&gt;&lt;P&gt;Raster—Points will be created using the location of the cell center.&lt;BR /&gt;Point—A point will be created at each of the point locations.&lt;BR /&gt;Polyline or polygon—&lt;STRONG&gt;A point will be created at each polygon or polyline centroid.&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Aug 2025 19:02:39 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2025-08-11T19:02:39Z</dc:date>
    <item>
      <title>How exactly does Sample (Spatial analysis tools) work</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-exactly-does-sample-spatial-analysis-tools/m-p/1640956#M98075</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Sorry if this is a silly question but I am having trouble digesting the ArcGIS Pro website. Do you all know exactly how the Sample tool works, I'm having trouble and cant understand. Does it take the value of the center cell within a polygon, or is it taking the mean of all the cells within the polygon? If anyone else has experience with it and can explain what is going on that would be super helpful!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 16:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-exactly-does-sample-spatial-analysis-tools/m-p/1640956#M98075</guid>
      <dc:creator>Ben4</dc:creator>
      <dc:date>2025-08-11T16:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: How exactly does Sample (Spatial analysis tools) work</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-exactly-does-sample-spatial-analysis-tools/m-p/1640964#M98077</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/sample.htm" target="_blank"&gt;Sample (Spatial Analyst)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/h-how-sample-works.htm" target="_blank"&gt;How Sample works—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Locations are defined by the input type as described in the 4th bullet point.&lt;/P&gt;&lt;P&gt;Perhaps you could clarify whether you are using a raster, points or polyline/polygon as inputs.&lt;/P&gt;&lt;P&gt;The latter has a qualifier.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The mean value of all cells that intersect each polyline or polygon will be calculated if the input is a two-dimensional raster or multiple rasters. Additional statistic types can be specified if the input is a multidimensional raster and is processed as multidimensional.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;the second link explains subtlies for multidimensional rasters etc.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 17:10:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-exactly-does-sample-spatial-analysis-tools/m-p/1640964#M98077</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-08-11T17:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: How exactly does Sample (Spatial analysis tools) work</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-exactly-does-sample-spatial-analysis-tools/m-p/1640973#M98078</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;I am using a polygon, as my input to sample a raster. Does this mean that sample is taking a mean of all cells intersecting and within the polygon? Is the value that Sample returns a Mean of all of the means of all the cells or is it a mean of all the cells?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 17:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-exactly-does-sample-spatial-analysis-tools/m-p/1640973#M98078</guid>
      <dc:creator>Ben4</dc:creator>
      <dc:date>2025-08-11T17:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How exactly does Sample (Spatial analysis tools) work</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-exactly-does-sample-spatial-analysis-tools/m-p/1641033#M98087</link>
      <description>&lt;P&gt;Are you not getting multiple locations for your polygon input featureclass?&lt;/P&gt;&lt;P&gt;Run a quick test with your data.&lt;/P&gt;&lt;P&gt;Select one polygon. export it to its own featureclass.&amp;nbsp; Compare to your other run.&lt;/P&gt;&lt;P&gt;Also, check the help again&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/sample.htm" target="_blank"&gt;Sample (Spatial Analyst)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;way down&lt;/P&gt;&lt;P&gt;If the Generate Feature Class parameter is checked (generate_feature_class = "FEATURE_CLASS" in Python), the output is a point feature class with the sampled values in its attribute table......&lt;/P&gt;&lt;P&gt;Raster—Points will be created using the location of the cell center.&lt;BR /&gt;Point—A point will be created at each of the point locations.&lt;BR /&gt;Polyline or polygon—&lt;STRONG&gt;A point will be created at each polygon or polyline centroid.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 19:02:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-exactly-does-sample-spatial-analysis-tools/m-p/1641033#M98087</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-08-11T19:02:39Z</dc:date>
    </item>
  </channel>
</rss>

