公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.Algorithms.GeometryConstructors.MultiLineString
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
:根據指定座標建構 MultiLineString。
用量 | 傳回 |
---|
ee.Algorithms.GeometryConstructors.MultiLineString(coordinates, crs, geodesic, maxError) | 幾何圖形 |
引數 | 類型 | 詳細資料 |
---|
coordinates | 清單 | LineString 清單,或要包裝單一 LineString,則為依 x、y 順序排列的 Point 或 Number 對清單。 |
crs | 投影,預設值:null | 座標的座標參考系統。預設值為輸入內容的投影,其中數字假設為 EPSG:4326。 |
geodesic | 布林值,預設值為空值 | 如果為 false,投影畫面中的邊緣會是直線。如果是 true,邊緣會彎曲,以遵循地球表面的最短路徑。預設值為輸入內容的測地線狀態,如果輸入內容為數字,則為 true。 |
maxError | ErrorMargin,預設值:null | 輸入幾何圖形必須重新投影至明確要求的結果投影或測地狀態時,可能發生的最大誤差。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eCreates a MultiLineString geometry from a list of LineStrings or Points.\u003c/p\u003e\n"],["\u003cp\u003eAccepts \u003ccode\u003ecoordinates\u003c/code\u003e, \u003ccode\u003ecrs\u003c/code\u003e, \u003ccode\u003egeodesic\u003c/code\u003e, and \u003ccode\u003emaxError\u003c/code\u003e as inputs to define the MultiLineString.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecrs\u003c/code\u003e parameter specifies the coordinate reference system, defaulting to EPSG:4326 if numbers are provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egeodesic\u003c/code\u003e parameter determines if edges are straight or follow the Earth's curvature, with a default based on input type.\u003c/p\u003e\n"]]],["The function `MultiLineString` creates a geometry object from a list of coordinates. It takes `coordinates` defining the LineStrings, and optionally, the `crs` (coordinate reference system), `geodesic` (true for curved edges, false for straight), and `maxError` (for reprojection errors). The function returns a `Geometry` object representing the constructed MultiLineString. `coordinates` can be a list of LineStrings, points or a list of number pairs in x,y order.\n"],null,["# ee.Algorithms.GeometryConstructors.MultiLineString\n\nConstructs a MultiLineString from the given coordinates.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------------|----------|\n| `ee.Algorithms.GeometryConstructors.MultiLineString(coordinates, `*crs* `, `*geodesic* `, `*maxError*`)` | Geometry |\n\n| Argument | Type | Details |\n|---------------|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `coordinates` | List | The list of LineStrings, or to wrap a single LineString, the list of Points or pairs of Numbers in x,y order. |\n| `crs` | Projection, default: null | The coordinate reference system of the coordinates. The default is the projection of the inputs, where Numbers are assumed to be EPSG:4326. |\n| `geodesic` | Boolean, default: null | If false, edges are straight in the projection. If true, edges are curved to follow the shortest path on the surface of the Earth. The default is the geodesic state of the inputs, or true if the inputs are numbers. |\n| `maxError` | ErrorMargin, default: null | Max error when input geometry must be reprojected to an explicitly requested result projection or geodesic state. |"]]