Closed dabreegster closed 1 year ago
:rocket:
What're the ways to aggregate/deal with properties? So far:
enum Aggregation {
/// Copy the value of this property from any input feature containing it. If the property
/// differs among the input, it's undefined which value will be used.
KeepAny,
/// Sum this property as a floating point.
SumFloat,
}
Average/mean is also used, right? We could also have something to collect all unique values into an array, if that's ever used
Sum, mean, first, last. At some point "the value associated with the longest section of linestring that fed into the segment"
Max, min, and x percentile (e.g. 85% percentile speeds) could be useful one day.
What do first
and last
mean -- min and max of a numeric?
min
and max
of numeric, yes. first
can just mean the first appearance in the order that the input is read-in so kind of random.
Open viewer.html
from the latest commit in a browser, load an output geojson file (from the new or old overline implementation, doesn't matter). It uses line thickness to display numeric properties. Think this'll work for manually inspecting test output?
Merging now and adding an issue for all the half-done work mentioned earlier
This has a long way to go, but initial results on a large input:
Outstanding tasks:
geo
, check parsing and writing)