Open AbelVM opened 8 years ago
hey @AbelVM it'd be nice if you could send a PR, it should be pretty easy based on this one https://github.com/CartoDB/camshaft/blob/master/lib/node/nodes/sampling.js
Cool! will check it and try! :)
This analysis would be somehow like Filter points in polygons, without the filtering. Augmenting your polygons (or points) with the interpolated data of your points. It might go to "CREATE AND CLEAN" section.
cc @saleiva
Let's say you have layer
A
which has a numeric column calledvals
, and a layerB
that you want to enrich from layer B spatially interpolating the values ofvals
in the B geom. This analysis would make use of CDB_SpatialInterpolationExample:
NOTE: In case that the layer's geometries aren't points, we should use the centroids instead.
cc @javisantana