<?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: gis.content.publish rounds off the coordinates of  csv file in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-publish-rounds-off-the-coordinates-of/m-p/1269973#M8522</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/469496"&gt;@RehanChaudhary&lt;/a&gt;&amp;nbsp;Thanks for reporting this issue.&lt;/P&gt;&lt;P&gt;We would like to reproduce this issue locally but could not due to two reasons: 1. Is there additional parameters in the `gis.content.add` method that you used to specify which column is the geometry column? 2. we have limited knowledge of how the co-ordinates looks like, in terms of its representation and data format.&lt;/P&gt;&lt;P&gt;That being said, is it convenient to share with us the csv file you used, and/or more detailed code snippets? You can use attach the csv as attachment(s) here. Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 17:50:50 GMT</pubDate>
    <dc:creator>cpeng_esri</dc:creator>
    <dc:date>2023-03-21T17:50:50Z</dc:date>
    <item>
      <title>gis.content.publish rounds off the coordinates of  csv file</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-publish-rounds-off-the-coordinates-of/m-p/1257515#M8369</link>
      <description>&lt;P&gt;i am trying to publish a feature service from a csv file to my enterprise portal. i first add the csv as an item to the portal and then i publish the feature service from that item. The csv contains the correct lat/long coordinates without any rounding off but when i publish the feature service they are rounded off to 2 decimal places. How can i fix this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is my workflow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;csv_file= "oop.csv"&lt;/P&gt;&lt;P&gt;csv_item = gis.content.add("oop.csv")&lt;/P&gt;&lt;P&gt;csv_item.publish(overwrite=True)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 14:49:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-publish-rounds-off-the-coordinates-of/m-p/1257515#M8369</guid>
      <dc:creator>RehanChaudhary</dc:creator>
      <dc:date>2023-02-13T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.publish rounds off the coordinates of  csv file</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-publish-rounds-off-the-coordinates-of/m-p/1269973#M8522</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/469496"&gt;@RehanChaudhary&lt;/a&gt;&amp;nbsp;Thanks for reporting this issue.&lt;/P&gt;&lt;P&gt;We would like to reproduce this issue locally but could not due to two reasons: 1. Is there additional parameters in the `gis.content.add` method that you used to specify which column is the geometry column? 2. we have limited knowledge of how the co-ordinates looks like, in terms of its representation and data format.&lt;/P&gt;&lt;P&gt;That being said, is it convenient to share with us the csv file you used, and/or more detailed code snippets? You can use attach the csv as attachment(s) here. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 17:50:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-publish-rounds-off-the-coordinates-of/m-p/1269973#M8522</guid>
      <dc:creator>cpeng_esri</dc:creator>
      <dc:date>2023-03-21T17:50:50Z</dc:date>
    </item>
  </channel>
</rss>

