FeatureCluster

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun clusterPoints(features: List<Feature>, maxDistanceKilometers: Double): List<Feature>
Link copied to clipboard
fun deduplicateClosePoints(features: List<Feature>, maxDistanceKilometers: Double): List<Feature>

Removes features that are within thresholdMeters of each other, optimized with a spatial index.