<?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: Feature geometry vs Popup graphic geometry in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-geometry-vs-popup-graphic-geometry/m-p/386371#M35681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bump.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this behavior intentional or accidental? I don't see a situation where I'd want less precise coordinates in my graphic geometry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Nov 2013 17:05:18 GMT</pubDate>
    <dc:creator>RyanClancy</dc:creator>
    <dc:date>2013-11-20T17:05:18Z</dc:date>
    <item>
      <title>Feature geometry vs Popup graphic geometry</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-geometry-vs-popup-graphic-geometry/m-p/386370#M35680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the popup doing to my geometry? It appears to be rounding coordinates to whole numbers. I'm using JSAPI 3.7. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I retrieve a feature from the server via a query the geometry looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
{"paths":[[[2254219.6886,9307566.589100003],[2314023.484099999,9268954.027900003],[2407213.6961999983,9205433.806999996]]],"spatialReference":{"wkid":102100,"latestWkid":3857}}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...but when I use the default Popup behavior (i.e. user clicks on feature, feature is associated with Popup and highlighted with a graphic) the graphic.geometry for the exact same feature looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;{"paths":[[[2254220,9307567],[2314023,9268954],[2407214,9205434]]],"spatialReference":{"wkid":102100,"latestWkid":3857}}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...in other words the Popup graphic is rounding the coordinates to whole numbers. Why? Can I override this somehow? I want to use the geometry of popup.getSelectedFeature() as a spatial parameter for a query to another service but don't get the expected results because of rounded coordinates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 18:30:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-geometry-vs-popup-graphic-geometry/m-p/386370#M35680</guid>
      <dc:creator>RyanClancy</dc:creator>
      <dc:date>2013-11-15T18:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Feature geometry vs Popup graphic geometry</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-geometry-vs-popup-graphic-geometry/m-p/386371#M35681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bump.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this behavior intentional or accidental? I don't see a situation where I'd want less precise coordinates in my graphic geometry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 17:05:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-geometry-vs-popup-graphic-geometry/m-p/386371#M35681</guid>
      <dc:creator>RyanClancy</dc:creator>
      <dc:date>2013-11-20T17:05:18Z</dc:date>
    </item>
  </channel>
</rss>

