<?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 Selecting pixels in one raster based on their distance as a function of their height from pixels in a second raster in Forestry Questions</title>
    <link>https://community.esri.com/t5/forestry-questions/selecting-pixels-in-one-raster-based-on-their/m-p/47868#M196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are working on a project that is looking at potential crossing points for Squirrel Gliders between patches of trees on either side of a freeway. We have mapped vegetation over aerial photos and the formula for potential flight distances we will use is "x"=1.8 x tree height. I have a digital elevation model of the tree heights that I can use. What I would like to do is have one raster (Raster A) on one side of the road that has values 0 (no landing potential) and 1 (1 being acceptable landing locations), the second raster (Raster B) on the other side of the freeway will have values 0 (no takeoff veg) and where there is acceptable takeoff vegetation the value of each pixel will be a height value of the tree canopy of that pixel.&lt;/P&gt;&lt;P&gt;The result I would like to try and achieve is to create a new output raster (Raster C) showing just where: pixels from Raster B are identified that are within a distance of 1.8 times by their value (height) from any pixel with a value of 1 in Raster A. &lt;/P&gt;&lt;P&gt;I am new to this forum and I dont expect anyone to do all the work for me but I just want to try not to waste my departments time and money if I am going the wrong way about approaching this problem. I am sure there are other ways approach this also.. I dont have experience with python or model builder but If someone can assure me that what I want to do can be done and direct me to how to go about starting on it and what sort of tool/script to use to work on it I would be very thankful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2015 12:09:56 GMT</pubDate>
    <dc:creator>LisaRedmond1</dc:creator>
    <dc:date>2015-04-14T12:09:56Z</dc:date>
    <item>
      <title>Selecting pixels in one raster based on their distance as a function of their height from pixels in a second raster</title>
      <link>https://community.esri.com/t5/forestry-questions/selecting-pixels-in-one-raster-based-on-their/m-p/47868#M196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are working on a project that is looking at potential crossing points for Squirrel Gliders between patches of trees on either side of a freeway. We have mapped vegetation over aerial photos and the formula for potential flight distances we will use is "x"=1.8 x tree height. I have a digital elevation model of the tree heights that I can use. What I would like to do is have one raster (Raster A) on one side of the road that has values 0 (no landing potential) and 1 (1 being acceptable landing locations), the second raster (Raster B) on the other side of the freeway will have values 0 (no takeoff veg) and where there is acceptable takeoff vegetation the value of each pixel will be a height value of the tree canopy of that pixel.&lt;/P&gt;&lt;P&gt;The result I would like to try and achieve is to create a new output raster (Raster C) showing just where: pixels from Raster B are identified that are within a distance of 1.8 times by their value (height) from any pixel with a value of 1 in Raster A. &lt;/P&gt;&lt;P&gt;I am new to this forum and I dont expect anyone to do all the work for me but I just want to try not to waste my departments time and money if I am going the wrong way about approaching this problem. I am sure there are other ways approach this also.. I dont have experience with python or model builder but If someone can assure me that what I want to do can be done and direct me to how to go about starting on it and what sort of tool/script to use to work on it I would be very thankful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 12:09:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/forestry-questions/selecting-pixels-in-one-raster-based-on-their/m-p/47868#M196</guid>
      <dc:creator>LisaRedmond1</dc:creator>
      <dc:date>2015-04-14T12:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting pixels in one raster based on their distance as a function of their height from pixels in a second raster</title>
      <link>https://community.esri.com/t5/forestry-questions/selecting-pixels-in-one-raster-based-on-their/m-p/47869#M197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an (untested) idea.&amp;nbsp; It is a one-way analysis so if you want to consider travel in both directions, you will need to reverse and repeat for the other side of the road.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a single raster dataset that covers your entire area of interest (AOI = both sides of road).&amp;nbsp; This dataset should only contain values of 1 for acceptable landing locations.&amp;nbsp; All other cells in the AOI should be NoData.&amp;nbsp; Let’s call this dataset Landing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Run Landing through the Euclidean Distance tool in the Spatial Analyst ‘Distance’ toolset:&amp;nbsp; &lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/spatial-analyst-toolbox/euclidean-distance.htm" title="http://desktop.arcgis.com/en/desktop/latest/tools/spatial-analyst-toolbox/euclidean-distance.htm"&gt;Euclidean Distance—Help | ArcGIS for Desktop&lt;/A&gt; .&amp;nbsp; This tool will calculate distances from all NoData cells to the nearest landing location.&amp;nbsp; The output dataset, let’s call it Distance, will contain cell values of 0 for all landing locations and actual distance values for all the original NoData cells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Create a single raster dataset that covers your entire AOI that contains height values for all takeoff locations and 0 values for all other cells.&amp;nbsp; Let’s call this dataset Takeoff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Now multiply the Distance dataset by the Takeoff dataset.&amp;nbsp; You can use the Times tool (Spatial Analyst ‘Math’ toolset) or Raster Calculator (Spatial Analyst ‘Map Algebra’ toolset).&amp;nbsp; This dataset will give you the actual distance to height relationship between the takeoff and landing locations.&amp;nbsp; Let’s call it Actual_D2H.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Create a single raster dataset that covers your entire AOI that contains the comparison distance to height relationship (1.8 x tree height).&amp;nbsp; You can do this by multiplying the Takeoff dataset by 1.8.&amp;nbsp; Once again you can use the Times tool or Raster Calculator to create this dataset.&amp;nbsp; Let’s call it Comparison_D2H.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Finally, you can use a Conditional statement in Raster Calculator to change all values in Actual_D2H to 0 (or NoData) that have a value greater than the acceptable distance value in Comparison_D2H.&amp;nbsp; This will leave you with only cell values that contain distances less than 1.8 times the takeoff locations height.&amp;nbsp; Conditional Statements help:&amp;nbsp; &lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/spatial-analyst-toolbox/conditional-evaluation-with-con.htm" title="http://desktop.arcgis.com/en/desktop/latest/tools/spatial-analyst-toolbox/conditional-evaluation-with-con.htm"&gt;Conditional evaluation with Con—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just a rough idea and there are many details that would need to be worked out but I think it may help get you where you need to go.&amp;nbsp; Let me know if you have any questions or need further explanation on any of the steps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 13:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/forestry-questions/selecting-pixels-in-one-raster-based-on-their/m-p/47869#M197</guid>
      <dc:creator>GabrielUpchurch1</dc:creator>
      <dc:date>2015-04-14T13:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting pixels in one raster based on their distance as a function of their height from pixels in a second raster</title>
      <link>https://community.esri.com/t5/forestry-questions/selecting-pixels-in-one-raster-based-on-their/m-p/47870#M198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gabriel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That sounds like a great suggestion and yes I was thinking however I did it would have to be one way and then flip the scenario. Overnight I thought about it and also came up with a sneaky alternative – by converting my potential takeoff gridcells to points with a table value of their height. Then doing a find nearest polygon distance (suitable landing layer)and the table would be populated with that distance. Then just use calculator to populate another field with the 1.8 x height and then just have a fourth field showing which points have a flight formula value greater than  their distance to nearest landing polygon. Again a one way analysis.  Fantastic to know I have a couple of options to play with and now to just edit and fine tune my data before running it all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for taking the time to help me. It is very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lisa Redmond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 07:42:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/forestry-questions/selecting-pixels-in-one-raster-based-on-their/m-p/47870#M198</guid>
      <dc:creator>LisaRedmond1</dc:creator>
      <dc:date>2015-04-15T07:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting pixels in one raster based on their distance as a function of their height from pixels in a second raster</title>
      <link>https://community.esri.com/t5/forestry-questions/selecting-pixels-in-one-raster-based-on-their/m-p/47871#M199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I considered your vector-based idea as well and that is what I would have suggested had you responded that you did not have access to Spatial Analyst.&amp;nbsp; It will definitely meet your needs and is less complicated (and therefore faster as well).&amp;nbsp; My preference is towards raster analysis and modeling when it is a possible because it offers considerably more spatial analysis possibilities and allows for more creativity and flexibility than vector data.&amp;nbsp; Something to consider, I try to avoid converting between raster and vector data unless absolutely necessary due to the potential to introduce inaccuracies into your data.&amp;nbsp; If you might do further spatial analysis beyond just obtaining suitable takeoff sites then I would give some advance consideration to the possible need for any data conversions that would be necessary.&amp;nbsp; With attention to detail, the right settings and some QA/QC, you can definitely convert between raster and vector data successfully.&amp;nbsp; I just want to throw that out there because I often see users converting back and forth all willy-nilly with little thought for the processes they are undertaking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck to you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 11:31:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/forestry-questions/selecting-pixels-in-one-raster-based-on-their/m-p/47871#M199</guid>
      <dc:creator>GabrielUpchurch1</dc:creator>
      <dc:date>2015-04-15T11:31:13Z</dc:date>
    </item>
  </channel>
</rss>

