<?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/SOAP api for clustering/grouping data points in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rest-soap-api-for-clustering-grouping-data-points/m-p/740790#M68578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me start by explaining what I am trying to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have about 5 lakh data points and I need to generate a heat-map out of it. I am using &lt;/SPAN&gt;&lt;A href="http://www.patrick-wied.at/static/heatmapjs/"&gt;http://www.patrick-wied.at/static/heatmapjs/&lt;/A&gt;&lt;SPAN&gt; library for this. This library works fine for limited data points. I could render 1 lakh points in 7 secs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rendering these many points on map is NOT possible and is also useless in this case. Each data point provided to the heat-map has 'count' property associated with it which is the frequency of that point. I want to make use of this 'count' property and reduce the number of points I am plotting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For this I need to group (cluster) those points based on the proximity, so that they are converted into say 1000 points with the respective frequencies associated with each point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Does ArcGIS provide any service (REST/SOAP which could be invoked from server say Java code and not client) for this?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is one part. Next, once I do this and generate a heat-map out of it I need to do following. Every time I zoom in/out or rather change the extent of the map I want to know of all the data points I have, how many belong to current extent and if count is less than threshold (say 1000) I will be hiding the heat-map layer and plotting actual points. This way I will be plotting actual points only if they are less than threshold else I will be showing heat-map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;So, is there any ArcGIS service (REST/SOAP which could be invoked from server say Java code and not client) that will take input as geometries (all the data points) and the region ( say any polygon geometry) and tell me how many of those points belong to the input region.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~ Niranjan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2013 13:23:37 GMT</pubDate>
    <dc:creator>NiranjanBorawake</dc:creator>
    <dc:date>2013-01-23T13:23:37Z</dc:date>
    <item>
      <title>REST/SOAP api for clustering/grouping data points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rest-soap-api-for-clustering-grouping-data-points/m-p/740790#M68578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me start by explaining what I am trying to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have about 5 lakh data points and I need to generate a heat-map out of it. I am using &lt;/SPAN&gt;&lt;A href="http://www.patrick-wied.at/static/heatmapjs/"&gt;http://www.patrick-wied.at/static/heatmapjs/&lt;/A&gt;&lt;SPAN&gt; library for this. This library works fine for limited data points. I could render 1 lakh points in 7 secs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rendering these many points on map is NOT possible and is also useless in this case. Each data point provided to the heat-map has 'count' property associated with it which is the frequency of that point. I want to make use of this 'count' property and reduce the number of points I am plotting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For this I need to group (cluster) those points based on the proximity, so that they are converted into say 1000 points with the respective frequencies associated with each point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Does ArcGIS provide any service (REST/SOAP which could be invoked from server say Java code and not client) for this?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is one part. Next, once I do this and generate a heat-map out of it I need to do following. Every time I zoom in/out or rather change the extent of the map I want to know of all the data points I have, how many belong to current extent and if count is less than threshold (say 1000) I will be hiding the heat-map layer and plotting actual points. This way I will be plotting actual points only if they are less than threshold else I will be showing heat-map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;So, is there any ArcGIS service (REST/SOAP which could be invoked from server say Java code and not client) that will take input as geometries (all the data points) and the region ( say any polygon geometry) and tell me how many of those points belong to the input region.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~ Niranjan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 13:23:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rest-soap-api-for-clustering-grouping-data-points/m-p/740790#M68578</guid>
      <dc:creator>NiranjanBorawake</dc:creator>
      <dc:date>2013-01-23T13:23:37Z</dc:date>
    </item>
  </channel>
</rss>

