ee.ImageCollection.draw
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Stellt eine Vektorsammlung für die Visualisierung dar. Nicht zur Verwendung als Eingabe für andere Algorithmen vorgesehen.
Nutzung | Ausgabe |
---|
ImageCollection.draw(color, pointRadius, strokeWidth) | Bild |
Argument | Typ | Details |
---|
So gehts: collection | FeatureCollection | Die zu zeichnende Sammlung. |
color | String | Ein Hex-String im Format RRGGBB, der die Farbe angibt, die zum Zeichnen der Elemente verwendet werden soll. |
pointRadius | Ganzzahl, Standard: 3 | Der Radius der Punktmarkierungen in Pixeln. |
strokeWidth | Ganzzahl, Standard: 2 | Die Breite von Linien und Polygonrändern in Pixeln. |
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\u003e\u003ccode\u003eImageCollection.draw()\u003c/code\u003e visualizes FeatureCollections as vector data, outputting an Image.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts a color (hex string: RRGGBB), point radius (default 3 pixels), and stroke width (default 2 pixels) for customization.\u003c/p\u003e\n"],["\u003cp\u003ePrimarily for display, not designed for algorithmic input.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.draw\n\nPaints a vector collection for visualization. Not intended for use as input to other algorithms.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------------------|---------|\n| ImageCollection.draw`(color, `*pointRadius* `, `*strokeWidth*`)` | Image |\n\n| Argument | Type | Details |\n|--------------------|---------------------|-----------------------------------------------------------------------------------------|\n| this: `collection` | FeatureCollection | The collection to draw. |\n| `color` | String | A hex string in the format RRGGBB specifying the color to use for drawing the features. |\n| `pointRadius` | Integer, default: 3 | The radius in pixels of the point markers. |\n| `strokeWidth` | Integer, default: 2 | The width in pixels of lines and polygon borders. |"]]