要创建Feature
,请为构造函数提供Geometry
和(可选)其他属性的字典。例如:
ee.Feature(geometry, properties)
可以从以下参数之一加上可选的属性字典构建功能:
Features can be constructed from one of the following arguments plus an optional dictionary of properties:
- An ee.Geometry.
- A GeoJSON Geometry.
- A GeoJSON Feature.
- A computed object: reinterpreted as a geometry if properties are specified, and as a feature if they aren't.
Arguments:
geometry (ComputedObject|Feature|Geometry|Object)