<?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: Issue with arcpy Data Export: Double Field Loses Decimal Point in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340794#M74320</link>
    <description>&lt;P&gt;Only a guess, could it be that for python the decimal separator has to be a point? What happens if you add a field with the same values and replace the comma to a point?&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2023 08:12:14 GMT</pubDate>
    <dc:creator>JohannesBierer</dc:creator>
    <dc:date>2023-10-24T08:12:14Z</dc:date>
    <item>
      <title>Issue with arcpy Data Export: Double Field Loses Decimal Point</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340786#M74317</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm encountering a peculiar problem when exporting a feature class using the "Export Data" function (arcpy.conversion.ExportFeatures) in ArcGIS. The issue is as follows: after the export, a field of double type loses its decimal point, resulting in a loss of precision in the numbers. For instance, 320.7 becomes 3207 after the export.&lt;/P&gt;&lt;P&gt;I initially thought this could be related to a conversion from double to integer, but that's not the case. The decimal point is simply removed, and the values no longer correspond to what they should be.&lt;/P&gt;&lt;P&gt;Here's the arcpy command I'm using:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;with arcpy.EnvManager(transferDomains="TRANSFER_DOMAINS", preserveGlobalIds=True):&lt;BR /&gt;arcpy.conversion.ExportFeatures(&lt;BR /&gt;in_features=inFC,&lt;BR /&gt;out_features=outFC,&lt;BR /&gt;where_clause="",&lt;BR /&gt;use_field_alias_as_name="NOT_USE_ALIAS",&lt;BR /&gt;field_mapping="",&lt;BR /&gt;sort_field=None&lt;BR /&gt;)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm puzzled as to the cause of this issue. Am I using the function incorrectly, or is this a bug in ArcGIS Pro? Have any of you encountered a similar problem and do you know how to resolve it?&lt;/P&gt;&lt;P&gt;Any assistance or suggestions would be greatly appreciated. Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 07:58:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340786#M74317</guid>
      <dc:creator>lmatteo</dc:creator>
      <dc:date>2023-10-24T07:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with arcpy Data Export: Double Field Loses Decimal Point</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340788#M74318</link>
      <description>&lt;P&gt;Don't know exactly but if you work on a microsoft machine maybe check the regional system settings for decimal separator? It could be that it's not a point?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 07:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340788#M74318</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2023-10-24T07:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with arcpy Data Export: Double Field Loses Decimal Point</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340790#M74319</link>
      <description>&lt;P&gt;it's a comma in my system in the original layer, but this comma is missing in the output layer.&lt;BR /&gt;I've added two screenshots&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 07:59:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340790#M74319</guid>
      <dc:creator>lmatteo</dc:creator>
      <dc:date>2023-10-24T07:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with arcpy Data Export: Double Field Loses Decimal Point</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340794#M74320</link>
      <description>&lt;P&gt;Only a guess, could it be that for python the decimal separator has to be a point? What happens if you add a field with the same values and replace the comma to a point?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 08:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340794#M74320</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2023-10-24T08:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with arcpy Data Export: Double Field Loses Decimal Point</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340807#M74327</link>
      <description>&lt;P&gt;In that case, I should create a text field to change the comma into a point and thus, the dot won't disappear (text field and not double field)&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 08:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340807#M74327</guid>
      <dc:creator>lmatteo</dc:creator>
      <dc:date>2023-10-24T08:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with arcpy Data Export: Double Field Loses Decimal Point</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340809#M74328</link>
      <description>&lt;P&gt;Export Features is a conversion tool.&amp;nbsp; What are you converting from and to?&lt;/P&gt;&lt;P&gt;Does&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/copy-features.htm" target="_blank"&gt;Copy Features (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;produce the same result if there is no type conversion?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 09:26:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1340809#M74328</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-10-24T09:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with arcpy Data Export: Double Field Loses Decimal Point</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1345991#M74875</link>
      <description>&lt;P&gt;Copy Features does not convert my float number, so it's great. Anyway, I can not remove fields at the same time while creating new layer (it's possible to select fields with the Export Features function).&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 09:46:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1345991#M74875</guid>
      <dc:creator>lmatteo</dc:creator>
      <dc:date>2023-11-06T09:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with arcpy Data Export: Double Field Loses Decimal Point</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1346287#M74893</link>
      <description>&lt;P&gt;If memory serves, go into the fields view in the table and hide those that you don't want copied over&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 19:15:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/issue-with-arcpy-data-export-double-field-loses/m-p/1346287#M74893</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-11-06T19:15:59Z</dc:date>
    </item>
  </channel>
</rss>

