إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.ImageCollection.combine
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تنشئ مجموعة جديدة هي نسخة من الصور في المجموعة الأساسية، وتضيف جميع النطاقات من الصورة في المجموعة الثانوية باستخدام معرّف مطابق. إذا لم تكن هناك معرّفات مطابقة، ستكون المجموعة الناتجة فارغة. وهذا يعادل عملية ربط داخلي حسب المعرّف مع دمج نطاقات النتيجة.
يُرجى العِلم أنّ هذه الخوارزمية تفترض أنّه بالنسبة إلى زوج من المدخلات المتطابقة، يكون لكليهما بصمة وبيانات وصفية متطابقة.
الاستخدام | المرتجعات |
---|
ImageCollection.combine(secondary, overwrite) | ImageCollection |
الوسيطة | النوع | التفاصيل |
---|
هذا: primary | ImageCollection | تمثّل هذه السمة المجموعة الأساسية التي سيتم الانضمام إليها. |
secondary | ImageCollection | المجموعة الثانوية التي سيتم الربط بها. |
overwrite | قيمة منطقية، القيمة التلقائية: false | إذا كانت القيمة "true"، سيتم استبدال النطاقات التي تحمل الاسم نفسه. إذا كانت القيمة false، ستتم إعادة تسمية النطاقات التي تحمل الاسم نفسه. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eCreates a new image collection by combining images from two input collections based on matching IDs.\u003c/p\u003e\n"],["\u003cp\u003eMerges bands from matching images, resulting in an empty collection if no IDs match.\u003c/p\u003e\n"],["\u003cp\u003eImages with the same ID in both input collections are assumed to have identical footprint and metadata.\u003c/p\u003e\n"],["\u003cp\u003eBand names are preserved by default, but can be overwritten using the \u003ccode\u003eoverwrite\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],["The function combines two `ImageCollections` (`primary` and `secondary`) by performing an inner join based on matching IDs. It copies images from the `primary` collection and adds bands from the `secondary` collection with the corresponding ID. If no matching ID is found, the resulting collection is empty. Band names that are the same can either be renamed or overwritten based on the `overwrite` flag. The function returns a new `ImageCollection`.\n"],null,["# ee.ImageCollection.combine\n\nMakes a new collection that is a copy of the images in primary, adding all the bands from the image in secondary with a matching ID. If there are no matching IDs, the resulting collection will be empty. This is equivalent to an inner join on ID with merging of the bands of the result.\n\n\u003cbr /\u003e\n\nNote that this algorithm assumes that for a matching pair of inputs, both have the same footprint and metadata.\n\n| Usage | Returns |\n|-----------------------------------------------------|-----------------|\n| ImageCollection.combine`(secondary, `*overwrite*`)` | ImageCollection |\n\n| Argument | Type | Details |\n|-----------------|-------------------------|-------------------------------------------------------------------------------------------------------------|\n| this: `primary` | ImageCollection | The primary collection to join. |\n| `secondary` | ImageCollection | The secondary collection to join. |\n| `overwrite` | Boolean, default: false | If true, bands with the same name will get overwritten. If false, bands with the same name will be renamed. |"]]