קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יצירת מזהה שאפשר להשתמש בו כדי להציג נתוני 'טבלה'.
משתמשים בו בשילוב עם GetTableFeatures. קריאה ל-tables.create מספקת ביטוי וכמה אפשרויות פלט. התוצאה של tables.create היא מזהה שמייצג טבלה שהיא תוצאת הערכת הביטוי הזה והחלה של האפשרויות האלה. לאחר מכן, אפשר לבצע קריאות ל-GetTableFeatures כדי לקבל את נתוני הטבלה של כל הטבלה שנוצרה. התעודה המזהה תהיה תקפה למשך פרק זמן קצר (כמה שעות).
התרחיש לדוגמה הנפוץ ביותר לשימוש בשני נקודות הקצה האלה הוא לספק ביטוי מורכב באמצעות POST אל tables.create, ולאחר מכן לאחזר את הטבלה המחושבת באמצעות GET אל GetTableFeatures. התהליך הזה, שמורכב משני חלקים, מאפשר שימוש במצבים רבים יותר מאשר ComputeFeatures. באופן ספציפי: - התוצאה של ComputeFeatures דורשת חלוקה לדפים כדי לקבל את כל התכונות. בנוסף, המערכת מחזירה רק ערכים ספציפיים של Feature. - רק משתמש מורשה יכול להפעיל את ComputeFeatures באמצעות אסימון OAuth ברמת היקף מתאימה. ל-tables.create יש את אותה הגבלה, אבל אפשר להפעיל את GetTableData באמצעות כתובת URL שמכילה מפתח API, כך שאפשר להשתמש בכתובות URL שמפעילות אותו באופן רחב יותר.
בקשת HTTP
POST https://earthengine.googleapis.com/v1beta/{parent=projects/*/locations/*}/tables
[[["התוכן קל להבנה","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 (שעון UTC)."],[[["The `tables.create` endpoint generates a temporary ID representing a table derived from a provided expression and output options."],["This ID can then be used with `GetTableFeatures` to retrieve the entire table data, enabling complex expressions and broader access via API keys."],["`tables.create` offers advantages over `ComputeFeatures` by avoiding pagination for complete results and allowing data access with API keys in `GetTableFeatures`."],["Authorization is required for `tables.create`, using OAuth scopes similar to `ComputeFeatures`, but `GetTableFeatures` allows access via URLs containing API keys for wider usage."]]],["`tables.create` generates an ID representing a table from an expression and output options. `GetTableFeatures` then retrieves the table data using this ID. This method is advantageous over `ComputeFeatures` because it allows full table retrieval without pagination and can be accessed via an API key. The process involves a POST request to `tables.create`, providing the expression. The ID is valid for a limited duration, and an authorized user or a public API key is needed to make calls to `GetTableFeatures`.\n"]]