Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del 15 aprile 2025 devono verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Restituisce l'intersezione delle due geometrie.
Utilizzo
Resi
Geometry.intersection(right, maxError, proj)
Geometria
Argomento
Tipo
Dettagli
questo: left
Geometria
La geometria utilizzata come operando sinistro dell'operazione.
right
Geometria
La geometria utilizzata come operando destro dell'operazione.
maxError
ErrorMargin, valore predefinito: null
La quantità massima di errore tollerata durante l'esecuzione di qualsiasi riproiezione necessaria.
proj
Proiezione, valore predefinito: null
La proiezione in cui eseguire l'operazione. Se non specificato, l'operazione verrà eseguita in un sistema di coordinate sferiche e le distanze lineari saranno in metri sulla sfera.
[[["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-07-26 UTC."],[[["Returns a new Geometry that represents the shared area between two input geometries."],["Accepts two geometries as input: `left` (the geometry the method is called on) and `right`."],["Can be performed using a specified projection (`proj`) or a spherical coordinate system with linear distances in meters if no projection is defined."],["Includes an optional `maxError` parameter to control the tolerance for reprojection errors."]]],["The `intersection` method computes the overlapping area between two geometries. It takes a `right` geometry as input, and optionally `maxError` and `proj` for reprojection settings. The output is a new `Geometry` representing the intersection. If no `proj` is provided, the operation uses spherical coordinates with linear distances in meters. Examples in JavaScript and Python demonstrate defining two geometries, using the method to get the intersection, and displaying the result.\n"]]