ee.Image.getArray
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ดึงพร็อพเพอร์ตี้จากฟีเจอร์
การใช้งาน | การคืนสินค้า |
---|
Image.getArray(property) | อาร์เรย์ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ object | องค์ประกอบ | ฟีเจอร์ที่จะดึงพร็อพเพอร์ตี้ออกมา |
property | สตริง | พร็อพเพอร์ตี้ที่จะดึง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThe \u003ccode\u003egetArray()\u003c/code\u003e method extracts a specified property's value from a feature, returning it as an array.\u003c/p\u003e\n"],["\u003cp\u003eThis method is used on an \u003ccode\u003eImage\u003c/code\u003e object, requiring the feature and the property name as inputs.\u003c/p\u003e\n"]]],["The function `Image.getArray(property)` extracts a specified property from a feature (Element object). It takes the feature as the context (`this`) and a `property` string as input. The function's return type is an Array, containing the extracted property's value. This operation effectively retrieves specific data associated with a feature, making the data accessible.\n"],null,["# ee.Image.getArray\n\nExtract a property from a feature.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| Image.getArray`(property)` | Array |\n\n| Argument | Type | Details |\n|----------------|---------|-------------------------------------------|\n| this: `object` | Element | The feature to extract the property from. |\n| `property` | String | The property to extract. |"]]