<?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 Why do number field datatypes change to text/string in downloads from Open Data Portal? in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/why-do-number-field-datatypes-change-to-text/m-p/96427#M490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've noticed that all number field datatypes (except for ObjectID) are converted to string datatypes in the Shapefile downloads from Open Data Portal.&lt;/P&gt;&lt;P&gt;For example, in the Open Data Portal for &lt;A _jive_internal="true" href="https://community.esri.com/discussion/pendata.arcgis.com/datasets/287eaa2ecbff4d699762bbc6795ffdca_9"&gt;Washinton DC Parks&lt;/A&gt;, you can see there is a field named "Benches" with a Number datatype:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Open Data Number Datatype" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/228644_open_data-number_datatype1.png" style="width: 620px; height: 313px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, once you download the Shapefile, the datatype is converted to String:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Downloaded from Open Data now String Datatype" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/228645_open_data-number_datatype2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This creates a hassle for people consuming this data if they want to symbolize based on numeric fields, because they have to convert the data in their GIS before they can symbolize using numeric data.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is this by design (if so, why?) or a oversite/bug?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2016 20:58:17 GMT</pubDate>
    <dc:creator>alex_friant</dc:creator>
    <dc:date>2016-09-15T20:58:17Z</dc:date>
    <item>
      <title>Why do number field datatypes change to text/string in downloads from Open Data Portal?</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/why-do-number-field-datatypes-change-to-text/m-p/96427#M490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've noticed that all number field datatypes (except for ObjectID) are converted to string datatypes in the Shapefile downloads from Open Data Portal.&lt;/P&gt;&lt;P&gt;For example, in the Open Data Portal for &lt;A _jive_internal="true" href="https://community.esri.com/discussion/pendata.arcgis.com/datasets/287eaa2ecbff4d699762bbc6795ffdca_9"&gt;Washinton DC Parks&lt;/A&gt;, you can see there is a field named "Benches" with a Number datatype:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Open Data Number Datatype" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/228644_open_data-number_datatype1.png" style="width: 620px; height: 313px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, once you download the Shapefile, the datatype is converted to String:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Downloaded from Open Data now String Datatype" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/228645_open_data-number_datatype2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This creates a hassle for people consuming this data if they want to symbolize based on numeric fields, because they have to convert the data in their GIS before they can symbolize using numeric data.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is this by design (if so, why?) or a oversite/bug?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 20:58:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/why-do-number-field-datatypes-change-to-text/m-p/96427#M490</guid>
      <dc:creator>alex_friant</dc:creator>
      <dc:date>2016-09-15T20:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why do number field datatypes change to text/string in downloads from Open Data Portal?</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/why-do-number-field-datatypes-change-to-text/m-p/96428#M491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also noticed dates become&amp;nbsp;text fields and all text fields&amp;nbsp;are&amp;nbsp;80 characters.&amp;nbsp;Is there a way to preserve the field types (and length) from the source, as export to shapefile would do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 14:16:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/why-do-number-field-datatypes-change-to-text/m-p/96428#M491</guid>
      <dc:creator>HelenaMcMullen</dc:creator>
      <dc:date>2016-09-27T14:16:57Z</dc:date>
    </item>
  </channel>
</rss>

