<?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 Calculating distance between two point layers through a polygon layer in Spatial Statistics Questions</title>
    <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-distance-between-two-point-layers/m-p/280036#M910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two point layers, one representing river mouths and the other representing beach sites. I also have a water polygon layer. I am trying to calculate the shortest distance from my beach site layer to the nearest river mouth but it has to be through the water layer. The proximity tools wont work as they calculate the shortest distance but in areas where there i have a beach site on one side of a headland and a river mouth on the other it will take the path across land but i need it to go through the water. I also can't use the outline of the coast as a network along which to travel as in areas like the Gulf, the shortest distance will be straight across not via the coastline. Any suggestions? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 22:22:05 GMT</pubDate>
    <dc:creator>TJLawson</dc:creator>
    <dc:date>2013-09-10T22:22:05Z</dc:date>
    <item>
      <title>Calculating distance between two point layers through a polygon layer</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-distance-between-two-point-layers/m-p/280036#M910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two point layers, one representing river mouths and the other representing beach sites. I also have a water polygon layer. I am trying to calculate the shortest distance from my beach site layer to the nearest river mouth but it has to be through the water layer. The proximity tools wont work as they calculate the shortest distance but in areas where there i have a beach site on one side of a headland and a river mouth on the other it will take the path across land but i need it to go through the water. I also can't use the outline of the coast as a network along which to travel as in areas like the Gulf, the shortest distance will be straight across not via the coastline. Any suggestions? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 22:22:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/calculating-distance-between-two-point-layers/m-p/280036#M910</guid>
      <dc:creator>TJLawson</dc:creator>
      <dc:date>2013-09-10T22:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating distance between two point layers through a polygon layer</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-distance-between-two-point-layers/m-p/280037#M911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi &lt;BR /&gt;&lt;BR /&gt;I have two point layers, one representing river mouths and the other representing beach sites. I also have a water polygon layer. I am trying to calculate the shortest distance from my beach site layer to the nearest river mouth but it has to be through the water layer. The proximity tools wont work as they calculate the shortest distance but in areas where there i have a beach site on one side of a headland and a river mouth on the other it will take the path across land but i need it to go through the water. I also can't use the outline of the coast as a network along which to travel as in areas like the Gulf, the shortest distance will be straight across not via the coastline. Any suggestions? &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi TJ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess you can do this analysis in raster by using Cost Distance (Spatial Analyst):&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z00000018000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//009z00000018000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;... and you'll find more info here on how it works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000z5000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000z5000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the description it states:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;If areas with a value of zero represent areas that should be excluded from the&amp;nbsp; analysis, these values should be turned to NoData before running Cost Distance, by first running the &lt;A href="http://forums.arcgis.com/009z00000007000000.htm"&gt;Set&amp;nbsp; Null&lt;/A&gt; tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By using a cost raster you can define those "dry" areas as Null (NoData). The Cost Analysis will interpret this as areas that cannot be crossed. Specify your river areas as 1 in the same raster and the result of the cost distance will be a raster defining the distance from your sources. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 13:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/calculating-distance-between-two-point-layers/m-p/280037#M911</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2013-09-17T13:47:13Z</dc:date>
    </item>
  </channel>
</rss>

