ee.Geometry.BBox
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างสี่เหลี่ยมผืนผ้าที่มีขอบเป็นเส้นละติจูดและลองจิจูด
ผลลัพธ์คือสี่เหลี่ยมผืนผ้าแบบระนาบใน EPSG:4326
หาก (ตะวันออก - ตะวันตก) ≥ 360 ระบบจะปรับช่วงลองจิจูดเป็น -180 ถึง
+180 มิฉะนั้นระบบจะถือว่าเป็นการกำหนดจุดบนวงกลม (เช่น ค่าตัวเลขของทิศตะวันออกอาจน้อยกว่าทิศตะวันตก)
การใช้งาน | การคืนสินค้า |
---|
ee.Geometry.BBox(west, south, east, north) | Geometry.BBox |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
west | ตัวเลข | ลองจิจูดตะวันตกสุดที่ปิดล้อม จะปรับให้อยู่ในช่วง -180° ถึง 180° |
south | ตัวเลข | ละติจูดใต้สุดที่ปิด หากน้อยกว่า -90°
(ขั้วโลกใต้) จะถือว่าเป็น -90° |
east | ตัวเลข | ลองจิจูดตะวันออกสุดที่ปิดล้อม |
north | ตัวเลข | ละติจูดเหนือสุดที่ปิดล้อม หากมากกว่า
+90° (ขั้วโลกเหนือ) จะถือว่าเป็น +90° |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eCreates a rectangular geometry with edges defined by latitude and longitude coordinates, resulting in a planar rectangle in EPSG:4326 projection.\u003c/p\u003e\n"],["\u003cp\u003eIf the longitudinal difference (east - west) is greater than or equal to 360 degrees, the longitude range is normalized to -180 to +180 degrees; otherwise, the longitudes are treated as points on a circle.\u003c/p\u003e\n"],["\u003cp\u003eAccepts west, south, east, and north coordinates as input to define the rectangle's boundaries.\u003c/p\u003e\n"],["\u003cp\u003eThe south and north coordinates are clamped to -90 and +90 degrees respectively, representing the south and north poles.\u003c/p\u003e\n"]]],["Creates a planar rectangle using latitude and longitude values, returning a `Geometry.BBox` in EPSG:4326. Input arguments include `west`, `south`, `east`, and `north` (longitude and latitude). Longitude values are normalized to -180 to +180 if the range exceeds 360. Longitudes are treated as a circle if not exceeding 360. Latitude values are clamped to -90 and +90 if outside of range.\n"],null,["# ee.Geometry.BBox\n\n\u003cbr /\u003e\n\nConstructs a rectangle whose edges are lines of latitude and longitude.\n\n\u003cbr /\u003e\n\nThe result is a planar rectangle in EPSG:4326.\n\nIf (east - west) ≥ 360 then the longitude range will be normalized to -180 to\n\n+180; otherwise they will be treated as designating points on a circle (e.g. east may be numerically less than west).\n\n| Usage | Returns |\n|----------------------------------------------|---------------|\n| `ee.Geometry.BBox(west, south, east, north)` | Geometry.BBox |\n\n| Argument | Type | Details |\n|----------|--------|-------------------------------------------------------------------------------------------------|\n| `west` | Number | The westernmost enclosed longitude. Will be adjusted to lie in the range -180° to 180°. |\n| `south` | Number | The southernmost enclosed latitude. If less than -90° (south pole), will be treated as -90°. |\n| `east` | Number | The easternmost enclosed longitude. |\n| `north` | Number | The northernmost enclosed latitude. If greater than +90° (north pole), will be treated as +90°. |"]]