تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تُحسِّن هذه الوظيفة وحدات بكسل من خلال إجراء عملية حسابية عشوائية على بيانات الصورة.
تقتصر الطلبات على 48 ميغابايت من البيانات غير المضغوطة لكل طلب، ويتم احتسابها على أنّها حاصل ضرب أبعاد الطلب بالبكسل وعدد نطاقات الصور المطلوبة وعدد وحدات البايت لكل بكسل لكل نطاق. تقتصر الطلبات أيضًا على 32 ألف بكسل كحد أقصى في أي من الأبعاد و1024 نطاقًا كحد أقصى. سيؤدي تجاوز هذه الحدود القصوى إلى ظهور رمز الخطأ 400 (BAD_REQUEST).
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على بيانات البكسل المطلوبة بترميز محدّد في حقل fileFormat من الطلب.
طلب HTTP
POST https://earthengine.googleapis.com/v1/{project=projects/*}/image:computePixels
مَعلمات تصف كيفية إعادة إسقاط الصورة التي تم احتسابها بواسطة expression واقتصاصها وفي حال عدم توفّر هذا الحقل، يتم عرض الصورة المحسوبة بالكامل في الإسقاط الأصلي.
bandIds[]
string
في حال توفّرها، تحدّد مجموعة محدّدة من النطاقات التي سيتم اختيارها من نتيجة تقييم expression. في حال عدم توفّر هذه السمة، سيتم اختيار جميع النطاقات الناتجة عن expression.
تاريخ التعديل الأخير: 2025-03-06 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-03-06 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `image:computePixels` method computes a tile of pixels by performing an arbitrary computation on image data provided as an expression."],["Request size is limited to 48MB of uncompressed data, 32K pixels in each dimension, and 1024 bands, with exceeding requests resulting in a 400 (BAD_REQUEST) error."],["Successful responses contain the requested pixel data in the specified file format."],["Users can customize output through parameters like `fileFormat`, `grid`, `bandIds`, and `visualizationOptions` to control the data format, projection, bands selection, and visualization, respectively."],["Proper authorization with specific OAuth scopes, such as `https://www.googleapis.com/auth/earthengine`, is required for accessing this API."]]],["This content details the process of computing a tile of pixels from image data via a `POST` request to `https://earthengine.googleapis.com/v1/{project=projects/*}/image:computePixels`. Requests specify an `expression`, `fileFormat`, `grid`, optional `bandIds`, `visualizationOptions`, and a `workloadTag`. The request is limited to 48MB of uncompressed data, 32K pixels per dimension, and 1024 bands. Successful responses return requested pixel data in the specified format, with various authorization scopes available.\n"]]