mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-06 02:15:41 +02:00
Use circular mean to determine how categorical each attribute is
This commit is contained in:
@@ -22,6 +22,11 @@ struct type_and_string_stats {
|
||||
double min = INFINITY;
|
||||
double max = -INFINITY;
|
||||
int type = 0;
|
||||
|
||||
// for circular mean of value hashes
|
||||
double xsum = 0;
|
||||
double ysum = 0;
|
||||
size_t count = 0;
|
||||
};
|
||||
|
||||
struct layermap_entry {
|
||||
|
||||
Reference in New Issue
Block a user