<?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 Measuring distance between one point and multiple other points along a polyline of a complex dendritic network in Spatial Data Science Questions</title>
    <link>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571909#M1284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Hi, I am new to GeoNet so apologies if this question has been answered elsewhere and I have not found it yet. I have searched previous posts and have not found a solution (for what I can tell)&amp;nbsp;to&amp;nbsp;my problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;I have a point shapefile with ~60,000 points. For each point in this shapefile, I need to obtain the distance between&amp;nbsp;that&amp;nbsp;point and every other point along a polyline, which is a separate line shape file. The line shapefile represents a complex dendritic river network. For example, for&amp;nbsp;point&amp;nbsp;x&lt;SUB&gt;i&lt;/SUB&gt;, I need to calculate the distance between point &lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SUB&gt;i&lt;/SUB&gt; and point y&lt;SUB&gt;1&lt;/SUB&gt;, y&lt;SUB&gt;2&lt;/SUB&gt;...y&lt;SUB&gt;n&lt;/SUB&gt;, where n is the number of points in the point shapefile. I do not have access to the Network Analyst extension. I am a python novice, but competent at coding in R which has been somewhat helpful trying to learn python. I have also used model builder if there is a solution using that approach. Thanks for the help!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jul 2020 01:25:51 GMT</pubDate>
    <dc:creator>EricWalther</dc:creator>
    <dc:date>2020-07-24T01:25:51Z</dc:date>
    <item>
      <title>Measuring distance between one point and multiple other points along a polyline of a complex dendritic network</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571909#M1284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Hi, I am new to GeoNet so apologies if this question has been answered elsewhere and I have not found it yet. I have searched previous posts and have not found a solution (for what I can tell)&amp;nbsp;to&amp;nbsp;my problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;I have a point shapefile with ~60,000 points. For each point in this shapefile, I need to obtain the distance between&amp;nbsp;that&amp;nbsp;point and every other point along a polyline, which is a separate line shape file. The line shapefile represents a complex dendritic river network. For example, for&amp;nbsp;point&amp;nbsp;x&lt;SUB&gt;i&lt;/SUB&gt;, I need to calculate the distance between point &lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SUB&gt;i&lt;/SUB&gt; and point y&lt;SUB&gt;1&lt;/SUB&gt;, y&lt;SUB&gt;2&lt;/SUB&gt;...y&lt;SUB&gt;n&lt;/SUB&gt;, where n is the number of points in the point shapefile. I do not have access to the Network Analyst extension. I am a python novice, but competent at coding in R which has been somewhat helpful trying to learn python. I have also used model builder if there is a solution using that approach. Thanks for the help!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2020 01:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571909#M1284</guid>
      <dc:creator>EricWalther</dc:creator>
      <dc:date>2020-07-24T01:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring distance between one point and multiple other points along a polyline of a complex dendritic network</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571910#M1285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What final information do you need to get out of the distances?&lt;/P&gt;&lt;P&gt;I don't think that you want 60,000 to X combinations of distances without a final purpose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2020 01:44:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571910#M1285</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-07-24T01:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring distance between one point and multiple other points along a polyline of a complex dendritic network</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571911#M1286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This could pretty easily be accomplished using Near analysis, iterating through each point, but as Dan suggests - what do you want to do with the million/billion values you get and for what purpose?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2020 20:06:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571911#M1286</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-07-24T20:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring distance between one point and multiple other points along a polyline of a complex dendritic network</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571912#M1287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Near will croak &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2020 20:22:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571912#M1287</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-07-24T20:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring distance between one point and multiple other points along a polyline of a complex dendritic network</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571913#M1288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm thinking of just having 1 point being compared against the line vertices each time rather than throwing all of them in? At least be able to iterate again after the last failure when it runs out of memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2020 20:28:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571913#M1288</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-07-24T20:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring distance between one point and multiple other points along a polyline of a complex dendritic network</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571914#M1289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing a spatially explicit regression model and need the distances between each event (point in the shapefile) to develop my covariance matrix for modeling. The near analysis will give you euclidean distance between points, correct? I need the actual river distance (distance traced along the polyline) between each point. Using euclidean distance between&amp;nbsp;locations will result some pairs that are&amp;nbsp;actually relatively far apart&amp;nbsp; within the river network seem closer to each other than they really are. Thanks!&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 18:16:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571914#M1289</guid>
      <dc:creator>EricWalther</dc:creator>
      <dc:date>2020-07-27T18:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring distance between one point and multiple other points along a polyline of a complex dendritic network</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571915#M1290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally the output would be a table with the distance between each pair of points which I can use as my distance matrix for modelling. Note: I have looked into the &lt;A href="https://www.esri.com/arcgis-blog/products/product/analytics/ssn-and-stars-tools-for-spatial-statistical-modeling-on-stream-networks/"&gt;STARS toolkit&lt;/A&gt;&amp;nbsp;using a spatial stream network approach. However, my stream network shapefile is not appropriately structured as a&amp;nbsp;SSN and it would be a heavy lift to have to go in an manually modify the network. As a result, I have been trying to pursue other alternative approaches which led me to this exercise I have been trying to tackle. Let me know if this makes sense and if any additional information would be helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 18:47:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571915#M1290</guid>
      <dc:creator>EricWalther</dc:creator>
      <dc:date>2020-07-27T18:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring distance between one point and multiple other points along a polyline of a complex dendritic network</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571916#M1291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would go for that toolset, if you have ruled out working with a raster approach using something like&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/imagery/flow-distance-function.htm" title="https://pro.arcgis.com/en/pro-app/help/data/imagery/flow-distance-function.htm"&gt;Flow Distance function—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you have the Spatial Analyst extension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 18:53:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571916#M1291</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-07-27T18:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring distance between one point and multiple other points along a polyline of a complex dendritic network</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571917#M1292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The distances you want to extract is a computationally massive problem. Even if you had "just" 10,000 points in your second shapefile and the network was a single catchment then you would need to generate&amp;nbsp;600,000,000 routes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you do not describe the extent of your network or your second set of points then 600 million would not be an unrealistic number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was recently approached by someone because I'm the author behind &lt;A href="http://www.rivex.co.uk/"&gt;RivEX&lt;/A&gt;, a river network processing tool, capable of generating the values you want but their requirements were much like yours, 100's of million of distances needed to be generated, well beyond the design specifications of RivEX. They decided to take it in house and develop code themselves to answer this question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The paper is here:&amp;nbsp;&lt;A href="https://doi.org/10.3390/data5010008"&gt;https://doi.org/10.3390/data5010008&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is here:&amp;nbsp;&lt;A class="link-titled" href="https://gitlab.com/njacadieux/upstream_downstream_shortests_path_dijkstra" title="https://gitlab.com/njacadieux/upstream_downstream_shortests_path_dijkstra"&gt;https://gitlab.com/njacadieux/upstream_downstream_shortests_path_dijkstra&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've not used it, so can't comment on how easy it is to install and use it, but I get the impression they want you to run it on a multi-core machine, presumably because it's running the code in some parallel form?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 15:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/measuring-distance-between-one-point-and-multiple/m-p/571917#M1292</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2020-08-12T15:30:28Z</dc:date>
    </item>
  </channel>
</rss>

