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):
A geometry or feature.
properties (Object, optional):
A dictionary of metadata properties. If the first parameter is a Feature (instead of a geometry), this is unused.
Returns: Feature
geometry(maxError, proj, geodesics)
DEPRECATED: Use Element.geometry()
Returns the geometry of a given feature in a given projection.
Arguments:
this