<?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: Discrepancy between buffer and point distance function in Address Points Questions</title>
    <link>https://community.esri.com/t5/address-points-questions/discrepancy-between-buffer-and-point-distance/m-p/832605#M64</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies, I neglected to say that I would trust the results of the point distance analysis over the buffer analysis.&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2019 14:26:00 GMT</pubDate>
    <dc:creator>JimCousins</dc:creator>
    <dc:date>2019-03-12T14:26:00Z</dc:date>
    <item>
      <title>Discrepancy between buffer and point distance function</title>
      <link>https://community.esri.com/t5/address-points-questions/discrepancy-between-buffer-and-point-distance/m-p/832603#M62</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Hoping I can get some guidance on this. I am getting a discrepancy between using a buffer and a point distance approach. What I am trying to do is to see if there are industries located within one mile of patients' homes. I have coordinates for the homes and coordinates for the industries and have mapped them in ArcMap. I then created a one mile buffer around the homes. Because I also need to calculate the distance between the homes and the industries (for all industries located within one mile of the home), I also used the Point Distance function using the Python script example described below. I used a search radius of 1 mile and the output looked great. My problem is that I was checking the output to make sure it matched up with the buffers in my map and found that it did not. For example, one home had 4 industries&amp;nbsp;that fell within the 1 mile buffer (by sight) but the Point Distance analysis indicated that only 3 industries were located within a one mile radius. I am assuming the Point Distance approach is more reliable but it is bothering me that there is a clear discrepancy between the two approaches and that I&amp;nbsp;may be doing something wrong. Any help or advice would be appreciated! TIA!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: green;"&gt;# Description: Finds distance of each near point from each input point and outputs to a table.&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: green;"&gt;# import system modules&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: blue;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: green;"&gt;# set workspace environment&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;env&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;workspace&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #a31515;"&gt;"C:/data/pointdistance.gdb"&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: green;"&gt;# set variables&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;in_features&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #a31515;"&gt;"police_stations"&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;near_features&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #a31515;"&gt;"crime_location"&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;out_table&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #a31515;"&gt;"crime_distance4"&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;search_radius&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #a31515;"&gt;"22000 Feet"&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: green;"&gt;# find crime locations within the search radius&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;PointDistance_analysis&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;in_features&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;near_features&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;out_table&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;search_radius&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 20:41:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/address-points-questions/discrepancy-between-buffer-and-point-distance/m-p/832603#M62</guid>
      <dc:creator>KeriO_Leary</dc:creator>
      <dc:date>2019-03-11T20:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Discrepancy between buffer and point distance function</title>
      <link>https://community.esri.com/t5/address-points-questions/discrepancy-between-buffer-and-point-distance/m-p/832604#M63</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order of likelihood:&lt;/P&gt;&lt;P&gt;Buffer will look to do an intersect, and rasterizes the features. So, dependent on the cell size used, you may miss points, or erroneously include points.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another consideration is the projection you are using - does it preserve distance?&lt;/P&gt;&lt;P&gt;The last item I can think of is the buffer parameter for METHOD - Euclidean vs Geodesic. This will only effect you if your coordinate system is not planar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More information is available in the ArcGIS help under Buffer Analysis.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:08:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/address-points-questions/discrepancy-between-buffer-and-point-distance/m-p/832604#M63</guid>
      <dc:creator>JimCousins</dc:creator>
      <dc:date>2019-03-12T14:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Discrepancy between buffer and point distance function</title>
      <link>https://community.esri.com/t5/address-points-questions/discrepancy-between-buffer-and-point-distance/m-p/832605#M64</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies, I neglected to say that I would trust the results of the point distance analysis over the buffer analysis.&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:26:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/address-points-questions/discrepancy-between-buffer-and-point-distance/m-p/832605#M64</guid>
      <dc:creator>JimCousins</dc:creator>
      <dc:date>2019-03-12T14:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Discrepancy between buffer and point distance function</title>
      <link>https://community.esri.com/t5/address-points-questions/discrepancy-between-buffer-and-point-distance/m-p/832606#M65</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jim,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your response--I really appreciate it!&amp;nbsp; First, I used the Planar v. Geodesic methods for the buffer but did not find a difference. So, next I measured the distances (using the Measure tool) between the industries and the home (where I found the discrepancy) and found that the distances that I measured were different from the distances that were generated using the PointDistance approach/Python code. My home layer and my industry layers use the GCS_WGS_1984 geographic coordinate system and the D_WGS_1984 Datum. I am looking at the industries in all of the counties in one state and so I also have the USA_States_Generalized and USA_Counties_Generalized layers that I downloaded from ArcGIS online. Those layers are in the WGS_1984_Web_Mercator_Auxiliary_Sphere projected coordinate system. The data frame's coordinate system is GCS_WGS_1984. From doing some google searches, I am finding that the &lt;SPAN&gt;WGS_1984_Web_Mercator_Auxiliary_Sphere projection can distort distances. Therefore, I am guessing this is my problem. Does that mean I need to do a transformation? I have been examining a table of ArcGIS supported map projections and looking at the ones with the equidistant property but there are at least 6 to choose from. Any thoughts on this? Thanks again!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;K&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 17:26:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/address-points-questions/discrepancy-between-buffer-and-point-distance/m-p/832606#M65</guid>
      <dc:creator>KeriO_Leary</dc:creator>
      <dc:date>2019-03-12T17:26:18Z</dc:date>
    </item>
  </channel>
</rss>

