ee.String.serialize

傳回這個物件的序列化表示法。

用量傳回
String.serialize(legacy)字串
引數類型詳細資料
這個:computedobjectComputedObjectComputedObject 例項。
legacy布林值 (選填)啟用舊版格式。

範例

程式碼編輯器 (JavaScript)

print('Serialized representation of ee.String', ee.String('earth').serialize());

Python 設定

請參閱 Python 環境頁面,瞭解 Python API 和如何使用 geemap 進行互動式開發。

import ee
import geemap.core as geemap

Colab (Python)

print('Serialized representation of ee.String:', ee.String('earth').serialize())