ee.Feature.geometry
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Gibt die Geometrie eines bestimmten Features in einer bestimmten Projektion zurück.
Nutzung | Ausgabe |
---|
Feature.geometry(maxError, proj, geodesics) | Geometrie |
Argument | Typ | Details |
---|
So gehts: feature | Element | Das Element, aus dem die Geometrie stammt. |
maxError | ErrorMargin, Standardwert: null | Die maximale Fehlergröße, die bei einer erforderlichen Rückprojektion toleriert wird. |
proj | Projektion, Standardwert: null | Wenn angegeben, wird die Geometrie in dieser Projektion dargestellt. Wenn nicht angegeben, wird die Standardprojektion für die Geometrie verwendet. |
geodesics | Boolesch, Standard: null | Bei „true“ hat die Geometrie geodätische Kanten. Wenn „false“, werden die Kanten in der angegebenen Projektion als gerade Linien dargestellt. Wenn der Wert „null“ ist, entspricht die Interpretation der Kante der ursprünglichen Geometrie. Dieses Argument wird ignoriert, wenn „proj“ nicht angegeben ist. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eReturns the geometry of a specified feature, optionally reprojecting it.\u003c/p\u003e\n"],["\u003cp\u003eAllows control over reprojection accuracy using the \u003ccode\u003emaxError\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an optional projection (\u003ccode\u003eproj\u003c/code\u003e) to define the geometry's output projection.\u003c/p\u003e\n"],["\u003cp\u003eEnables specifying geodesic edges or straight lines in the projected geometry using the \u003ccode\u003egeodesics\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],[],null,["# ee.Feature.geometry\n\nReturns the geometry of a given feature in a given projection.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------------------------|----------|\n| Feature.geometry`(`*maxError* `, `*proj* `, `*geodesics*`)` | Geometry |\n\n| Argument | Type | Details |\n|-----------------|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `feature` | Element | The feature from which the geometry is taken. |\n| `maxError` | ErrorMargin, default: null | The maximum amount of error tolerated when performing any necessary reprojection. |\n| `proj` | Projection, default: null | If specified, the geometry will be in this projection. If unspecified, the geometry will be in its default projection. |\n| `geodesics` | Boolean, default: null | If true, the geometry will have geodesic edges. If false, it will have edges as straight lines in the specified projection. If null, the edge interpretation will be the same as the original geometry. This argument is ignored if proj is not specified. |"]]