<?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: Prevent IdentifyTask from rounding values? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-identifytask-from-rounding-values/m-p/419111#M38514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm running an IdentifyTask on the following layer:&lt;BR /&gt;&lt;A href="http://207.114.175.57/ArcGIS/rest/services/Lake_Region_Greenprint_Map/MapServer/2"&gt;http://207.114.175.57/ArcGIS/rest/services/Lake_Region_Greenprint_Map/MapServer/2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When I get the results back from the identify, I find that all of the fields that are esriFieldTypeSingle return rounded values.&amp;nbsp; For example, if a value is .4023 in the attribute table, the IdentifyTask returns 0.&amp;nbsp;&amp;nbsp; If I run a QueryTask on the same layer, the values are not rounded.&amp;nbsp; The fields that are type esriFieldTypeDouble are not rounded in the IdentifyTask results, so it seems the issue is with the field type.&lt;BR /&gt;&lt;BR /&gt;I've asked the people who generated the parcel layer to make sure that all fields are set to type esriFieldTypeDouble.&amp;nbsp; They've responded that the table is generated from a number of different sources (including several joins to dbf tables) and that ArcGIS seems to be choosing type single for them when they do the joins. &lt;BR /&gt;&lt;BR /&gt;Can anyone suggest how to resolve this?&amp;nbsp; Is there a way to prevent the IdentifyTask from rounding the values? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jennifer&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this is a very good question. You might be able to format the returned field value, but i don't think you have control on field value itself. It might be an system bug. I will be very interested to know the answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Feb 2011 20:24:56 GMT</pubDate>
    <dc:creator>HemingZhu</dc:creator>
    <dc:date>2011-02-23T20:24:56Z</dc:date>
    <item>
      <title>Prevent IdentifyTask from rounding values?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-identifytask-from-rounding-values/m-p/419110#M38513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running an IdentifyTask on the following layer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://207.114.175.57/ArcGIS/rest/services/Lake_Region_Greenprint_Map/MapServer/2"&gt;http://207.114.175.57/ArcGIS/rest/services/Lake_Region_Greenprint_Map/MapServer/2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I get the results back from the identify, I find that all of the fields that are esriFieldTypeSingle return rounded values.&amp;nbsp; For example, if a value is .4023 in the attribute table, the IdentifyTask returns 0.&amp;nbsp;&amp;nbsp; If I run a QueryTask on the same layer, the values are not rounded.&amp;nbsp; The fields that are type esriFieldTypeDouble are not rounded in the IdentifyTask results, so it seems the issue is with the field type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've asked the people who generated the parcel layer to make sure that all fields are set to type esriFieldTypeDouble.&amp;nbsp; They've responded that the table is generated from a number of different sources (including several joins to dbf tables) and that ArcGIS seems to be choosing type single for them when they do the joins. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone suggest how to resolve this?&amp;nbsp; Is there a way to prevent the IdentifyTask from rounding the values? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jennifer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 18:08:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-identifytask-from-rounding-values/m-p/419110#M38513</guid>
      <dc:creator>JenniferStrahan</dc:creator>
      <dc:date>2011-02-23T18:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent IdentifyTask from rounding values?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-identifytask-from-rounding-values/m-p/419111#M38514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm running an IdentifyTask on the following layer:&lt;BR /&gt;&lt;A href="http://207.114.175.57/ArcGIS/rest/services/Lake_Region_Greenprint_Map/MapServer/2"&gt;http://207.114.175.57/ArcGIS/rest/services/Lake_Region_Greenprint_Map/MapServer/2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When I get the results back from the identify, I find that all of the fields that are esriFieldTypeSingle return rounded values.&amp;nbsp; For example, if a value is .4023 in the attribute table, the IdentifyTask returns 0.&amp;nbsp;&amp;nbsp; If I run a QueryTask on the same layer, the values are not rounded.&amp;nbsp; The fields that are type esriFieldTypeDouble are not rounded in the IdentifyTask results, so it seems the issue is with the field type.&lt;BR /&gt;&lt;BR /&gt;I've asked the people who generated the parcel layer to make sure that all fields are set to type esriFieldTypeDouble.&amp;nbsp; They've responded that the table is generated from a number of different sources (including several joins to dbf tables) and that ArcGIS seems to be choosing type single for them when they do the joins. &lt;BR /&gt;&lt;BR /&gt;Can anyone suggest how to resolve this?&amp;nbsp; Is there a way to prevent the IdentifyTask from rounding the values? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jennifer&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this is a very good question. You might be able to format the returned field value, but i don't think you have control on field value itself. It might be an system bug. I will be very interested to know the answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 20:24:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-identifytask-from-rounding-values/m-p/419111#M38514</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-02-23T20:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent IdentifyTask from rounding values?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-identifytask-from-rounding-values/m-p/419112#M38515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if anyone has found a solution for this. By now i'm facing the same issue - i get back East and Northcoordinates which have regular 1 to 3 Decimal places and are round up after the identifyTask but i need the original Value.&lt;/P&gt;&lt;P&gt;Although i have searched the web i couldn't find any answer for this Problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using Esri Javascript API 3.21&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Miriam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2019 09:19:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/prevent-identifytask-from-rounding-values/m-p/419112#M38515</guid>
      <dc:creator>MiriamBrockmann</dc:creator>
      <dc:date>2019-05-27T09:19:38Z</dc:date>
    </item>
  </channel>
</rss>

