I am using the 3rd party scripts for point clustering as published by Globoserve, http://globoserve.posterous.com/ . I followed the instructions to the letter - and just replaced the queryTask variable to point to my point features that are projected in the one of the compatible projection systems.
But the point cluster alogrithm will only cluster a section of points rather than all of my points - see image below.
enter image description here
Can anyone explain why this is happening?
I have tried this with a totally different point layer in US - and it shows a 500 point limit - the same as the pic below!
-
3Is this making a REST query? If so "there is a limit on the number of features included in the feature set response". This would result in your clusterer only getting the first 1000 points.Kirk Kuykendall– Kirk Kuykendall2011年11月23日 17:09:51 +00:00Commented Nov 23, 2011 at 17:09
-
Yes - can you change the limit?Vidar– Vidar2011年11月23日 17:32:20 +00:00Commented Nov 23, 2011 at 17:32
-
Only by changing the config on the server AFIAK. The workaround is to use returnIdsOnly "Clients can exploit this to get all the query conforming object IDs by specifying returnIdsOnly=true and subsequently requesting feature sets for subsets of object IDs".Kirk Kuykendall– Kirk Kuykendall2011年11月23日 17:45:02 +00:00Commented Nov 23, 2011 at 17:45
-
1@KirkKuykendall, can you formulate an answer for this along the lines of changing your config file, MaxRecordCount, for the relevant map service (found in Program Files/ArcGIS/server/user/cfg). Then I can award you the answer/points etc. CheersVidar– Vidar2011年11月24日 09:31:44 +00:00Commented Nov 24, 2011 at 9:31
2 Answers 2
You must change the config file for the map service by manually editing it. The file is found in:
Program Files/ArcGIS/server/user/cfg
Find the entry called
MaxRecordCount
and change to appropriate value.
we did it through the server-side clustering solutions and use Esri js-apis to plot the JSON outputs; pls see the app link: