Is it possible to use Turf and place a buffer on a point and aggregate a field from polygons?
Say I have two geojson layers in a Leaflet map. One layer is polygons for small areas with population data and the other layer is points from locations. Using Turf, it would be easy to place a buffer of a certain radius over those points but would it be possible to aggregate the population data from the polygons of the first layer using this buffer?
We can use a buffer to aggregate from points but from polygons? I havent seen any examples.If not, is there a way to do this?
أكثر...
Say I have two geojson layers in a Leaflet map. One layer is polygons for small areas with population data and the other layer is points from locations. Using Turf, it would be easy to place a buffer of a certain radius over those points but would it be possible to aggregate the population data from the polygons of the first layer using this buffer?
We can use a buffer to aggregate from points but from polygons? I havent seen any examples.If not, is there a way to do this?
أكثر...