Advertisements

Even more aggregations: QGIS point cluster renderer

In the previous post, I demonstrated the aggregation support in QGIS expressions. Another popular request is to aggregate or cluster point features that are close to each other. If you have been following the QGIS project on mailing list or social media, you probably remember the successful cluster renderer crowd-funding campaign by North Road.

The point cluster renderer is implemented and can be tested in the current developer version. The renderer is highly customizable, for example, by styling the cluster symbol and adjusting the distance between points that should be in the same cluster:

Beyond this basic use case, the point cluster renderer can also be combined with categorized visualizations and clusters symbols can be colored in the corresponding category color and scaled by cluster size, as demoed in this video by the developer Nyall Dawson:

Advertisements
9 comments
  1. kampar said:

    Wow… love it …
    Can we test it with QGIS 2.18.19 (Ubuntu) … is there any plugin or script or whatever?
    I’m not in hurry to test dev branch of QGIS … 😀
    I’v tried QGIS Marker Cluster from m.ludwig at datalyze-solutions.com, but it seems lack of auto-refresh …
    TIA

  2. bronwyn said:

    I’ve just started using QGIS and your blog posts are clear and very useful!

    Is there anyway of clustering the data without this plug in (since it’s not out yet!)? I have multiple points, with different attributes, on the same X,Y coordinate. For a particular map, I would like to have graduated symbols reflecting the number of points.

    Ie 3 data points = Symbol Size Small,
    5 data points = Symbol Size Medium,
    7 data points = Symbol Size Large.

    Thanks in advance!

    • There is the point displacement renderer. It rearranges points around a center but it’s not a perfect replacement.

  3. bronwyn said:

    Great, I tried it – not perfect as you said, but always good to learn a different way of doing things! I ended up using the plugin – Marker Cluster. Thank you.

  4. Gladal said:

    Hi ! I’ve just tested and it’s amazing ! Just a question : is it possible to label the cluster point ? I don’t want to know how many points had been clustered but the mean of field’s value of the agregate points.

    • I think that’s a great idea but it doesn’t seem to be possible so far.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: