ee.Image.metadata
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างรูปภาพคงที่ประเภท Double จากพร็อพเพอร์ตี้ข้อมูลเมตา
การใช้งาน | การคืนสินค้า |
---|
Image.metadata(property, name) | รูปภาพ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ image | รูปภาพ | รูปภาพที่จะดึงข้อมูลเมตา |
property | สตริง | พร็อพเพอร์ตี้ที่จะใช้ค่า |
name | สตริง ค่าเริ่มต้น: null | ชื่อของแถบเอาต์พุต หากไม่ระบุ ชื่อจะเหมือนกับชื่อพร็อพเพอร์ตี้ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eGenerates a double-type constant image based on a specified image metadata property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImage.metadata()\u003c/code\u003e method takes the image, property name, and an optional output band name as arguments.\u003c/p\u003e\n"],["\u003cp\u003eIf the output band name isn't provided, it defaults to the metadata property name.\u003c/p\u003e\n"]]],[],null,["# ee.Image.metadata\n\nGenerates a constant image of type double from a metadata property.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------|---------|\n| Image.metadata`(property, `*name*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|-----------------------|-----------------------------------------------------------------------------------------|\n| this: `image` | Image | The image from which to get the metadata |\n| `property` | String | The property from which to take the value. |\n| `name` | String, default: null | The name for the output band. If unspecified, it will be the same as the property name. |"]]