<?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: OD Cost Matrix - Map ID fields for Origins and Destinations in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/od-cost-matrix-map-id-fields-for-origins-and/m-p/1268621#M8249</link>
    <description>&lt;P&gt;Would you look at that, didn't know that GP Tool existed. Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2023 17:36:58 GMT</pubDate>
    <dc:creator>ScottFedak2085</dc:creator>
    <dc:date>2023-03-16T17:36:58Z</dc:date>
    <item>
      <title>OD Cost Matrix - Map ID fields for Origins and Destinations</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/od-cost-matrix-map-id-fields-for-origins-and/m-p/1268503#M8247</link>
      <description>&lt;P&gt;I may be missing something, but I haven't seen an area where you can map a chosen ID field when importing&amp;nbsp;&lt;STRONG&gt;Origins&lt;/STRONG&gt; and &lt;STRONG&gt;Destinations&lt;/STRONG&gt;. The &lt;STRONG&gt;&lt;EM&gt;Name&lt;/EM&gt; &lt;/STRONG&gt;property is the only kind of field where this mapping is possible, but then the &lt;STRONG&gt;Origin&lt;/STRONG&gt; and &lt;STRONG&gt;Destination&lt;/STRONG&gt; data is concatenated together in one field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be preferred to be able to map an ID field that is concatenated together like the &lt;EM&gt;Name &lt;/EM&gt;property, but also split up into their own &lt;EM&gt;&lt;STRONG&gt;OriginID&lt;/STRONG&gt; &lt;/EM&gt;and &lt;EM&gt;&lt;STRONG&gt;DestinationID&lt;/STRONG&gt; &lt;/EM&gt;fields...almost like building a junction table right into the output to take advantage of in post analysis operations. It's not too hard to map ID fields to the Name property and do some string manipulation to split out the information, but seems kind of surprising this isn't an option. It seems like a typical operation after conducting an OD Cost Matrix would be to join it back to the original data in some way to populate attributes or conduct additional analysis.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 14:04:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/od-cost-matrix-map-id-fields-for-origins-and/m-p/1268503#M8247</guid>
      <dc:creator>ScottFedak2085</dc:creator>
      <dc:date>2023-03-16T14:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: OD Cost Matrix - Map ID fields for Origins and Destinations</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/od-cost-matrix-map-id-fields-for-origins-and/m-p/1268531#M8248</link>
      <description>&lt;P&gt;If you're using an OD Cost Matrix layer, you can use the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/network-analyst/add-field-to-analysis-layer.htm" target="_self"&gt;Add Field To Analysis Layer&lt;/A&gt; tool to add fields to the Origins and Destinations sublayers suitable for storying your ID.&amp;nbsp; When you run Add Locations to load your inputs, you can map your ID field to these new fields in the sublayers.&amp;nbsp; When you solve, you can do a join between the Lines sublayer and Origins or Destinations.&amp;nbsp; The OriginID field in Lines corresponds to the ObjectID field in Origins, and the DestinationID field corresponds to the ObjectID field in Destinations.&amp;nbsp; This should allow you to transfer the fields in whatever way you need.&lt;/P&gt;&lt;P&gt;If you're using the arcpy.nax solver objects, the procedure is similar but depends on how you're loading inputs.&amp;nbsp; This is documented here:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/setting-analysis-inputs.htm#ESRI_SECTION1_74EEA24F902D4ECB9C994A7A615C229F" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/setting-analysis-inputs.htm#ESRI_SECTION1_74EEA24F902D4ECB9C994A7A615C229F&lt;/A&gt;&amp;nbsp;The schemas for the output classes and the relationships between them are described here:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/origindestinationcostmatrix-output-data-types.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/origindestinationcostmatrix-output-data-types.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 15:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/od-cost-matrix-map-id-fields-for-origins-and/m-p/1268531#M8248</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2023-03-16T15:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: OD Cost Matrix - Map ID fields for Origins and Destinations</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/od-cost-matrix-map-id-fields-for-origins-and/m-p/1268621#M8249</link>
      <description>&lt;P&gt;Would you look at that, didn't know that GP Tool existed. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 17:36:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/od-cost-matrix-map-id-fields-for-origins-and/m-p/1268621#M8249</guid>
      <dc:creator>ScottFedak2085</dc:creator>
      <dc:date>2023-03-16T17:36:58Z</dc:date>
    </item>
  </channel>
</rss>

