<?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 Feature layer task in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-task/m-p/13924#M1311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a task at hand and I am not sure how to do it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to display features from a feature layer based on user input e.g 'n' features that have the high (or low) value of a user-selected indicator. Once I am able to display this set of features, I would use this set to categorize it based on certain criteria e.g. features that are above or below some national average for that indicator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I believe needs to happen:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Sort data of the selected indicator in ascending (or descending) order&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Select 'n' features that match the criteria.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Get the unique ids of these features.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Pass these ids as a definition expression for the featureLayer.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Select and display these features&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;Right now I am not sure how to sort and select 'n' features/records from the data. I'll be able to run the definition expression once I have the unique ids.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll appreciate it if someone can direct me to the right resource for me to accomplish this task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Samir Gambhir&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2013 14:05:46 GMT</pubDate>
    <dc:creator>SamirGambhir</dc:creator>
    <dc:date>2013-02-19T14:05:46Z</dc:date>
    <item>
      <title>Feature layer task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-task/m-p/13924#M1311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a task at hand and I am not sure how to do it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to display features from a feature layer based on user input e.g 'n' features that have the high (or low) value of a user-selected indicator. Once I am able to display this set of features, I would use this set to categorize it based on certain criteria e.g. features that are above or below some national average for that indicator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I believe needs to happen:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Sort data of the selected indicator in ascending (or descending) order&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Select 'n' features that match the criteria.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Get the unique ids of these features.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Pass these ids as a definition expression for the featureLayer.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Select and display these features&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;Right now I am not sure how to sort and select 'n' features/records from the data. I'll be able to run the definition expression once I have the unique ids.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll appreciate it if someone can direct me to the right resource for me to accomplish this task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Samir Gambhir&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 14:05:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-task/m-p/13924#M1311</guid>
      <dc:creator>SamirGambhir</dc:creator>
      <dc:date>2013-02-19T14:05:46Z</dc:date>
    </item>
  </channel>
</rss>

