<?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: Extract mean raster values to line in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/extract-mean-raster-values-to-line/m-p/1007210#M24951</link>
    <description>&lt;P&gt;I think Add Surface Information will do this (with the right parameters set) &lt;A href="https://desktop.arcgis.com/en/arcmap/10.3/tools/3d-analyst-toolbox/add-surface-information.htm" target="_blank" rel="noopener"&gt;Add Surface Information—Help | ArcGIS for Desktop ,&amp;nbsp;&lt;/A&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/3d-analyst/add-surface-information.htm" target="_blank" rel="noopener"&gt;Add Surface Information (3D Analyst)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you don't have 3d analyst, I'd first try and find someone who does! but there'd be some kind-of process of 'Extract by Mask' to get only the raster cells coincident with the polylines, then theres many options i guess, I would:&lt;/P&gt;&lt;P&gt;convert the cells to polygons, then do a spatial join with a merge rule of 'SUM' for the grid_code field (or whatever it's called - I cant remember)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit - 'Mean' option, not 'SUM'&lt;/P&gt;</description>
    <pubDate>Sun, 06 Dec 2020 13:34:03 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2020-12-06T13:34:03Z</dc:date>
    <item>
      <title>Extract mean raster values to line</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extract-mean-raster-values-to-line/m-p/1007209#M24950</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;I'm currently working on a samll GIS-Project but I got stuck on a problem. Is there a possibility to extract the mean value of raster cells, that were crossed by a line and then ad this mean value to the line? I have one dataset with lines (vector) and another raster dataset with different values. I would like to add a column to the line dataset with the mean values of the crossed rasters by that specific line.&lt;/P&gt;&lt;P&gt;Thank you for your help and support!&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 13:11:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extract-mean-raster-values-to-line/m-p/1007209#M24950</guid>
      <dc:creator>PatrickGreber</dc:creator>
      <dc:date>2020-12-06T13:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Extract mean raster values to line</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extract-mean-raster-values-to-line/m-p/1007210#M24951</link>
      <description>&lt;P&gt;I think Add Surface Information will do this (with the right parameters set) &lt;A href="https://desktop.arcgis.com/en/arcmap/10.3/tools/3d-analyst-toolbox/add-surface-information.htm" target="_blank" rel="noopener"&gt;Add Surface Information—Help | ArcGIS for Desktop ,&amp;nbsp;&lt;/A&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/3d-analyst/add-surface-information.htm" target="_blank" rel="noopener"&gt;Add Surface Information (3D Analyst)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you don't have 3d analyst, I'd first try and find someone who does! but there'd be some kind-of process of 'Extract by Mask' to get only the raster cells coincident with the polylines, then theres many options i guess, I would:&lt;/P&gt;&lt;P&gt;convert the cells to polygons, then do a spatial join with a merge rule of 'SUM' for the grid_code field (or whatever it's called - I cant remember)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit - 'Mean' option, not 'SUM'&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 13:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extract-mean-raster-values-to-line/m-p/1007210#M24951</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-12-06T13:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Extract mean raster values to line</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extract-mean-raster-values-to-line/m-p/1007211#M24952</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;Thank again for your help, it worked perfectly with "add surface information"! I was looking at a lot of workarounds and glad that your solution did not require this=)!&lt;/P&gt;&lt;P&gt;Would there be a way to calculate the SUM too, or would this require other solutions?&lt;/P&gt;&lt;P&gt;Thank you soo much!&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 13:54:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extract-mean-raster-values-to-line/m-p/1007211#M24952</guid>
      <dc:creator>PatrickGreber</dc:creator>
      <dc:date>2020-12-06T13:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extract mean raster values to line</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extract-mean-raster-values-to-line/m-p/1007212#M24953</link>
      <description>&lt;P&gt;Ah, I'm not sure on that one.&amp;nbsp; You could do the raster to polygon method then a spatial join, use the join_count to count the number of raster cells the line passes through, then the sum would be the mean * that count (I think).&amp;nbsp; There may be other options but I'm not sure.&amp;nbsp; I think that workflow is valid, but a raster to polygon can be very intensive depending on the extent and cell-size of your area (definitely extract by mask before you do the raster to polygon).&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 14:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extract-mean-raster-values-to-line/m-p/1007212#M24953</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-12-06T14:18:18Z</dc:date>
    </item>
  </channel>
</rss>

