ee.data.getThumbId
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी ऐसेट के लिए थंबनेल आईडी पाएं.
यह थंब आईडी और वैकल्पिक टोकन दिखाता है. अगर कॉलबैक तय किया गया है, तो यह शून्य दिखाता है.
इस्तेमाल | रिटर्न |
---|
ee.data.getThumbId(params, callback) | ThumbnailId |
आर्ग्यूमेंट | टाइप | विवरण |
---|
params | ThumbnailOptions | यह एक ऐसा ऑब्जेक्ट होता है जिसमें थंबनेल के विकल्प होते हैं. इसकी ये वैल्यू हो सकती हैं:
image (ee.Image) थंबनेल बनाने के लिए इमेज. |
bands (स्ट्रिंग का ऐरे) बैंड के नामों का ऐरे. |
format (string) फ़ाइल का फ़ॉर्मैट ("png", "jpg", "geotiff"). |
name (string): बेस नेम. |
इलाके, डाइमेंशन, और विज़ुअलाइज़ेशन के विकल्पों के लिए, ee.Image.getThumbURL का इस्तेमाल करें. |
callback | फ़ंक्शन, ज़रूरी नहीं है | वैकल्पिक कॉलबैक. अगर यह पैरामीटर नहीं दिया जाता है, तो कॉल सिंक्रोनस तरीके से किया जाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe \u003ccode\u003eee.data.getThumbId\u003c/code\u003e function retrieves the thumbnail ID and optional token for a given Earth Engine asset.\u003c/p\u003e\n"],["\u003cp\u003eIt requires thumbnail options as parameters, including the image, band names, file format, and base name.\u003c/p\u003e\n"],["\u003cp\u003eUse \u003ccode\u003eee.Image.getThumbURL\u003c/code\u003e for specifying region, dimensions, and visualization parameters when generating thumbnail URLs.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns the ThumbnailId object or null if a callback function is provided.\u003c/p\u003e\n"]]],[],null,["# ee.data.getThumbId\n\n\u003cbr /\u003e\n\nGet a Thumbnail Id for a given asset.\n\n\u003cbr /\u003e\n\nReturns the thumb ID and optional token, or null if a callback is specified.\n\n| Usage | Returns |\n|--------------------------------------------|-------------|\n| `ee.data.getThumbId(params, `*callback*`)` | ThumbnailId |\n\n| Argument | Type | Details |\n|------------|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `params` | ThumbnailOptions | An object containing thumbnail options with the following possible values: |----------------------------------------------------------------| | ` image ` (ee.Image) The image to make a thumbnail. | | ` bands ` (array of strings) An array of band names. | | ` format ` (string) The file format (\"png\", \"jpg\", \"geotiff\"). | | ` name ` (string): The base name. | Use ee.Image.getThumbURL for region, dimensions, and visualization options support. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]