إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.ImageCollection.limit
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تقصر هذه الدالة المجموعة على عدد العناصر المحدّد، ويمكنك اختياريًا فرزها حسب سمة محدّدة أولاً.
تعرض هذه السمة المجموعة المحدودة.
الاستخدام | المرتجعات |
---|
ImageCollection.limit(max, property, ascending) | مجموعة |
الوسيطة | النوع | التفاصيل |
---|
هذا: collection | مجموعة | مثيل المجموعة |
max | العدد | العدد الذي سيتم تحديد المجموعة به. |
property | سلسلة، اختياري | تمثّل هذه السمة الخاصية التي سيتم الترتيب حسبها، في حال الترتيب. |
ascending | قيمة منطقية، اختيارية | لتحديد ما إذا كان سيتم الترتيب تصاعديًا أو تنازليًا القيمة التلقائية هي "صحيح" (ترتيب تصاعدي). |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eLimits the number of elements within a collection to a specified maximum.\u003c/p\u003e\n"],["\u003cp\u003eOptionally sorts the collection by a given property before limiting the results, in either ascending or descending order.\u003c/p\u003e\n"],["\u003cp\u003eReturns the modified collection with the applied limit and optional sorting.\u003c/p\u003e\n"]]],["The `limit` method restricts a collection to a specified number of elements (`max`). It optionally sorts the collection beforehand by a given `property`. Sorting can be in ascending (default) or descending order, controlled by the `ascending` argument. The method operates on a `Collection` instance and returns the modified, limited `Collection`. The method requires a number for max and accepts an optional String for the property to sort by and an optional boolean for the sort direction.\n"],null,["# ee.ImageCollection.limit\n\n\u003cbr /\u003e\n\nLimit a collection to the specified number of elements, optionally sorting them by a specified property first.\n\n\u003cbr /\u003e\n\nReturns the limited collection.\n\n| Usage | Returns |\n|------------------------------------------------------------|------------|\n| ImageCollection.limit`(max, `*property* `, `*ascending*`)` | Collection |\n\n| Argument | Type | Details |\n|--------------------|-------------------|------------------------------------------------------------------------------------|\n| this: `collection` | Collection | The Collection instance. |\n| `max` | Number | The number to limit the collection to. |\n| `property` | String, optional | The property to sort by, if sorting. |\n| `ascending` | Boolean, optional | Whether to sort in ascending or descending order. The default is true (ascending). |"]]