我用fastDistanceTransform函数成功地提取了最近的人类住区的距离,其中原始层是一幅图像(DLR/WSF/WSF 2015/v1)。我想重复这个距离最近的道路,但道路数据集是一个featureCollection,而不是一个图像。var dataset = ee.FeatureCollection('TIGER/2016/Roads') var num = ee.Number.parse(feature.get('linearid'));
我想使用rgee为Feature Collection的每个元素添加一个属性。我的这个特征集合只是一个多边形的列表,我想为每个几何图形添加一个ID (它是不同的)。到目前为止,我已经做到了: library(rgee)library(readr) download data here #Read polygons
collection
问题:我正在尝试在R中安装RGEE包。我已经安装了rgee和带有依赖项的网格化包。然后我运行了这行代码。ee_install(py_env = "rgee") 在创建Python环境之后,我收到了这条消息,并选择继续。rgee::ee_install want to store the environment variables: EARTHENGINE_PYTHON C