קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יצירת נקודות אקראיות באופן אחיד בגיאומטריה הנתונה. אם הגיאומטריה היא דו-מימדית (פוליגון או פוליגון מרוכב), הנקודות שמוחזרות מחולקות באופן אחיד באזור הנתון של הכדור. אם הגיאומטריה היא חד-מימדית (קווים), הנקודות שמוחזרות מותאמות באופן אחיד לאורך הקצוות של הגיאומטריה. אם לגיאומטריה יש מאפיין אפס (נקודות), הנקודות שמוחזרות נלקחות באופן אחיד מנקודות הקלט. אם נתונה גיאומטריה מרובה של מאפיין מעורב, הנקודות נלקחות מדגימה של גיאומטריות הרכיבים עם המאפיין הגבוה ביותר.
[[["התוכן קל להבנה","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-06-19 (שעון UTC)."],[[["`ee.FeatureCollection.randomPoints` generates uniformly random points within a specified geometry, such as polygons, linestrings, or points."],["The distribution of points varies based on the geometry's dimension: uniform on the surface for polygons, along edges for linestrings, and from input points for point geometries."],["The function takes parameters like `region` (geometry), `points` (number of points), `seed` (for reproducibility), and `maxError` (for reprojection tolerance)."],["Users can specify the desired number of random points to generate and provide a seed value for consistent results."],["If a mixed-dimension geometry is provided, the function samples points from the highest-dimension component."]]],["The `ee.FeatureCollection.randomPoints` function generates a specified number of random points within a given geometry. The points are uniformly distributed within the geometry's area if it's two-dimensional, along its edges if one-dimensional, or sampled from the input points if zero-dimensional. For mixed-dimension multi-geometries, points are drawn from the highest-dimension components. The user defines the `region`, the number of `points`, a random `seed`, and an optional `maxError`.\n"]]