I have the polygons for census tracts within New York City. I also have the polygons for the parks. What I would like is % of the census tract area, with an added 400 meter buffer, that is park.
I'm not sure if this is possible with Google Earth Engine. If it is, these are the steps that would be necessary.
- Add a buffer to the census tract polygons
- Calculate the area of each buffered polygon (A)
- Calculate that area of park that intersects with each buffered polygon (Ap)
- Divide Ap/A to calculate the percentage of park area within the buffered tract
Like I said, I'm not even sure if this is possible in GEE. Any pointers?
As requested, the data:
var parks = ee.FeatureCollection("users/tomlogan/NYC_parks"), tracts = ee.FeatureCollection("users/tomlogan/NYC_tracts");