<?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 to calculate distance of multiple points? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756326#M42501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/near.htm"&gt;Near Tool&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV style="margin: 0.5em 0.5em 0.5em 1em; display: block;"&gt;&lt;P&gt;Calculates distance and additional proximity information between the input features and the &lt;STRONG&gt;closest feature&lt;/STRONG&gt; in another layer or feature class.&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/point-distance.htm"&gt;Point Distance&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV style="margin: 0.5em 0.5em 0.5em 1em;"&gt;&lt;P&gt;Determines the distances from input point features to &lt;STRONG&gt;all points&lt;/STRONG&gt; in the near features within a specified search radius (you could keep it empty).&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Aug 2017 18:32:19 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2017-08-21T18:32:19Z</dc:date>
    <item>
      <title>How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756325#M42500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need help on how to calculate distance of multiple points. I have two layers : an input feature(office) and near feature ( projects). I want to know the distance of the projects for each office. The near tool won't work &amp;nbsp;(It calculate the distance to all points) &amp;nbsp;unless &amp;nbsp;I run the tool for each office...any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 18:11:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756325#M42500</guid>
      <dc:creator>JoseBarrios2</dc:creator>
      <dc:date>2017-08-21T18:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756326#M42501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/near.htm"&gt;Near Tool&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV style="margin: 0.5em 0.5em 0.5em 1em; display: block;"&gt;&lt;P&gt;Calculates distance and additional proximity information between the input features and the &lt;STRONG&gt;closest feature&lt;/STRONG&gt; in another layer or feature class.&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/point-distance.htm"&gt;Point Distance&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV style="margin: 0.5em 0.5em 0.5em 1em;"&gt;&lt;P&gt;Determines the distances from input point features to &lt;STRONG&gt;all points&lt;/STRONG&gt; in the near features within a specified search radius (you could keep it empty).&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 18:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756326#M42501</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2017-08-21T18:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756327#M42502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The near tool and point distance calculate the distance to ALLL point (projects) and I need to calculate the distance to the points that belong to each office. The only way around is exporting the projects that belong to each office ant run the near tool for each set of projects...I have 120 offices and 5000 projects ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 18:56:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756327#M42502</guid>
      <dc:creator>JoseBarrios2</dc:creator>
      <dc:date>2017-08-21T18:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756328#M42503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could I ask you What&amp;nbsp;was the layer that you set as &lt;STRONG&gt;Input features&lt;/STRONG&gt; and what was the&amp;nbsp;&lt;STRONG&gt;Near Features &lt;/STRONG&gt;in the tool&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 19:59:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756328#M42503</guid>
      <dc:creator>AbdullahAnter</dc:creator>
      <dc:date>2017-08-21T19:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756329#M42504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be done but the ease at which it can be done depends on the format of your data. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Are all the locations in the same file? ie the origins and their associated destinations or are they in separate files.&lt;/P&gt;&lt;P&gt;or are the origins in one file and all the destinations in another file which has a key to associate each destination with one origin?&lt;/P&gt;&lt;P&gt;Are all the files in a projected coordinate system?&lt;/P&gt;&lt;P&gt;Do they cover great distances (ie 10's, 100's 1000's of kilometers)&lt;/P&gt;&lt;P&gt;Any substantive information on the existing data structures and input coordinate systems would be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 20:12:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756329#M42504</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-21T20:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756330#M42505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My INPUT is office location (point) and my NEAR is projects locations (point). Some offices are very close on location and some offices travel very far for projects so I can not use the search radius. For every office there is a set of projects and I want to know the max, min and average distance of those projects!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 20:18:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756330#M42505</guid>
      <dc:creator>JoseBarrios2</dc:creator>
      <dc:date>2017-08-21T20:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756331#M42506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option is &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/generate-near-table.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/generate-near-table.htm"&gt;Generate Near Table—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I guess a big question going forward with this is the sorting down of the results to just the applicable projects for each office, as many of the possible solutions (&lt;EM&gt;Pointdistance&lt;/EM&gt;, &lt;EM&gt;Generate Near Table&lt;/EM&gt;) would provide output of all the Offices to all the Projects, generating one large table, which would be unwieldy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there currently in your data field(s) that identify information on which Projects belong to which Offices?&amp;nbsp; If that relationship mechanism could be identified, it may be very possible to generate the desired output so it is limited to just the projects for each office; however, we would need to know how that is structured so as to come up with an effective solution.&amp;nbsp;&amp;nbsp; Possibilities include employing &lt;EM&gt;Modelbuilder&lt;/EM&gt; or &lt;EM&gt;Python&lt;/EM&gt; as part of the data processing.&amp;nbsp; For example, one could loop through each office and only find the distance the projects associated with that office.&amp;nbsp; Again, it would be dependent on how the data is structured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/what-is-modelbuilder-.htm" title="http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/what-is-modelbuilder-.htm"&gt;What is ModelBuilder?—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 20:18:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756331#M42506</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2017-08-21T20:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756332#M42507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;have two data sets (.shp) and a common key field ID ( with one - to many). Yes, both files are on the same projection (USA_Contiguous_Equidistant_Conic) and &amp;nbsp;YES they cover very large distance (more than 100 miles)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 20:24:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756332#M42507</guid>
      <dc:creator>JoseBarrios2</dc:creator>
      <dc:date>2017-08-21T20:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756333#M42508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jose... I was also questioning whether the data were all in one file, two files (ie origins in one and projects in another) or more (origins in one file and each project in another)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 20:26:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756333#M42508</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-21T20:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756334#M42509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES. I have a common field that identify each office and link to projects. My Phython skills are very limited&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 20:29:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756334#M42509</guid>
      <dc:creator>JoseBarrios2</dc:creator>
      <dc:date>2017-08-21T20:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756335#M42510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hi Dan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I&amp;nbsp;have two data sets (.shp) and a common key field ID ( with one - to many). There are &amp;nbsp;about 400 project for each office. Both layers&amp;nbsp;are on the same projection (USA_Contiguous_Equidistant_Conic) and &amp;nbsp;the offices cover very large distance (more than 100 miles) lots of over-lapping.&amp;nbsp;&amp;nbsp;Basically I am covering the entire southeast of US and the Caribbean.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 20:33:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756335#M42510</guid>
      <dc:creator>JoseBarrios2</dc:creator>
      <dc:date>2017-08-21T20:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756336#M42511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the biggest problem is to how to dissect what you have.... one to many relationship... within a loop.&amp;nbsp; The distance calculations are trivial.&amp;nbsp; I will look around to see if someone&amp;nbsp; already has a solution to this portion of the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 20:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756336#M42511</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-21T20:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756337#M42512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No better time to learn Python than the present.&amp;nbsp; There is no pre-built tool that will accomplish what you are after, but what you are after should be fairly straightforward to script.&amp;nbsp; If you could provide some more specifics about your data files, GeoNet users could likely give specific examples to try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 00:53:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756337#M42512</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-08-22T00:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756338#M42513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joshua,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct. It is a great tool and I am learning Python but it may take a while before I am capable of compiling&amp;nbsp;a tool that can do all what I need. Here is how&amp;nbsp;my data look like: I have two shp. layers (both points). &amp;nbsp;One layer is for the office with two fields - office_Name and orgCode (total 128 records); The other layer contain the projects (7000 records) &amp;nbsp;with 4 fields: &amp;nbsp;Project_Name,.. Project_ID, ...Project_Type and the common field key "orgCode" that identify the office. The projects cover the entire southeast of US and the Caribbean. Some offices are very close and some very far and there is no search radius or boundary that I&amp;nbsp;can use to limit the distance for targeting the features.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Basically my Input feature is the Office layer and my near feature is the Projects. I am trying to write a simple script that do what I&amp;nbsp;am doing manually:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. select the office record by orgCode&lt;/P&gt;&lt;P&gt;2. find the common key on "projects" table and select the records&lt;/P&gt;&lt;P&gt;3. run the point distance tool on selected records&lt;/P&gt;&lt;P&gt;4. select the distance field and run the summary for min, max and mean distance&lt;/P&gt;&lt;P&gt;5. save the table with the stat.&lt;/P&gt;&lt;P&gt;6. look for&amp;nbsp;next office record and repeat the process&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 11:17:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756338#M42513</guid>
      <dc:creator>JoseBarrios2</dc:creator>
      <dc:date>2017-08-22T11:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756339#M42514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your data set isn't that large.&amp;nbsp; I would go with: 1) &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/generate-near-table.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/generate-near-table.htm"&gt;Generate Near Table—Help | ArcGIS Desktop&lt;/A&gt;, 2) join each shape file/layer to the new table based on the unique identifiers (not orgCode), 3) select all records where orgCode from the 2 layers don't match, 4) delete selected records to get only distances for projects from relevant office.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect the Generate Near Table will complete in seconds for a data set of this size.&amp;nbsp; If the data set were extremely large, it might make sense to optimize the workflow to work on subsets of data, but that would be overkill in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 14:10:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756339#M42514</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-08-22T14:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756340#M42515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not clear what do you men by running the near table tool. If I do that, it would create 896,000 records...it basically measure the distance of the 7000 records to each office. On not clear how I will join the tables!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 14:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756340#M42515</guid>
      <dc:creator>JoseBarrios2</dc:creator>
      <dc:date>2017-08-22T14:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756341#M42516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What &lt;A href="https://community.esri.com/migrated-users/3420"&gt;Joshua Bixby&lt;/A&gt; proposed is the probably the easiest way to do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative, if you are comfortable with &lt;EM&gt;Modelbuilder&lt;/EM&gt;, here's a model that would probably work after some modification to the specifics of your data.&amp;nbsp; As a preliminary step, one would manually join the offices to your projects layer before running the model.&amp;nbsp; Then the model selects each office from the office feature class and the projects with the same office and just runs a &lt;EM&gt;Pointdistance&lt;/EM&gt; on each.&amp;nbsp; Finally, the &lt;EM&gt;Pointdistance&lt;/EM&gt; values are joined to each offices file, resulting in a feature class for each office with only the projects for that office and their distances.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="368008" alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/368008_2017-08-22 07_59_08-DistanceToProjectsForEachOffice.jpg" style="width: 620px; height: 291px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="368120" alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/368120_2017-08-22 08_06_10-DistanceToProjectsForEachOffice.jpg" style="width: 620px; height: 344px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="368121" alt="" class="image-3 jive-image j-img-original" src="/legacyfs/online/368121_2017-08-22 08_06_28-DistanceToProjectsForEachOffice.jpg" style="width: 620px; height: 340px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This model worked with the test data I threw together.&amp;nbsp; Note that you may also be able to skip the Copy Features function in the model.&amp;nbsp; I added it as a way to check the intermediate data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-4 jive-image j-img-original" src="/legacyfs/online/368122_2017-08-22 08_14_33-DistanceOfProjectsFromTheirOffices - ArcMap.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 15:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756341#M42516</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2017-08-22T15:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756342#M42517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not immediately obvious, but with &lt;EM&gt;Generate Near Table&lt;/EM&gt; one &lt;EM&gt;joins&lt;/EM&gt; the resultant table back to the original inputs based on the Object IDs in each respective file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, the output table will have a field called INPUT_FID.&amp;nbsp; This Joins to the OBJECTID in the feature class used as the &lt;EM&gt;Input Features&lt;/EM&gt; when running the &lt;EM&gt;Generate Near Table&lt;/EM&gt; tool.&lt;/P&gt;&lt;P&gt;The output table will also have a field called NEAR_FID.&amp;nbsp; This Joins to the OBJECTID in the feature class used as the &lt;EM&gt;Near Features&lt;/EM&gt; when running the tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="368126" alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/368126_2017-08-22 08_26_06-Program Manager.jpg" style="width: 620px; height: 344px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/generate-near-table.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/generate-near-table.htm"&gt;Generate Near Table—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(note - the header in this topic says ArcGIS Pro but the information is the same for ArcGIS Desktop)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 15:26:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756342#M42517</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2017-08-22T15:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756343#M42518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hello&amp;nbsp;Chris&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Thanks a lot for your help..I would give it a try.! I am on desktop 10.4 butt I forgot to ask if Pro may have this capability.?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:06:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756343#M42518</guid>
      <dc:creator>JoseBarrios2</dc:creator>
      <dc:date>2017-08-23T13:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate distance of multiple points?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756344#M42519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The toolboxes are essentially identical... &lt;STRONG&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/analysis/generate-near-table.htm"&gt;Generate Near Table in Pro&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:19:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-calculate-distance-of-multiple-points/m-p/756344#M42519</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-23T13:19:41Z</dc:date>
    </item>
  </channel>
</rss>

