<?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 Spatial Join - CLOSEST within polygon in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/spatial-join-closest-within-polygon/m-p/132381#M329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Dear ArcMap community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;My question relates to SpatialJoin in ArcMap 10.7.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;My&amp;nbsp;data is as follow: one point layer with the building location (layer A), two point layers having information related to buildings (layer B and C), and one polygon layer with property boundaries (layer D).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;My&amp;nbsp;objective is to merge the information from the two points layers &lt;SPAN&gt;(layer B and C)&amp;nbsp;&lt;/SPAN&gt;to each building (layer A).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;My idea was to use the function SpatialJoin with the parameter Closest. The SpatialJoin works without error, nevertheless manually observing some instances, I saw that for some of them the information that was joined do not relate to the correct building but the one in the neighbouring property. I realised that some information points&amp;nbsp;&lt;SPAN&gt;(layer B and C)&lt;/SPAN&gt; are closer to the neighbouring building. I am aware that the function SpatialJoin - Closest enables to set a Search Radius but in my case setting a very small search radius would exclude some correct instances as some of the information points&amp;nbsp;&lt;SPAN&gt;(layer B and C)&lt;/SPAN&gt; are not in the direct vicinity of the building&lt;SPAN&gt;&amp;nbsp;(layer A)&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Luckily, I was able to find a polygon layer with property boundaries (layer D). However, most of the properties (polygon) entail multiple points from layer A, B, and C.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;I would like to constrain the Spatial Join to property boundaries and find the closest points from layer B and C to the building location (layer A).&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Is there a way to do a Spatial Join -&amp;nbsp;CLOSEST&amp;nbsp;restricted to a polygon (from a different layer)? If yes, is it there a way to loop the process for all the property boundaries in the polygon layer?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Thanks for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Sep 2020 02:29:57 GMT</pubDate>
    <dc:creator>SamuelRoeslin</dc:creator>
    <dc:date>2020-09-26T02:29:57Z</dc:date>
    <item>
      <title>Spatial Join - CLOSEST within polygon</title>
      <link>https://community.esri.com/t5/arcmap-questions/spatial-join-closest-within-polygon/m-p/132381#M329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Dear ArcMap community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;My question relates to SpatialJoin in ArcMap 10.7.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;My&amp;nbsp;data is as follow: one point layer with the building location (layer A), two point layers having information related to buildings (layer B and C), and one polygon layer with property boundaries (layer D).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;My&amp;nbsp;objective is to merge the information from the two points layers &lt;SPAN&gt;(layer B and C)&amp;nbsp;&lt;/SPAN&gt;to each building (layer A).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;My idea was to use the function SpatialJoin with the parameter Closest. The SpatialJoin works without error, nevertheless manually observing some instances, I saw that for some of them the information that was joined do not relate to the correct building but the one in the neighbouring property. I realised that some information points&amp;nbsp;&lt;SPAN&gt;(layer B and C)&lt;/SPAN&gt; are closer to the neighbouring building. I am aware that the function SpatialJoin - Closest enables to set a Search Radius but in my case setting a very small search radius would exclude some correct instances as some of the information points&amp;nbsp;&lt;SPAN&gt;(layer B and C)&lt;/SPAN&gt; are not in the direct vicinity of the building&lt;SPAN&gt;&amp;nbsp;(layer A)&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Luckily, I was able to find a polygon layer with property boundaries (layer D). However, most of the properties (polygon) entail multiple points from layer A, B, and C.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;I would like to constrain the Spatial Join to property boundaries and find the closest points from layer B and C to the building location (layer A).&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Is there a way to do a Spatial Join -&amp;nbsp;CLOSEST&amp;nbsp;restricted to a polygon (from a different layer)? If yes, is it there a way to loop the process for all the property boundaries in the polygon layer?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Thanks for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2020 02:29:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/spatial-join-closest-within-polygon/m-p/132381#M329</guid>
      <dc:creator>SamuelRoeslin</dc:creator>
      <dc:date>2020-09-26T02:29:57Z</dc:date>
    </item>
  </channel>
</rss>

