ee.Algorithms.GeometryConstructors.LinearRing
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้าง LinearRing จากพิกัดที่ระบุ โดยเพิ่มจุดแรกไว้ที่ท้ายโดยอัตโนมัติหากวงแหวนไม่ได้ปิดไว้อย่างชัดเจน
การใช้งาน | การคืนสินค้า |
---|
ee.Algorithms.GeometryConstructors.LinearRing(coordinates, crs, geodesic, maxError) | เรขาคณิต |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
coordinates | รายการ | รายการจุดหรือคู่ของตัวเลขในลําดับ x,y |
crs | การคาดการณ์ ค่าเริ่มต้น: null | ระบบพิกัดอ้างอิงของพิกัด ค่าเริ่มต้นคือโปรเจ็กชันของอินพุต โดยระบบจะถือว่าตัวเลขเป็น EPSG:4326 |
geodesic | บูลีน ค่าเริ่มต้น: null | หากเป็นเท็จ ขอบจะตรงในการแสดงผล หากเป็น "จริง" ขอบจะโค้งตามเส้นทางที่สั้นที่สุดบนพื้นผิวโลก ค่าเริ่มต้นคือสถานะเชิงเรขาคณิตของอินพุต หรือเป็นจริงหากอินพุตเป็นตัวเลข |
maxError | ErrorMargin, ค่าเริ่มต้น: null | ข้อผิดพลาดสูงสุดเมื่อต้องเปลี่ยนโปรเจ็กต์เรขาคณิตอินพุตอีกครั้งเป็นโปรเจ็กต์ผลลัพธ์หรือสถานะทรงกลมเชิงเรขาคณิตที่ขออย่างชัดเจน |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eCreates a LinearRing geometry from a list of coordinates, closing it automatically if needed.\u003c/p\u003e\n"],["\u003cp\u003eAccepts coordinates as Points or number pairs (x,y), optionally specifying a coordinate reference system (CRS) and geodesic behavior.\u003c/p\u003e\n"],["\u003cp\u003eDefaults to EPSG:4326 CRS and geodesic lines if the inputs are numbers or have a geodesic state.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.GeometryConstructors.LinearRing\n\nConstructs a LinearRing from the given coordinates, automatically adding the first point at the end if the ring is not explicitly closed.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------------------|----------|\n| `ee.Algorithms.GeometryConstructors.LinearRing(coordinates, `*crs* `, `*geodesic* `, `*maxError*`)` | Geometry |\n\n| Argument | Type | Details |\n|---------------|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `coordinates` | List | 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. |"]]