Ankündigung: Alle nicht kommerziellen Projekte, die vor dem 15. April 2025 für die Nutzung der Earth Engine registriert wurden, müssen die Berechtigung zur nicht kommerziellen Nutzung bestätigen, um weiterhin auf die Earth Engine zugreifen zu können.
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
: Extrahiert und führt die Geometrien einer Sammlung zusammen. Erfordert, dass alle Geometrien in der Sammlung die Projektion und die Interpretation von Kanten gemeinsam nutzen.
Nutzung
Ausgabe
FeatureCollection.geometry(maxError)
Geometrie
Argument
Typ
Details
So gehts: collection
FeatureCollection
Die Sammlung, deren Geometrien extrahiert werden.
maxError
ErrorMargin (optional)
Eine Fehlermarge, die beim Zusammenführen von Geometrien verwendet werden soll.
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eExtracts and merges the geometries from a FeatureCollection into a single Geometry.\u003c/p\u003e\n"],["\u003cp\u003eRequires all geometries in the collection to have the same projection and edge interpretation.\u003c/p\u003e\n"],["\u003cp\u003ePerformance can be affected by the size and complexity of the input FeatureCollection.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003emaxError\u003c/code\u003e parameter can be used to control the merging process.\u003c/p\u003e\n"]]],[],null,["# ee.FeatureCollection.geometry\n\nExtracts and merges the geometries of a collection. Requires that all the geometries in the collection share the projection and edge interpretation.\n\n\u003cbr /\u003e\n\n| **Caution:** providing a large or complex collection as input can result in poor performance. Collating the geometry of collections does not scale well; use the smallest collection that is required to achieve the desired outcome.\n| **Note:** If only a bounding box around the collection is needed, consider using Collection.bounds instead.\n\n| Usage | Returns |\n|--------------------------------------------|----------|\n| FeatureCollection.geometry`(`*maxError*`)` | Geometry |\n\n| Argument | Type | Details |\n|--------------------|-----------------------|----------------------------------------------------|\n| this: `collection` | FeatureCollection | The collection whose geometries will be extracted. |\n| `maxError` | ErrorMargin, optional | An error margin to use when merging geometries. |\n\nExamples\n--------\n\n### Code Editor (JavaScript)\n\n```javascript\n// FeatureCollection of power plants in Belgium.\nvar fc = ee.FeatureCollection('WRI/GPPD/power_plants')\n .filter('country_lg == \"Belgium\"');\n\nprint(\"Point FeatureCollection's geometry\", fc.geometry());\n```\nPython setup\n\nSee the [Python Environment](/earth-engine/guides/python_install) page for information on the Python API and using\n`geemap` for interactive development. \n\n```python\nimport ee\nimport geemap.core as geemap\n```\n\n### Colab (Python)\n\n```python\nfrom pprint import pprint\n\n# FeatureCollection of power plants in Belgium.\nfc = ee.FeatureCollection('WRI/GPPD/power_plants').filter(\n 'country_lg == \"Belgium\"')\n\nprint(\"Point FeatureCollection's geometry:\")\npprint(fc.geometry().getInfo())\n```"]]