Draw object clustering(GDK5): Difference between revisions

From Maria GDK Wiki
Jump to navigation Jump to search
()
()
Line 14: Line 14:


== Usage from MariaApplication ==
== Usage from MariaApplication ==
Clustering is controlled from "Draw" tab, "Clustering". Select algorithm and set parameters. Note that depending on selected algorithm, only some parameters may be actively used.
[[File:MariaApplicationClustering.png|thumb|300px|none|Clustering control in MariaApplication]]


== Usage from API ==
== Usage from API ==

Revision as of 12:08, 19 September 2025

Overview

Draw object clustering is used to

  • Make complex situations easier to comprehend
  • Increase performance by reducing information in map

Clustering allows a very large amount of objects to be displayed, without decoding the object data.

Currently, two clustering modes are available:

  • Grid clustering, groups dense clusters of point and area objects and display these as circular or bounded areas
  • Time fade clustering/filter will only display objects that are available within a time window. Fade times can be set globally or per object.


Grid clustering

Usage from MariaApplication

Clustering is controlled from "Draw" tab, "Clustering". Select algorithm and set parameters. Note that depending on selected algorithm, only some parameters may be actively used.

Clustering control in MariaApplication

Usage from API

Bitfield coding

Other