How to activate clustering in AGO ?

1838
12
Jump to solution
09-29-2017 06:17 AM
MetralAlexis
Occasional Contributor

Hi,

I want to try the new AGO Clustering option but for some reasons, I'm not able to access it in any of my services published with AGS 10.3.1

I've added two services in AGO : 

   

  • The one published by my server for which I can't apply clustering because the option is not available

   

Both services are feature ones, in WGS84, respect the considerations mentioned in the ESRI documentation.

What is wrong with my service ?

Thanks.

Alex.

PS : I'm not allowed to share my service, here are the specs :

Layer: Samples_testCluster (ID: 0)

Name: Samples_testCluster
Display Field: FieldSample_ID
Type: Feature Layer
Geometry Type: esriGeometryPoint
Description:
Definition Expression: N/A
Copyright Text:
Default Visibility: true
MaxRecordCount: 1000
Supported Query Formats: JSON, AMF
Min Scale: 0
Max Scale: 0
Supports Advanced Queries: true
Supports Statistics: true
Has Labels: false
Can Modify Layer: false
Can Scale Symbols: false
Use Standardized Queries: true
Extent:
      XMin: -155.98999999999998
      YMin: -51.799999999999955
      XMax: 175.86
      YMax: 132.20000000000005
      Spatial Reference: 4326  (4326)
Drawing Info: Renderer: Simple Renderer:
Symbol: Style:
          esriSMSCircle
Color:
          [0, 173, 113, 255]
Size:
          4.0
Angle:
          0.0
XOffset:
          0
YOffset:
          0
Outline:
            [0, 0, 0, 255]
Width:
            1
Label:
Description: Transparency:
      0
Labeling Info: Advanced Query Capabilities:
      Supports Statistics: true
      Supports OrderBy: true
      Supports Distinct: true
      Supports Pagination: false
      Supports TrueCurve: true

HasZ: false
HasM: false
Has Attachments: false
HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText
Type ID Field: null
Fields:
  • OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID )
  • FieldSample_ID ( type: esriFieldTypeString , alias: FieldSample_ID , length: 20 )
  • FieldSample ( type: esriFieldTypeString , alias: FieldSample , length: 254 )
  • Type ( type: esriFieldTypeString , alias: Type , length: 11 )
  • Comments ( type: esriFieldTypeString , alias: Comments , length: 4000 )
  • WGS84_X ( type: esriFieldTypeDouble , alias: WGS84_X )
  • WGS84_Y ( type: esriFieldTypeDouble , alias: WGS84_Y )
  • Shape ( type: esriFieldTypeGeometry , alias: Shape )
Supported Operations:   Query   Generate Renderer   Return Updates
0 Kudos
1 Solution

Accepted Solutions
BrianFausel
Occasional Contributor III

Here's another good read about pagination: Error: Pagination is not supported, it shows you where to look in the REST service to see if pagination is supported. It should work for you if you upload to AGOL - I was able to get it to work with our data. Another reason to (hopefully) upgrade SQL soon.

View solution in original post

12 Replies
JayantaPoddar
MVP Esteemed Contributor

Are you logged into an AGOL organizational account?

Have you checked the considerations for configuring clustering?

  • Clustering is supported on hosted point feature layers, ArcGIS Server 10.3.1 and later point feature layers, CSV layers, and feature collections.
  • Clustering is not supported on multipoint feature layers.
  • Clustering is only supported for up to 50,000 features in a layer.
  • To configure clustering on a point layer, the map must be in the WGS 84 or Web Mercator coordinate system.
  • Clustering is disabled during an edit session.


Think Location
MetralAlexis
Occasional Contributor

Hi Jayanta,

Yes, my service respects all of these requirements, that's why I don'T understand why it doesn't work.

Thanks.

Alex.

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

Try adding FeatureServer URL (".../FeatureServer/0") of the REST service, not the "...MapServer" one.



Think Location
0 Kudos
MetralAlexis
Occasional Contributor
0 Kudos
JayantaPoddar
MVP Esteemed Contributor

What is the version of ArcGIS Server that you have?



Think Location
0 Kudos
MetralAlexis
Occasional Contributor

Version is 10.3.1

0 Kudos
KellyGerrow
Esri Frequent Contributor

I'd suggest getting in contact with https://community.esri.com/groups/technical-support?sr=search&searchId=a4cbe1ad-130b-453f-b376-9f3c8...‌ to look into the specific issue.

0 Kudos
BrianFausel
Occasional Contributor III

What is the version of the DBMS for your Server 10.3.1? According to Diana in this blog (scroll down to discussion), it must support pagination for clustering to work. I also tried clustering with my feature services and they don't work (I believe) because I am still running SQL Server 2008 R2. This version of SQL doesn't appear to support pagination.

MetralAlexis
Occasional Contributor

Hi Brian,

Oh my god, I never read the comments of that page, stopped at the end of the post !

Thanks for the clue. Indeed, we use SQL server 2008R2.

I'll test if with features hosted in ArcGIS Online.

Thanks.

0 Kudos