<?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: Can't Make XY Event Layer from a table in ModelBuilder ArcGIS 10.3 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119834#M9413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does the error message say?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2016 23:37:03 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2016-06-21T23:37:03Z</dc:date>
    <item>
      <title>Can't Make XY Event Layer from a table in ModelBuilder ArcGIS 10.3</title>
      <link>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119833#M9412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Had a model built that worked about a month ago and today I can't figure out why it is getting stuck at the Make XY Layer step. Here is the Python code from the model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.MakeXYEventLayer_management(CopiedTbl_View, "Lon", "Lat", XYLayer, "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119522E-09;0.001;0.001;IsHighPrecision", "")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made sure that the table being imported from an Access database in previous steps has the Lat/Lon field in numeric format and still it doesn't work. I have attached a pic of the whole model for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 21:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119833#M9412</guid>
      <dc:creator>StacyStrickland</dc:creator>
      <dc:date>2016-06-21T21:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Make XY Event Layer from a table in ModelBuilder ArcGIS 10.3</title>
      <link>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119834#M9413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does the error message say?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 23:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119834#M9413</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2016-06-21T23:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Make XY Event Layer from a table in ModelBuilder ArcGIS 10.3</title>
      <link>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119835#M9414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Stacy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the below syntax in python very successfully.&amp;nbsp; Does the output from model builder differ from this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Process: Make Query Table...
&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Making table..."
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.MakeQueryTable_management(tbl_source, event_table, "NO_KEY_FIELD", "", "", "")
&amp;nbsp; except:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print arcpy.GetMessages()


&amp;nbsp; # Process: Make XY Event Layer...
&amp;nbsp; print "Creating XY event layer..."
&amp;nbsp; arcpy.MakeXYEventLayer_management(event_table, "X", "Y", event_layer, "PROJCS['NAD_1983_UTM_Zone_17N',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Transverse_Mercator'],PARAMETER['False_Easting',500000.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-81.0],PARAMETER['Scale_Factor',0.9996],PARAMETER['Latitude_Of_Origin',0.0],UNIT['Meter',1.0]];-5120900 -9998100 1000;0 1;0 1;0.002;0.002;0.00002;IsHighPrecision")&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:59:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119835#M9414</guid>
      <dc:creator>andrewj_ca</dc:creator>
      <dc:date>2021-12-11T06:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Make XY Event Layer from a table in ModelBuilder ArcGIS 10.3</title>
      <link>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119836#M9415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="margin-bottom: 0.5em; font-size: 22px; color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;A class="question-hyperlink" href="http://gis.stackexchange.com/questions/10225/error-000212-cannot-create-xy-event-source-failed-to-execute-makexyeventlayer" style="margin: 0 0 0.5em; font-size: 20px; color: #444444; font-weight: normal; font-family: MuseoSlab500, Georgia, Times, sans-serif;"&gt;ERROR 000212: Cannot create XY event source Failed to execute (MakeXYEventLayer)&lt;/A&gt;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 21:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119836#M9415</guid>
      <dc:creator>StacyStrickland</dc:creator>
      <dc:date>2016-06-22T21:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Make XY Event Layer from a table in ModelBuilder ArcGIS 10.3</title>
      <link>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119837#M9416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Other than the projection differences, your Make XY Event Layer code is the same as mine. Thanks, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 21:55:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119837#M9416</guid>
      <dc:creator>StacyStrickland</dc:creator>
      <dc:date>2016-06-22T21:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Make XY Event Layer from a table in ModelBuilder ArcGIS 10.3</title>
      <link>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119838#M9417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it work if done manually in ArcMap?&amp;nbsp; How about if you run the Make XY Event Layer tool on your input?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These might uncover if there's an issue with the input itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 15:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119838#M9417</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2016-06-23T15:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Make XY Event Layer from a table in ModelBuilder ArcGIS 10.3</title>
      <link>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119839#M9418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does work manually in ArcMap using the Make XY Event Layer tool.&lt;/P&gt;&lt;P&gt;I have tried deleting the tool in ModelBuilder and adding it back in with no success. I'm truly stumped!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 22:32:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119839#M9418</guid>
      <dc:creator>StacyStrickland</dc:creator>
      <dc:date>2016-06-24T22:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Make XY Event Layer from a table in ModelBuilder ArcGIS 10.3</title>
      <link>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119840#M9419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stacy-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you found a solution for this yet? &amp;nbsp;I'm having the same problem. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running on ArcGIS Desktop advance 10.4.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 23:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119840#M9419</guid>
      <dc:creator>GregSnelling</dc:creator>
      <dc:date>2017-07-20T23:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Make XY Event Layer from a table in ModelBuilder ArcGIS 10.3</title>
      <link>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119841#M9420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stacy,&lt;/P&gt;&lt;P&gt;I receive a response to one of my posts today on this same issue I had in model builder. &amp;nbsp;Layers (eg. feature layers, table views, or event layers) are stored temporarily in memory. &amp;nbsp;Your script may be getting stuck because it might need to convert to a feature class after creating the xy event layer. &amp;nbsp;Alternatively, you can use Convert Coordinate Notation, which goes from a flat file or excel spreadsheet&amp;nbsp;directly to a point feature class.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Jul 2017 04:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-make-xy-event-layer-from-a-table-in/m-p/119841#M9420</guid>
      <dc:creator>GregSnelling</dc:creator>
      <dc:date>2017-07-22T04:51:14Z</dc:date>
    </item>
  </channel>
</rss>

