<?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 Changing the data type of a field from a GeoJSON file in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316328#M53783</link>
    <description>&lt;P&gt;Howdy folks:&lt;/P&gt;&lt;P&gt;I am working with ArcGIS Online and have imported a GeoJSON file we generated from some Drone metadata.&amp;nbsp; One of the fields in the data is the mission date for the drone flight.&amp;nbsp; This is stored in the GeoJSON file in the format:&amp;nbsp; YYYYMMDD&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp; &amp;nbsp;20230612&lt;/P&gt;&lt;P&gt;When I create a Feature Layer from this GeoJSON file, the field is turned into an integer data type. When the data is displayed in a map, commas are inserted as if this were an integer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp; &amp;nbsp;20,230,612&lt;/P&gt;&lt;P&gt;When I look at the Fields display and click on this field I can see the Type: Integer. I can change the Field Value Type to Description or Name but that does not influence how the data is displayed.&lt;/P&gt;&lt;P&gt;Is there a way to edit the underlying data types of fields in the GeoJSON file?&lt;/P&gt;&lt;P&gt;Any other tricks I can try to get the data to display without the commas?&lt;/P&gt;&lt;P&gt;Thanks in advance for any suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2023 11:01:47 GMT</pubDate>
    <dc:creator>RichardHolowczak</dc:creator>
    <dc:date>2023-08-08T11:01:47Z</dc:date>
    <item>
      <title>Changing the data type of a field from a GeoJSON file</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316328#M53783</link>
      <description>&lt;P&gt;Howdy folks:&lt;/P&gt;&lt;P&gt;I am working with ArcGIS Online and have imported a GeoJSON file we generated from some Drone metadata.&amp;nbsp; One of the fields in the data is the mission date for the drone flight.&amp;nbsp; This is stored in the GeoJSON file in the format:&amp;nbsp; YYYYMMDD&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp; &amp;nbsp;20230612&lt;/P&gt;&lt;P&gt;When I create a Feature Layer from this GeoJSON file, the field is turned into an integer data type. When the data is displayed in a map, commas are inserted as if this were an integer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp; &amp;nbsp;20,230,612&lt;/P&gt;&lt;P&gt;When I look at the Fields display and click on this field I can see the Type: Integer. I can change the Field Value Type to Description or Name but that does not influence how the data is displayed.&lt;/P&gt;&lt;P&gt;Is there a way to edit the underlying data types of fields in the GeoJSON file?&lt;/P&gt;&lt;P&gt;Any other tricks I can try to get the data to display without the commas?&lt;/P&gt;&lt;P&gt;Thanks in advance for any suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 11:01:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316328#M53783</guid>
      <dc:creator>RichardHolowczak</dc:creator>
      <dc:date>2023-08-08T11:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the data type of a field from a GeoJSON file</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316337#M53784</link>
      <description>&lt;P&gt;You can create a new field of type string or date in your feature layer, then use calculate to populate the new field based on your integer values. I´m not familiar with the import GeoJSON workflow, I guess you would have noticed if you in that workflow could set the date field to string or date type instead of integer.&lt;/P&gt;&lt;P&gt;Here is where you add a field:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndreasHall_0-1691494103154.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77516i3C0B20C85FBC723A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndreasHall_0-1691494103154.png" alt="AndreasHall_0-1691494103154.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Click the field name and choose calculate:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndreasHall_1-1691494228111.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77517i4E648465233BB51D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndreasHall_1-1691494228111.png" alt="AndreasHall_1-1691494228111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the integer type is okay you could also just choose to not show thousand separators in you pop-up. That you can configure in the web map from the fields symbol:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndreasHall_2-1691494672430.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77518iE4B4C33B94392D70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndreasHall_2-1691494672430.png" alt="AndreasHall_2-1691494672430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 11:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316337#M53784</guid>
      <dc:creator>AndreasHall</dc:creator>
      <dc:date>2023-08-08T11:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the data type of a field from a GeoJSON file</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316355#M53785</link>
      <description>&lt;P&gt;Thanks - these are really great tips.&amp;nbsp; Too bad they don't have a TO_DATE function in Arcade or in SQL that will convert an integer to a Date.&amp;nbsp; I suppose I could convert the integer to a String and then pick apart the year, month and day (using Left, Mid and Right functions) and then pass that to the DATE function.&lt;/P&gt;&lt;P&gt;For the display options you mentioned last, where would I navigate to to find those?&amp;nbsp; In my map I only see icons for: Add, Layers, Tables, Basemap, Charts, Legend, Bookmarks, Save and Open, Map Properties, Share Map, etc.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardHolowczak_0-1691497530804.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77521i4C9B4F2EA7A072C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardHolowczak_0-1691497530804.png" alt="RichardHolowczak_0-1691497530804.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 12:25:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316355#M53785</guid>
      <dc:creator>RichardHolowczak</dc:creator>
      <dc:date>2023-08-08T12:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the data type of a field from a GeoJSON file</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316360#M53786</link>
      <description>&lt;P&gt;You would click Layers, then select your layer from the table of contents, and then the symbol you want will appear on the right hand side of the map.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 12:33:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316360#M53786</guid>
      <dc:creator>AndreasHall</dc:creator>
      <dc:date>2023-08-08T12:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the data type of a field from a GeoJSON file</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316374#M53788</link>
      <description>&lt;P&gt;Thanks - now I see those other options. Very helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 13:22:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/changing-the-data-type-of-a-field-from-a-geojson/m-p/1316374#M53788</guid>
      <dc:creator>RichardHolowczak</dc:creator>
      <dc:date>2023-08-08T13:22:14Z</dc:date>
    </item>
  </channel>
</rss>

