ee.Algorithms.GeometryConstructors.MultiLineString
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tạo một MultiLineString từ các toạ độ đã cho.
Cách sử dụng | Giá trị trả về |
---|
ee.Algorithms.GeometryConstructors.MultiLineString(coordinates, crs, geodesic, maxError) | Hình học |
Đối số | Loại | Thông tin chi tiết |
---|
coordinates | Danh sách | Danh sách LineString hoặc để bao bọc một LineString duy nhất, danh sách Point hoặc cặp Số theo thứ tự x,y. |
crs | Phép chiếu, mặc định: null | Hệ thống tham chiếu toạ độ của các toạ độ. Giá trị mặc định là phép chiếu của các đầu vào, trong đó các Số được giả định là EPSG:4326. |
geodesic | Boolean, mặc định: null | Nếu là false, các cạnh sẽ thẳng trong phép chiếu. Nếu là true, các cạnh sẽ được uốn cong để đi theo đường ngắn nhất trên bề mặt Trái Đất. Giá trị mặc định là trạng thái trắc địa của các giá trị đầu vào hoặc true nếu các giá trị đầu vào là số. |
maxError | ErrorMargin, mặc định: null | Lỗi tối đa khi hình học đầu vào phải được chiếu lại thành một phép chiếu kết quả hoặc trạng thái trắc địa được yêu cầu rõ ràng. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\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. |"]]