Stay organized with collections
Save and categorize content based on your preferences.
Generates points that are uniformly random in the given geometry. If the geometry is two-dimensional (polygon or multi-polygon) then the returned points are uniformly distributed on the given region of the sphere. If the geometry is one-dimensional (linestrings), the returned points are interpolated uniformly along the geometry's edges. If the geometry has dimension zero (points), the returned points are sampled uniformly from the input points. If a multi-geometry of mixed dimension is given, points are sampled from the component geometries with the highest dimension.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-20 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."]]],[]]