<?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: Sorting output fields in a spatial join? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578922#M25421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I did do it in Pro. Maybe it has sorted it by one of the fields and I haven't realised yet....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2018 11:28:35 GMT</pubDate>
    <dc:creator>TheodoreF</dc:creator>
    <dc:date>2018-05-11T11:28:35Z</dc:date>
    <item>
      <title>Sorting output fields in a spatial join?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578920#M25419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Pro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm spatially joining 2 features from a layer to another polygon later. How can I sort the joined attributes numerically/alphabetically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;X_coordinate&lt;/P&gt;&lt;P&gt;Feature 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 Fake street&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12345&lt;/P&gt;&lt;P&gt;Feature 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 Fake street, 2 Fake street&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12345, 56789&lt;/P&gt;&lt;P&gt;Feature 3 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 Fake street, 1 Fake street, 2 Fake street&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 34567, 12345, 56789&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note how Feature 3 has 3 addresses spatially joined to it, but the merged fields are in a strange order.&lt;/P&gt;&lt;P&gt;I think when a new join feature is found, it's attribute data is inserted randomly into the merged field order....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 16:30:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578920#M25419</guid>
      <dc:creator>TheodoreF</dc:creator>
      <dc:date>2018-05-10T16:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting output fields in a spatial join?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578921#M25420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe added in a dictionary format.&lt;/P&gt;&lt;P&gt;One way to confirm would be to do this in ArcGIS PRO since it uses Python 3.6 and insertion order is not maintained in dictionaries (ie no random sorting)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 18:18:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578921#M25420</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-05-10T18:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting output fields in a spatial join?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578922#M25421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I did do it in Pro. Maybe it has sorted it by one of the fields and I haven't realised yet....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 11:28:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578922#M25421</guid>
      <dc:creator>TheodoreF</dc:creator>
      <dc:date>2018-05-11T11:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting output fields in a spatial join?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578923#M25422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;seeing the table might provide clues&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 11:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578923#M25422</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-05-11T11:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting output fields in a spatial join?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578924#M25423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found out that the spatial join is sorting the outputs by OBJECTID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 12:54:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578924#M25423</guid>
      <dc:creator>TheodoreF</dc:creator>
      <dc:date>2018-05-11T12:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting output fields in a spatial join?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578925#M25424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what I'm doing here is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Multi-ring buffering a site boudary polygon layer 50 times (50x1m buffer discs). Then each distance buffer disc is spatially joined to a Mine location point layer. I'm then able to export the joined layer to Excel and view the results in a table:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="406300" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/406300_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see above, each row is a buffer disc of one property boundary. In the image, each &lt;STRONG&gt;red&lt;/STRONG&gt; underlined Reference number represents a new mine being spatially joined to the buffers feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the DistanceFromSite field- between 1 and 4m from the site, no Mines are present.&lt;/P&gt;&lt;P&gt;At 5m away, a single Mine is found.&lt;/P&gt;&lt;P&gt;At 9m away, another mine is found and the attributes are added to the MineRef output field, delimited with a comma.&lt;/P&gt;&lt;P&gt;At 12m away another mine is found and the same happens.&lt;/P&gt;&lt;P&gt;Now when we get to 25m away form the site, another mine is found BUT the attributes for that mine are not added to the end of the output string in MineRef. Instead they're added at the &lt;STRONG&gt;beginning&lt;/STRONG&gt;!&lt;/P&gt;&lt;P&gt;At 27m, the next found mine is added as the second entry in the string.&lt;/P&gt;&lt;P&gt;At 50m, a final, 6th mine is found. But again, it's added into the output string as the fourth entry (see red underlined Mine ref at the top of the image).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in conclusion, I found that the MineRefs are being sorted by their OBJECTIDs. How can I sort it by order in which they were found/added to the spatial join output string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(FYI I'm basically trying to recreate the Near Table tool, but without an Advanced license)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 13:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578925#M25424</guid>
      <dc:creator>TheodoreF</dc:creator>
      <dc:date>2018-05-11T13:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting output fields in a spatial join?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578926#M25425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If they were points you would be in luck&amp;nbsp;&lt;A href="https://www.arcgis.com/home/item.html?id=f96ede37dcd04c2e96dc903a4ce26244"&gt;https://www.arcgis.com/home/item.html?id=f96ede37dcd04c2e96dc903a4ce26244&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 13:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578926#M25425</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-05-11T13:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting output fields in a spatial join?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578927#M25426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Target layer is a polygon &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt; I'll download your tool anyway! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've heard of SQL functions like ST_Azimuth and ST_Distance which meaure using the geometries of the polygon boundary agasint another feature. But I've no experience using SQL... yet...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 15:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sorting-output-fields-in-a-spatial-join/m-p/578927#M25426</guid>
      <dc:creator>TheodoreF</dc:creator>
      <dc:date>2018-05-11T15:47:15Z</dc:date>
    </item>
  </channel>
</rss>

