<?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 Displaying only unique points in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/displaying-only-unique-points/m-p/182041#M10276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&amp;nbsp; I have a layer with 3 million points, of the 3 million there are roughly 70,000 distinct coordinates (but each of the 3 million points also have coordinates). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only need to display the 70,000 unique points but I need to be able to query the 3,000,000 records (using JS API), a simplistic view of the data below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp; SITE&amp;nbsp;&amp;nbsp;&amp;nbsp; LAT&amp;nbsp;&amp;nbsp;&amp;nbsp; LONG&amp;nbsp;&amp;nbsp;&amp;nbsp; PRODUCT&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 1&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 2&lt;BR /&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 3&lt;BR /&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 1&lt;BR /&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 6&lt;BR /&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 9&lt;BR /&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 4&lt;BR /&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 6&lt;BR /&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.4&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 1&lt;BR /&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.4&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 2&lt;BR /&gt;...&lt;BR /&gt;3000000 .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I publish this layer then all 3 million points are plotted which is not great for performance. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For plotting terms I only need to plot the distinct points BUT for querying terms I need to query the entire 3 million rows (using a QueryTask).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the solution may be to create a parent child relationship but Im struggling to see how I can filter on PRODUCT in the child table and then de-reference back to the parent record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2019 12:34:04 GMT</pubDate>
    <dc:creator>chrisweaves</dc:creator>
    <dc:date>2019-01-15T12:34:04Z</dc:date>
    <item>
      <title>Displaying only unique points</title>
      <link>https://community.esri.com/t5/data-management-questions/displaying-only-unique-points/m-p/182041#M10276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&amp;nbsp; I have a layer with 3 million points, of the 3 million there are roughly 70,000 distinct coordinates (but each of the 3 million points also have coordinates). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only need to display the 70,000 unique points but I need to be able to query the 3,000,000 records (using JS API), a simplistic view of the data below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp; SITE&amp;nbsp;&amp;nbsp;&amp;nbsp; LAT&amp;nbsp;&amp;nbsp;&amp;nbsp; LONG&amp;nbsp;&amp;nbsp;&amp;nbsp; PRODUCT&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 1&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 2&lt;BR /&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 3&lt;BR /&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 1&lt;BR /&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 6&lt;BR /&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 9&lt;BR /&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 4&lt;BR /&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 6&lt;BR /&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.4&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 1&lt;BR /&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.4&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product 2&lt;BR /&gt;...&lt;BR /&gt;3000000 .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I publish this layer then all 3 million points are plotted which is not great for performance. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For plotting terms I only need to plot the distinct points BUT for querying terms I need to query the entire 3 million rows (using a QueryTask).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the solution may be to create a parent child relationship but Im struggling to see how I can filter on PRODUCT in the child table and then de-reference back to the parent record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 12:34:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/displaying-only-unique-points/m-p/182041#M10276</guid>
      <dc:creator>chrisweaves</dc:creator>
      <dc:date>2019-01-15T12:34:04Z</dc:date>
    </item>
  </channel>
</rss>

