Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Genera punti uniformemente casuali nella geometria specificata. Se la geometria è bidimensionale (poligono o multipoligono), i punti restituiti sono distribuiti uniformemente nella regione specificata della sfera. Se la geometria è unidimensionale (linee), i punti restituiti vengono interpolati in modo uniforme lungo i bordi della geometria. Se la geometria ha dimensione zero (punti), i punti restituiti vengono campionati in modo uniforme dai punti di input. Se viene specificata una multigeometria di dimensioni miste, i punti vengono campionati dalle geometrie dei componenti con la dimensione più alta.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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"]]