ee.Image.metadata
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Generuje stały obraz typu double na podstawie właściwości metadanych.
Wykorzystanie | Zwroty |
---|
Image.metadata(property, name) | Obraz |
Argument | Typ | Szczegóły |
---|
to: image | Obraz | Obraz, z którego mają być pobierane metadane. |
property | Ciąg znaków | Właściwość, z której ma być pobierana wartość. |
name | Ciąg tekstowy, domyślnie: null | Nazwa pasma wyjściowego. Jeśli nie zostanie określona, będzie taka sama jak nazwa usługi. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]