<?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: Selected features within a buffer not getting accurate results in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-within-a-buffer-not-getting/m-p/96013#M8815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quick question, why are you passing circleBuffer.getExtent, and then looping through the response to find if it is within the circle. pass the circle directly and get the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how the client contains logic is implemented. nor if the point size is considered to identify if it is within or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2015 18:22:24 GMT</pubDate>
    <dc:creator>thejuskambi</dc:creator>
    <dc:date>2015-06-02T18:22:24Z</dc:date>
    <item>
      <title>Selected features within a buffer not getting accurate results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-within-a-buffer-not-getting/m-p/96012#M8814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a Javascript application where I have a MSD published on ArcGIS server and I am using the URL from it's REST services. I am trying to select census block points that fall within a defined buffer distance and get a summary of number of blocks and housing units. I have it working but I am not getting consistent or accurate results, especially as the number of selected features increase.&lt;/P&gt;&lt;P&gt;I have the buffer circle set like this:&lt;/P&gt;&lt;P&gt;circleBuffer = new Circle({ center: mapPoint, geodesic: true, radius: radius, radiusUnit: "esriMiles" });.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="105999" alt="BlockPoints.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/105999_BlockPoints.PNG" style="width: 620px; height: 310px;" /&gt;&lt;/P&gt;&lt;P&gt;When I check the number of blocks selected within a 10 mile buffer around the same block point in ArcMap, I get different results. I tried with changing&amp;nbsp; this,&amp;nbsp; mode: FeatureLayer.MODE_AUTO,&amp;nbsp; to ONDEMAND and SELECTION but still no difference in results.&lt;/P&gt;&lt;P&gt;I have attached the JS file for the application if anyone can take a look at that and suggest what needs to be changed to correct this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 17:42:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-within-a-buffer-not-getting/m-p/96012#M8814</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2015-06-02T17:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Selected features within a buffer not getting accurate results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-within-a-buffer-not-getting/m-p/96013#M8815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quick question, why are you passing circleBuffer.getExtent, and then looping through the response to find if it is within the circle. pass the circle directly and get the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how the client contains logic is implemented. nor if the point size is considered to identify if it is within or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 18:22:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-within-a-buffer-not-getting/m-p/96013#M8815</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2015-06-02T18:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Selected features within a buffer not getting accurate results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-within-a-buffer-not-getting/m-p/96014#M8816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thejus,&lt;/P&gt;&lt;P&gt;I am using this sample from the API reference and that is how it is done here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/query_buffer.html" title="https://developers.arcgis.com/javascript/jssamples/query_buffer.html"&gt;Select with Feature Layer | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you can show me how to do that as per your suggestion I can try and see if that works.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 18:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-within-a-buffer-not-getting/m-p/96014#M8816</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2015-06-02T18:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Selected features within a buffer not getting accurate results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-within-a-buffer-not-getting/m-p/96015#M8817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reasoning behind the esri sample using the circle extent is that the query operation on an extent is much faster and less data is sent to the server. The client side operation of determining if a geomerty is in a polygon or not is very efficient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 18:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-features-within-a-buffer-not-getting/m-p/96015#M8817</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-06-02T18:58:03Z</dc:date>
    </item>
  </channel>
</rss>

