إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
REST Resource: projects.thumbnails
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
المورد: الصورة المصغّرة
الحقول |
name |
string
اسم المورد الذي يمثّل الصورة المصغّرة، بالتنسيق "projects/*/thumbnails/**" (مثل "projects/earthengine-legacy/thumbnails/").
|
expression |
object (Expression )
التعبير المطلوب احتسابه. يجب أن يتم تقييمها كصورة.
|
fileFormat |
enum (ImageFileFormat )
ترميز الإخراج الذي يتم من خلاله إنشاء الصورة الناتجة
|
bandIds[] |
string
في حال توفّرها، تحدّد مجموعة محدّدة من النطاقات التي سيتم اختيارها من نتيجة تقييم expression . في حال عدم توفّر هذه السمة، سيتم اختيار جميع النطاقات الناتجة عن expression .
|
visualizationOptions |
object (VisualizationOptions )
مجموعة من خيارات العروض المرئية، إن توفّرت، لتطبيقها من أجل إنشاء عرض مرئ للبيانات بتنسيق RGB بدقة 8 بت
|
grid |
object (PixelGrid )
شبكة بكسل اختيارية تصف كيفية إعادة إسقاط الصورة التي تحسبها expression واقتصاصها
|
filenamePrefix |
string
لا يتم استخدام هذا الحقل إلّا عندما يكون تنسيق الملف هو ZIPPED_GEO_TIFF أو ZIPPED_GEO_TIFF_PER_BAND.
|
الطُرق |
|
لإنشاء معرّف يمكن استخدامه لعرض صورة "مصغّرة". |
|
تُحسِّن صورة تعرض نتيجة عملية حسابية. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThumbnails are representations of images, generated by evaluating an expression that results in an image.\u003c/p\u003e\n"],["\u003cp\u003eThey can be customized with visualization options, band selections, and reprojection/clipping using a pixel grid.\u003c/p\u003e\n"],["\u003cp\u003eThumbnail creation involves providing parameters like expression, file format, and optionally visualization options, band IDs, grid, and filename prefix.\u003c/p\u003e\n"],["\u003cp\u003eUsers can initiate thumbnail creation and retrieve image data using designated API methods.\u003c/p\u003e\n"]]],["Thumbnails are created with a name, an expression that evaluates to an image, and a specified file format. Band IDs can be selected from the expression's result, and visualization options can be applied for 8-bit RGB output. A pixel grid can define image reprojection and clipping. A filename prefix is used for ZIPPED_GEO_TIFF output. The `create` method generates a thumbnail ID, and `getPixels` computes and renders the image.\n"],null,["# REST Resource: projects.thumbnails\n\nResource: Thumbnail\n-------------------\n\nInformation about a thumbnail.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"expression\": { object (/earth-engine/reference/rest/v1/Expression) }, \"fileFormat\": enum (/earth-engine/reference/rest/v1/ImageFileFormat), \"bandIds\": [ string ], \"visualizationOptions\": { object (/earth-engine/reference/rest/v1/VisualizationOptions) }, \"grid\": { object (/earth-engine/reference/rest/v1/PixelGrid) }, \"filenamePrefix\": string } ``` |\n\n| Fields ||\n|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name representing the thumbnail, of the form \"projects/\\*/thumbnails/\\*\\*\" (e.g. \"projects/earthengine-legacy/thumbnails/\"). |\n| `expression` | `object (`[Expression](/earth-engine/reference/rest/v1/Expression)`)` The expression to compute. Must evaluate to an Image. |\n| `fileFormat` | `enum (`[ImageFileFormat](/earth-engine/reference/rest/v1/ImageFileFormat)`)` The output encoding in which to generate the resulting image. |\n| `bandIds[]` | `string` If present, specifies a specific set of bands that will be selected from the result of evaluating `expression`. If not present, all bands resulting from `expression` will be selected. |\n| `visualizationOptions` | `object (`[VisualizationOptions](/earth-engine/reference/rest/v1/VisualizationOptions)`)` If present, a set of visualization options to apply to produce an 8-bit RGB visualization of the data. |\n| `grid` | `object (`[PixelGrid](/earth-engine/reference/rest/v1/PixelGrid)`)` An optional pixel grid describing how the image computed by `expression` is reprojected and clipped. |\n| `filenamePrefix` | `string` Only used when fileFormat is ZIPPED_GEO_TIFF or ZIPPED_GEO_TIFF_PER_BAND. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------|---------------------------------------------------------------|\n| ### [create](/earth-engine/reference/rest/v1/projects.thumbnails/create) | Creates an ID that can be used to render a \"thumbnail\" image. |\n| ### [getPixels](/earth-engine/reference/rest/v1/projects.thumbnails/getPixels) | Computes an image showing the result of a computation. |"]]