<?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: Spatial join in Toolbox: how to define output when no join is possible? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673811#M38220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good point on the -1 vs 999!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think it is an issue with the JOIN_FID 0, because they won't be selected by Joint_Count = 0. Did I misunderstand you?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2011 17:05:36 GMT</pubDate>
    <dc:creator>DanLee</dc:creator>
    <dc:date>2011-10-24T17:05:36Z</dc:date>
    <item>
      <title>Spatial join in Toolbox: how to define output when no join is possible?</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673808#M38217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this is an easy question for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to do a spatial join (in the toolbox, Analysis tools) between two shapefiles:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(1) the target file: a point dataset, of which all fields should be retained&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(2) the join feature: a polygon shapefile with various polygons. I want to add to the target shapefile the information for each point into which polygon (identified by the polygon id) of the they occur. If they don't occur in one of the polygons, the code should be some number which cannot be confused with a polygon ID (e.g. 999).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works well when using the Spatial Join tool (setting it to Join-one-to-one, keep all target features, and choose in "Field map of joining feature" only the column with the polygon ID), however, if points from the target file fall within none of the polygons of the join file, unfortunately the value "0" is joined. As there is also a polygon with the ID "0", this is bad and will lump in supsequent analysis the points from the "0" polygon together will all points not falling into any polygon at all. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to let ArcGIS know what code to give to those target features to which no join feature can be&amp;nbsp; joined to ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kerstin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 14:05:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673808#M38217</guid>
      <dc:creator>KerstinKober</dc:creator>
      <dc:date>2011-10-24T14:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial join in Toolbox: how to define output when no join is possible?</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673809#M38218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you are talking about the output of Join-one-to-many, which contains the JOIN_FID field. Yes, we realized this issue and have had a fix in 10.1 so that the unjoined features will get -1 in this field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do this as a workaround:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Select points with Joint_Count of 0 and calculate the JOIN_FID to be 999, as you wished.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry about the inconvenience. Hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 16:41:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673809#M38218</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2011-10-24T16:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial join in Toolbox: how to define output when no join is possible?</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673810#M38219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think you are talking about the output of Join-one-to-many, which contains the JOIN_FID field. Yes, we realized this issue and have had a fix in 10.1 so that the unjoined features will get -1 in this field.&lt;BR /&gt;&lt;BR /&gt;You can do this as a workaround:&lt;BR /&gt;Select points with Joint_Count of 0 and calculate the JOIN_FID to be 999, as you wished.&lt;BR /&gt;&lt;BR /&gt;Sorry about the inconvenience. Hope that helps.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually, I would calculate it to -1 as the fix at 10.1 does (since you could easily get to a real FID of 999 in your polygons, but not -1).&amp;nbsp; Also you would need to select the polygon that actually has an ID of 0 and then do a select by location on the Spatial Join points file.&amp;nbsp; Anything that get selected should be calculated back to 0 (since it actually is a point associated with the Polygon having an FID of 0).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 16:52:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673810#M38219</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2011-10-24T16:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial join in Toolbox: how to define output when no join is possible?</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673811#M38220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good point on the -1 vs 999!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think it is an issue with the JOIN_FID 0, because they won't be selected by Joint_Count = 0. Did I misunderstand you?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 17:05:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673811#M38220</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2011-10-24T17:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial join in Toolbox: how to define output when no join is possible?</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673812#M38221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Good point on the -1 vs 999!&lt;BR /&gt;&lt;BR /&gt;I don't think it is an issue with the JOIN_FID 0, because they won't be selected by Joint_Count = 0. Did I misunderstand you?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I missed that suggestion.&amp;nbsp; My second step would not be necessary if the Join_Count value is used in the selection.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 17:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-join-in-toolbox-how-to-define-output-when/m-p/673812#M38221</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2011-10-24T17:09:14Z</dc:date>
    </item>
  </channel>
</rss>

