<?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: Join tables in model builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238412#M8133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, the join can be made with the mmsi field. I just want to make a attribute join, not spatial join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the result of the TrackBuilder script goes directly to the geodatabase. There is no output green "bubble"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2015 12:05:52 GMT</pubDate>
    <dc:creator>ManuelFrias</dc:creator>
    <dc:date>2015-07-29T12:05:52Z</dc:date>
    <item>
      <title>Join tables in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238410#M8131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building a model to fetch tables with point data from a folder and make lines. Each file contains one week&amp;nbsp; of AIS (Automatic Identification System) data, i.e. shipping data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attribute table of the points contain the following fields&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TablePoints.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/119681_TablePoints.PNG" style="width: 620px; height: 71px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For making the lines I am using a publicly available script called &lt;A href="http://coast.noaa.gov/digitalcoast/tools/track-builder"&gt;TrackBuilder&lt;/A&gt;. The attribute table of the lines look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TrackBuilderResultTable.PNG" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/119682_TrackBuilderResultTable.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the field "shipType" is missing. I would like to modify the script (see attachment) to get that field in the lines attribute table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I could add a join to the model but I didn't succeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ModelPointsToLines.PNG" class="image-3 jive-image" height="329" src="https://community.esri.com/legacyfs/online/119683_ModelPointsToLines.PNG" style="height: 329px; width: 397.283018867925px;" width="397" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you see above, the TrackBuilder script doesn't output a feature dataset that I can use to join it with the point table and get the "shipType".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TrackBuilderMenu.PNG" class="image-4 jive-image" height="359" src="https://community.esri.com/legacyfs/online/119684_TrackBuilderMenu.PNG" style="width: 483px; height: 359.133870967742px;" width="483" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to modify the script or alternative solutions are welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 09:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238410#M8131</guid>
      <dc:creator>ManuelFrias</dc:creator>
      <dc:date>2015-07-29T09:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238411#M8132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need a field in each table which contains a common identifier if you are trying to do an attribute join.&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/manage-data/tables/about-joining-and-relating-tables.htm" title="http://desktop.arcgis.com/en/desktop/latest/manage-data/tables/about-joining-and-relating-tables.htm"&gt;About joining and relating tables—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Alternately, are you wanting to a join by spatial location? &lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/analysis-toolbox/spatial-join.htm" title="http://desktop.arcgis.com/en/desktop/latest/tools/analysis-toolbox/spatial-join.htm"&gt;Spatial Join—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 11:41:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238411#M8132</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-07-29T11:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238412#M8133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, the join can be made with the mmsi field. I just want to make a attribute join, not spatial join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the result of the TrackBuilder script goes directly to the geodatabase. There is no output green "bubble"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 12:05:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238412#M8133</guid>
      <dc:creator>ManuelFrias</dc:creator>
      <dc:date>2015-07-29T12:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238413#M8134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use the join 'bubble' you need to specify inputs...that is where you would specify the input fields from both files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 12:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238413#M8134</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-07-29T12:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238414#M8135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to use the Make Feature Layer tool against your target table (i.e. the table where you want to see the join). The Join tool's first input must be a layer type as joins and selections can only be applied to layer objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Make Feature Layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/make-feature-layer.htm"&gt;http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/make-feature-layer.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Add Join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/add-join.htm"&gt;http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/add-join.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the Add Join tool you'll see that the first parameter is &lt;STRONG&gt;​"in_layer_or_view".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/add-join.htm" rel="nofollow" target="_blank"&gt;http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/add-join.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 14:48:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238414#M8135</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-07-29T14:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238415#M8136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that would solve the problem if the script "TrackBuilder" had an output with which I could do the join. But, as you see, nothing comes out of it. The result FC goes directly to the geodatabase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ModelBuilderJoin.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/119881_ModelBuilderJoin.PNG" style="width: 620px; height: 505px;" /&gt;&lt;/P&gt;&lt;P&gt;To me this seems to be an issue with that script, how to edit it so that it outputs something to make the join with?&lt;/P&gt;&lt;P&gt;I am trying an alternative solution &lt;A _jive_internal="true" href="https://community.esri.com/message/539756#539756"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 11:11:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/join-tables-in-model-builder/m-p/238415#M8136</guid>
      <dc:creator>ManuelFrias</dc:creator>
      <dc:date>2015-07-30T11:11:02Z</dc:date>
    </item>
  </channel>
</rss>

