Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eFeature.toArray()\u003c/code\u003e generates a numerical array from specified object properties.\u003c/p\u003e\n"],["\u003cp\u003eThe function requires a Feature object and a list of property selectors as input.\u003c/p\u003e\n"],["\u003cp\u003eAll selected properties of the object must contain numerical values for array creation.\u003c/p\u003e\n"]]],["Transforms an object into an array of numbers. The `toArray` method, accessed via a `Feature` object, accepts a list of `properties`. These properties, all numerical, are extracted from the `Feature` object and arranged into an array. Each property selector in the list corresponds to an element in the resulting array. The method returns an `Array` containing the selected numerical values.\n"],null,["# ee.Feature.toArray\n\nCreates an array from the given properties of an object, which must all be numbers.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------|---------|\n| Feature.toArray`(properties)` | Array |\n\n| Argument | Type | Details |\n|-----------------|---------|---------------------------------------------------|\n| this: `feature` | Feature | The object from which to select array properties. |\n| `properties` | List | The property selectors for each array element. |"]]