إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
Export.video.toDrive
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تنشئ هذه الدالة مهمة مجمّعة لتصدير ImageCollection كفيديو إلى Drive. يجب أن تحتوي المجموعة على صور RGB فقط. يمكن بدء المهام من علامة التبويب "مهام Google". تستبعد "crsTransform" و"scale" و "dimensions" بعضها البعض.
الاستخدام | المرتجعات |
---|
Export.video.toDrive(collection, description, folder, fileNamePrefix, framesPerSecond, dimensions, region, scale, crs, crsTransform, maxPixels, maxFrames, priority) | |
الوسيطة | النوع | التفاصيل |
---|
collection | ImageCollection | مجموعة الصور المطلوب تصديرها |
description | سلسلة، اختياري | اسم المهمة الذي يمكن للمستخدم قراءته يمكن أن يحتوي على أحرف أو أرقام أو - أو _ (بدون مسافات). القيمة التلقائية هي "myExportVideoTask". |
folder | سلسلة، اختياري | مجلد Google Drive الذي سيتم تخزين عملية التصدير فيه ملاحظة: (أ) إذا كان اسم المجلد متوفّرًا في أي مستوى، تتم كتابة الناتج فيه، (ب) إذا كانت أسماء المجلدات مكرّرة، تتم كتابة الناتج في المجلد الذي تم تعديله مؤخرًا، (ج) إذا لم يكن اسم المجلد متوفّرًا، سيتم إنشاء مجلد جديد في الجذر، (د) يتم تفسير أسماء المجلدات التي تتضمّن فواصل (مثل "path/to/file") كسلاسل حرفية، وليس كمسارات نظام. يتم ضبط القيمة التلقائية على جذر Drive. |
fileNamePrefix | سلسلة، اختياري | بادئة اسم الملف يمكن أن يحتوي على أحرف أو أرقام أو - أو _ (بدون مسافات). القيمة التلقائية هي الوصف. |
framesPerSecond | رقم، اختياري | معدّل عرض اللقطات للفيديو الذي تم تصديره يجب أن تكون قيمة بين 0.1 و100. القيمة التلقائية هي 1. |
dimensions | Number|String, optional | الأبعاد التي سيتم استخدامها للصورة التي تم تصديرها يجب إدخال عدد صحيح موجب واحد كحدّ أقصى للبعد أو "العرضxالارتفاع" حيث يكون كل من العرض والارتفاع عددًا صحيحًا موجبًا. |
region | Geometry.LinearRing|Geometry.Polygon|String، اختياري | تمثّل هذه السمة منطقة التصدير على شكل LinearRing أو Polygon أو إحداثيات. يمكن تحديدها كعناصر هندسية أو إحداثيات مسلسلة كسلسلة. |
scale | رقم، اختياري | درجة الدقة بالمتر لكل بكسل |
crs | سلسلة، اختياري | نظام الإحداثيات المرجعي (CRS) الذي سيتم استخدامه للصورة التي تم تصديرها القيمة التلقائية هي إسقاط مركاتور في "خرائط Google"، SR-ORG:6627. |
crsTransform | سلسلة، اختياري | التحويل الأفيني الذي سيتم استخدامه للصورة التي تم تصديرها يتطلّب تحديد "crs". |
maxPixels | رقم، اختياري | تقييد عدد وحدات البكسل في عملية التصدير بشكلٍ تلقائي، سيظهر لك خطأ إذا تجاوزت عملية التصدير 100 مليون بكسل. يسمح ضبط هذه القيمة بشكلٍ صريح برفع هذا الحدّ أو خفضه. |
maxFrames | رقم، اختياري | اضبط الحد الأقصى لعدد اللقطات التي تريد تصديرها. يمكن تصدير 1000 إطار كحدّ أقصى بشكلٍ تلقائي. ومن خلال ضبط هذا الحدّ بشكل صريح، يمكنك رفعه أو خفضه. |
priority | رقم، اختياري | أولوية المهمة ضمن المشروع يتم تحديد موعد أقرب للمهام ذات الأولوية الأعلى. يجب أن تكون القيمة عددًا صحيحًا يتراوح بين 0 و9999. القيمة التلقائية هي 100. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eExports an ImageCollection containing only RGB images as a video to Google Drive.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of video parameters such as frame rate, dimensions, region, and resolution.\u003c/p\u003e\n"],["\u003cp\u003eProvides options to specify the output filename, folder in Google Drive, and task priority.\u003c/p\u003e\n"],["\u003cp\u003eUsers can define the coordinate system and affine transformation for the exported video.\u003c/p\u003e\n"],["\u003cp\u003eLimits can be set on the maximum number of pixels and frames in the exported video to manage processing resources.\u003c/p\u003e\n"]]],[],null,["# Export.video.toDrive\n\n\u003cbr /\u003e\n\nCreates a batch task to export an ImageCollection as a video to Drive. The collection must only contain RGB images. Tasks can be started from the Tasks tab. \"crsTransform\", \"scale\", and \"dimensions\" are mutually exclusive.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| `Export.video.toDrive(collection, `*description* `, `*folder* `, `*fileNamePrefix* `, `*framesPerSecond* `, `*dimensions* `, `*region* `, `*scale* `, `*crs* `, `*crsTransform* `, `*maxPixels* `, `*maxFrames* `, `*priority*`)` | |\n\n| Argument | Type | Details |\n|-------------------|---------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `collection` | ImageCollection | The image collection to export. |\n| `description` | String, optional | A human-readable name of the task. May contain letters, numbers, -, _ (no spaces). Defaults to \"myExportVideoTask\". |\n| `folder` | String, optional | The Google Drive Folder that the export will reside in. Note: (a) if the folder name exists at any level, the output is written to it, (b) if duplicate folder names exist, output is written to the most recently modified folder, (c) if the folder name does not exist, a new folder will be created at the root, and (d) folder names with separators (e.g. 'path/to/file') are interpreted as literal strings, not system paths. Defaults to Drive root. |\n| `fileNamePrefix` | String, optional | The filename prefix. May contain letters, numbers, -, _ (no spaces). Defaults to the description. |\n| `framesPerSecond` | Number, optional | The framerate of the exported video. Must be a value between 0.1 and 100. Defaults to 1. |\n| `dimensions` | Number\\|String, optional | The dimensions to use for the exported image. Takes either a single positive integer as the maximum dimension or \"WIDTHxHEIGHT\" where WIDTH and HEIGHT are each positive integers. |\n| `region` | Geometry.LinearRing\\|Geometry.Polygon\\|String, optional | A LinearRing, Polygon, or coordinates representing region to export. These may be specified as the Geometry objects or coordinates serialized as a string. |\n| `scale` | Number, optional | Resolution in meters per pixel. |\n| `crs` | String, optional | CRS to use for the exported image. Defaults to the Google Maps Mercator projection, SR-ORG:6627. |\n| `crsTransform` | String, optional | Affine transform to use for the exported image. Requires \"crs\" to be defined. |\n| `maxPixels` | Number, optional | Restrict the number of pixels in the export. By default, you will see an error if the export exceeds 1e8 pixels. Setting this value explicitly allows one to raise or lower this limit. |\n| `maxFrames` | Number, optional | Set the maximum number of frames to export. By default, a maximum of 1000 frames may be exported. By setting this explicitly, you may raise or lower this limit. |\n| `priority` | Number, optional | The priority of the task within the project. Higher priority tasks are scheduled sooner. Must be an integer between 0 and 9999. Defaults to 100. |"]]