ArcGIS GeoAnalytics Server

Visualize aggregated data in ArcGIS GeoAnalytics Server 10.6.1

Drawing large amounts of raw features on a map – thousands, millions or even billions – is a common request I hear when talking to other ArcGIS users. However, if it is actionable intelligence and an understanding of your data that you are looking for, we recommend something a little different. Adding millions of features to a map – regardless of how they are dispersed geographically – is unlikely to really provide any tangible takeaways. It’s more likely to look like this (aka noise):

Drawing a large amount of points.

However, if you want a quick and easy understanding of your data, aggregation is a good start. And it’s possible to do so in ArcGIS, by first aggregating your features into polygons, and dynamically adjusting the aggregations based on scale. There are a few ways to do this. In this blog post, I’ll focus on new capabilities exposed with ArcGIS GeoAnalytics Server at 10.6.1.

Before I tell you how to do this – let’s see what the results look like:

Zooming in to a layer that has multi-level aggregations and raw points.

Nice, right? So how can you do this?

At 10.6.1, there are two ways to create these layers using GeoAnalytics:

  1. Using the ArcGIS API for Python.
  2. Using the Server and Portal Services REST API.

For both options, you’ll need to be either the owner of the layer or a portal administrator, and the results need to be saved to the spatiotemporal data store.

The following Python notebook shows how to complete this workflow. You can access and modify this Python notebook for your own needs here.

Running GeoAnalytics analysis using a Jupyter Notebook
Running GeoAnalytics analysis using a Jupyter Notebook

To complete this using the REST API, complete the following steps.

    1. Run a GeoAnalytics tool through the ArcGIS Server REST API. In the context parameter, add the following: {"defaultAggregationStyles":true}
    2. When the tool runs, go to the resulting feature service endpoint. The URL will look something like this: . You’ll need admin access to perform the next step, so change the URL by adding /admin/ to /server/rest/services as such: /server/rest/admin/services.
    3. The option to Generate Map Service is now available at that endpoint. Click Generate Map Service Definition, then click generateMapServiceDefinition and copy the JSON output. It should be pretty long.
    4. You’ll now need to log in to the portal sharing API and go to the following endpoint (with your own domain, of course): https:// Fill in the Publish Item form with the following information:
      • Item Id: This is the item ID of the feature service in your portal. You can get this by opening the item in the portal and copying the ID from the URL.
      • Type: Feature Service
      • Publish Parameters: Copy in the JSON from step 3
      • OutputType: bdsMapService
    5. Hit publish!

You will now have a new item in your portal Content page that is a Map Image Layer. Open it up in the Map Viewer, zoom, explore, and start understanding that huge dataset!

About the author

Sarah is a product engineer on the GeoAnalytics team.

Next Article

Considerations for working with color-coded maps in Business Analyst Pro vs. Business Analyst Web App

Read this article