<?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 Table View input to Geocode Address tool Issue  in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/table-view-input-to-geocode-address-tool-issue/m-p/183296#M6180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've build this model to query from my database (which succeeds), then geocode the addresses with the input from my query (which fails).&amp;nbsp; The error is shown below.&amp;nbsp; It couldn't open the address table, so used 'Add to Display', exported the data, added it to the model, and it ran fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is, why does the geocode addresses tool not work with the table view (FC) from my make query Layer?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN lang="EN"&gt;LOG:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Executing (Make Query Layer): MakeQueryLayer "Database Connections\Connection to DataWarehouse.sde" …..&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Start Time: Wed Oct 28 11:45:00 2015&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Succeeded at Wed Oct 28 11:45:00 2015 (Elapsed Time: 0.06 seconds)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Executing Geocode Addresses...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;ERROR 000006: Could not open the address table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Failed to execute (Geocode Addresses).&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Failed at Wed Oct 28 11:45:01 2015 (Elapsed Time: 1.07 seconds)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="esri_model_error.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/133857_esri_model_error.JPG" style="height: auto; max-width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="esri_model_error2.JPG" class="image-2 jive-image" height="723" src="https://community.esri.com/legacyfs/online/133865_esri_model_error2.JPG" width="620" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 17:24:08 GMT</pubDate>
    <dc:creator>StuartPersyn</dc:creator>
    <dc:date>2015-10-28T17:24:08Z</dc:date>
    <item>
      <title>Table View input to Geocode Address tool Issue</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/table-view-input-to-geocode-address-tool-issue/m-p/183296#M6180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've build this model to query from my database (which succeeds), then geocode the addresses with the input from my query (which fails).&amp;nbsp; The error is shown below.&amp;nbsp; It couldn't open the address table, so used 'Add to Display', exported the data, added it to the model, and it ran fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is, why does the geocode addresses tool not work with the table view (FC) from my make query Layer?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN lang="EN"&gt;LOG:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Executing (Make Query Layer): MakeQueryLayer "Database Connections\Connection to DataWarehouse.sde" …..&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Start Time: Wed Oct 28 11:45:00 2015&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Succeeded at Wed Oct 28 11:45:00 2015 (Elapsed Time: 0.06 seconds)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Executing Geocode Addresses...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;ERROR 000006: Could not open the address table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Failed to execute (Geocode Addresses).&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Failed at Wed Oct 28 11:45:01 2015 (Elapsed Time: 1.07 seconds)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="esri_model_error.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/133857_esri_model_error.JPG" style="height: auto; max-width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="esri_model_error2.JPG" class="image-2 jive-image" height="723" src="https://community.esri.com/legacyfs/online/133865_esri_model_error2.JPG" width="620" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 17:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/table-view-input-to-geocode-address-tool-issue/m-p/183296#M6180</guid>
      <dc:creator>StuartPersyn</dc:creator>
      <dc:date>2015-10-28T17:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Table View input to Geocode Address tool Issue</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/table-view-input-to-geocode-address-tool-issue/m-p/183297#M6181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of ArcGIS are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you export your model out to python and then post it so I can take a look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 17:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/table-view-input-to-geocode-address-tool-issue/m-p/183297#M6181</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2015-10-28T17:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table View input to Geocode Address tool Issue</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/table-view-input-to-geocode-address-tool-issue/m-p/183298#M6182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, and thanks for looking into this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VERSION:&lt;/P&gt;&lt;P&gt;ArcGIS 10.2.2.3552&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PYTHON SCRIPT:&lt;/P&gt;&lt;P&gt;# -*- coding: utf-8 -*-&lt;BR /&gt;# ---------------------------------------------------------------------------&lt;BR /&gt;# query_geocode_model.py&lt;BR /&gt;# Created on: 2015-10-28 16:03:16.00000&lt;BR /&gt;#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)&lt;BR /&gt;# Description: &lt;BR /&gt;# ---------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;# Import arcpy module&lt;BR /&gt;import arcpy&lt;/P&gt;&lt;P&gt;# Local variables:&lt;BR /&gt;Connection_to_DataWarehouse_sde = "Database Connections\\Connection to DataWarehouse.sde"&lt;BR /&gt;USA_Geocoding_Service = "C:\\ArcGIS\\Business Analyst\\US_2013\\Data\\GEOCODING DATA\\USA Geocoding Service"&lt;BR /&gt;FC = "FC"&lt;BR /&gt;FC_updated = "C:\\VIP Maps\\Current Maps\\Financial_Centers.gdb\\FC_updated"&lt;/P&gt;&lt;P&gt;# Process: Make Query Layer&lt;BR /&gt;arcpy.MakeQueryLayer_management(Connection_to_DataWarehouse_sde, "FC", "SELECT&amp;nbsp;&amp;nbsp; RBr.*&amp;nbsp; , location.addr1line as Address , location.city as City , location.statecd&amp;nbsp; as State , location.zip as Zip&amp;nbsp; FROM CFDAILYVM.reportbranch as RBr&amp;nbsp; JOIN CFDAILYVM.location ON RBr.locationid = location.locationid&amp;nbsp; WHERE&amp;nbsp; 1 =1&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; RBr.FCActiveIn&amp;nbsp; = 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; RBr.FCCloseDt IS NULL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; RBr.VersEndDTTM IS NULL ", "RptBranchNr", "", "", "")&lt;/P&gt;&lt;P&gt;# Process: Geocode Addresses&lt;BR /&gt;arcpy.GeocodeAddresses_geocoding(FC, USA_Geocoding_Service, "Address &amp;lt;None&amp;gt; VISIBLE NONE;City &amp;lt;None&amp;gt; VISIBLE NONE;State &amp;lt;None&amp;gt; VISIBLE NONE;ZIP &amp;lt;None&amp;gt; VISIBLE NONE", FC_updated, "STATIC")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 21:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/table-view-input-to-geocode-address-tool-issue/m-p/183298#M6182</guid>
      <dc:creator>StuartPersyn</dc:creator>
      <dc:date>2015-10-28T21:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Table View input to Geocode Address tool Issue</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/table-view-input-to-geocode-address-tool-issue/m-p/183299#M6183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found a fix over here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/80348"&gt;Create Query Layer Tool Output Object Not Found or Recognized&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this arcpy.mapping.TableView from the link did the trick:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;t = arcpy.mapping.TableView(test[0])&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;arcpy.TableToTable_conversion(t, workspace, "hz002")&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 19:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/table-view-input-to-geocode-address-tool-issue/m-p/183299#M6183</guid>
      <dc:creator>StuartPersyn</dc:creator>
      <dc:date>2015-11-06T19:43:01Z</dc:date>
    </item>
  </channel>
</rss>

