powered by
Function to avoid having events at the same location.
clean_events(events, digits = 5, agg = NULL)
A new feature collection of points
The feature collection of points to contract (must have a weight column)
The number of digits to keep
A double indicating if the points must be aggregated within a distance. if NULL, then the points are aggregated by rounding the coordinates.
#This is an internal function, no example provided
Run the code above in your browser using DataLab