<?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 XYTableToPoint not working in a linux CentOS env. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/xytabletopoint-not-working-in-a-linux-centos-env/m-p/1180480#M64714</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm trying to move most of mine arcpy standalone scripts from my desktop machine (Windows, ofc) to my ArcGIS Server machine (linux CentOS).&lt;/P&gt;&lt;P&gt;But i'm getting an error when trying to use XYTableToPoint:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ERROR 000732: Feature Class Location: Dataset \home\servicos\GEODATABASES\ATUALIZA_RESUMOS.gdb does not exist or is not supported
Failed to execute (CreateFeatureclass).


Failed to execute (XYTableToPoint).&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a sample code from where i'm getting this error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy

df_fato = r"/home/servicos/GEODATABASES/ATUALIZA_RESUMOS.gdb/df_fato"
df_fato_feature = r"/home/servicos/GEODATABASES/ATUALIZA_RESUMOS.gdb/df_fato_feature"


arcpy.management.XYTableToPoint(in_table = df_fato, out_feature_class = df_fato_feature, x_field="LNG", y_field="LAT", z_field="")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This same script works very well in my windows env, but i'm getting this weird output in linux.&lt;/P&gt;&lt;P&gt;Bellow my windows arcpy script that work pretty well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
df_fato = r"C:\\ArcGIS_Projects\\Atualiza_Resumo\\Atualiza_Resumo.gdb\\df_fato"
df_fato_feature = r"C:\\ArcGIS_Projects\\Atualiza_Resumo\\Atualiza_Resumo.gdb\\df_fato_feature"


arcpy.management.XYTableToPoint(in_table=df_fato, out_feature_class=df_fato_feature, x_field="LNG", y_field="LAT", z_field="", coordinate_system="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.98315284119521E-09;0.001;0.001;IsHighPrecision")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my linux env the "ATUALIZA_RESUMO.gdb" was created by&amp;nbsp;CreateFileGDB_management method, but in windows it was created by ArcGIS PRO.&lt;/P&gt;&lt;P&gt;Would love some help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 01:35:32 GMT</pubDate>
    <dc:creator>HenriqueJoner</dc:creator>
    <dc:date>2022-06-07T01:35:32Z</dc:date>
    <item>
      <title>XYTableToPoint not working in a linux CentOS env.</title>
      <link>https://community.esri.com/t5/python-questions/xytabletopoint-not-working-in-a-linux-centos-env/m-p/1180480#M64714</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm trying to move most of mine arcpy standalone scripts from my desktop machine (Windows, ofc) to my ArcGIS Server machine (linux CentOS).&lt;/P&gt;&lt;P&gt;But i'm getting an error when trying to use XYTableToPoint:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ERROR 000732: Feature Class Location: Dataset \home\servicos\GEODATABASES\ATUALIZA_RESUMOS.gdb does not exist or is not supported
Failed to execute (CreateFeatureclass).


Failed to execute (XYTableToPoint).&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a sample code from where i'm getting this error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy

df_fato = r"/home/servicos/GEODATABASES/ATUALIZA_RESUMOS.gdb/df_fato"
df_fato_feature = r"/home/servicos/GEODATABASES/ATUALIZA_RESUMOS.gdb/df_fato_feature"


arcpy.management.XYTableToPoint(in_table = df_fato, out_feature_class = df_fato_feature, x_field="LNG", y_field="LAT", z_field="")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This same script works very well in my windows env, but i'm getting this weird output in linux.&lt;/P&gt;&lt;P&gt;Bellow my windows arcpy script that work pretty well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
df_fato = r"C:\\ArcGIS_Projects\\Atualiza_Resumo\\Atualiza_Resumo.gdb\\df_fato"
df_fato_feature = r"C:\\ArcGIS_Projects\\Atualiza_Resumo\\Atualiza_Resumo.gdb\\df_fato_feature"


arcpy.management.XYTableToPoint(in_table=df_fato, out_feature_class=df_fato_feature, x_field="LNG", y_field="LAT", z_field="", coordinate_system="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.98315284119521E-09;0.001;0.001;IsHighPrecision")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my linux env the "ATUALIZA_RESUMO.gdb" was created by&amp;nbsp;CreateFileGDB_management method, but in windows it was created by ArcGIS PRO.&lt;/P&gt;&lt;P&gt;Would love some help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 01:35:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/xytabletopoint-not-working-in-a-linux-centos-env/m-p/1180480#M64714</guid>
      <dc:creator>HenriqueJoner</dc:creator>
      <dc:date>2022-06-07T01:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: XYTableToPoint not working in a linux CentOS env.</title>
      <link>https://community.esri.com/t5/python-questions/xytabletopoint-not-working-in-a-linux-centos-env/m-p/1180504#M64715</link>
      <description>&lt;P&gt;I would try to run ListWorkspaces to see if arcpy is able to find any workspaces, then deal with why it can't find yours. It is odd that the slashes are being reversed.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 04:54:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/xytabletopoint-not-working-in-a-linux-centos-env/m-p/1180504#M64715</guid>
      <dc:creator>DonMorrison1</dc:creator>
      <dc:date>2022-06-07T04:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: XYTableToPoint not working in a linux CentOS env.</title>
      <link>https://community.esri.com/t5/python-questions/xytabletopoint-not-working-in-a-linux-centos-env/m-p/1180631#M64721</link>
      <description>&lt;P&gt;Just found what was causing this issue, on Traceback i saw that arcpy was trying to get "Data Management Tools.tbx" from a Windows path folder... just add arcpy.ImportToolbox("~right linux path /Data Management Tolls.tbx") on my script and bingo.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 15:00:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/xytabletopoint-not-working-in-a-linux-centos-env/m-p/1180631#M64721</guid>
      <dc:creator>HenriqueJoner</dc:creator>
      <dc:date>2022-06-07T15:00:58Z</dc:date>
    </item>
  </channel>
</rss>

