<?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 REST API does not deliver the correct coordinate value after the decimal. in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-does-not-deliver-the-correct-coordinate/m-p/444792#M2105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When accessing a feature via REST API I get different results to the real coordinates. The feature is saved @ArcSDE with a resolution of 1000, but the REST API result has more numbers after the decimal. So there might be a problem of displaying the double value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample SQL Statement:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;SELECT sde.st_astext(g.shape) as wkt&amp;nbsp; FROM geodata g&amp;nbsp; WHERE gisid in (1234)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;POLYGON&amp;nbsp; (( 818052.36380000 5742316.96420000,&amp;nbsp; ...)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When accessing the same feature class via REST API Query from ArcGIS Server i will get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;[ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 818052.3638000004, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5742316.9641999993 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ], ... ]&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The feature class has a correct topology but when accessing one feature via ST_GEOMETRY and a neighbour feature via REST API the topology is not correct any more. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a general problem with ArcGIS Server REST API or only with ArcGIS Server for Java? Maybe it is a localization problem, any Idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reference to the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/47857-Different-precision-between-ST_Geometry-SQL-result-and-ArcGIS-Server-REST-API-result" rel="nofollow" target="_blank"&gt;ArcSDE Post&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stefan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ArcGIS Server Java 10 SP 2 on Windows 2008 english&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ArcSDE 10 SP 2, using direct connect for all features @ mxd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Oracle 11.2.0.3 on Windows 2008 german&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 06:27:11 GMT</pubDate>
    <dc:creator>StefanP__Jung</dc:creator>
    <dc:date>2012-01-24T06:27:11Z</dc:date>
    <item>
      <title>REST API does not deliver the correct coordinate value after the decimal.</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-does-not-deliver-the-correct-coordinate/m-p/444792#M2105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When accessing a feature via REST API I get different results to the real coordinates. The feature is saved @ArcSDE with a resolution of 1000, but the REST API result has more numbers after the decimal. So there might be a problem of displaying the double value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample SQL Statement:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;SELECT sde.st_astext(g.shape) as wkt&amp;nbsp; FROM geodata g&amp;nbsp; WHERE gisid in (1234)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;POLYGON&amp;nbsp; (( 818052.36380000 5742316.96420000,&amp;nbsp; ...)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When accessing the same feature class via REST API Query from ArcGIS Server i will get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;[ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 818052.3638000004, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5742316.9641999993 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ], ... ]&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The feature class has a correct topology but when accessing one feature via ST_GEOMETRY and a neighbour feature via REST API the topology is not correct any more. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a general problem with ArcGIS Server REST API or only with ArcGIS Server for Java? Maybe it is a localization problem, any Idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reference to the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/47857-Different-precision-between-ST_Geometry-SQL-result-and-ArcGIS-Server-REST-API-result" rel="nofollow" target="_blank"&gt;ArcSDE Post&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stefan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ArcGIS Server Java 10 SP 2 on Windows 2008 english&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ArcSDE 10 SP 2, using direct connect for all features @ mxd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Oracle 11.2.0.3 on Windows 2008 german&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 06:27:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-does-not-deliver-the-correct-coordinate/m-p/444792#M2105</guid>
      <dc:creator>StefanP__Jung</dc:creator>
      <dc:date>2012-01-24T06:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: REST API does not deliver the correct coordinate value after the decimal.</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-does-not-deliver-the-correct-coordinate/m-p/444793#M2106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Esri was able to reproduce this issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NIM078128 REST JSON geometry query returns incorrect level of precision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stefan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 11:11:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-does-not-deliver-the-correct-coordinate/m-p/444793#M2106</guid>
      <dc:creator>StefanP__Jung</dc:creator>
      <dc:date>2012-02-15T11:11:05Z</dc:date>
    </item>
  </channel>
</rss>

