公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.Algorithms.GeometryConstructors.BBox
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
:建構邊緣為經緯度線的矩形。
結果會是平面 WGS84 矩形。
如果 (東 - 西) ≥ 360,經度範圍會正規化為 -180 至 +180;否則會視為指定圓上的點 (例如,東可能在數值上小於西)。
用量 | 傳回 |
---|
ee.Algorithms.GeometryConstructors.BBox(west, south, east, north) | 幾何圖形 |
引數 | 類型 | 詳細資料 |
---|
west | 浮點值 | 最西邊的封閉經度。系統會調整經度,使其介於 -180 到 180 之間。 |
south | 浮點值 | 最南端的封閉緯度。如果小於 -90 (南極),系統會視為 -90。 |
east | 浮點值 | 最東邊的封閉經度。 |
north | 浮點值 | 最北端的封閉緯度。如果大於 +90 (北極),系統會視為 +90。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eCreates a rectangular geometry using latitude and longitude coordinates, representing a planar area in WGS84.\u003c/p\u003e\n"],["\u003cp\u003eThe longitude range is normalized to -180 to +180 if it spans 360 degrees or more; otherwise, it's treated as a circular range.\u003c/p\u003e\n"],["\u003cp\u003eInput coordinates for the bounding box include west, south, east, and north, with adjustments made for values exceeding latitude limits.\u003c/p\u003e\n"]]],["This describes creating a WGS84 rectangle using latitude and longitude. The function `BBox` takes four float arguments: `west`, `south`, `east`, and `north`, representing the rectangle's boundaries. Longitude values are normalized to -180 to +180 if the difference between `east` and `west` is 360 or more; otherwise they define points on a circle. Latitude values are clamped between -90 and +90. The function returns a Geometry object.\n"],null,["# ee.Algorithms.GeometryConstructors.BBox\n\nConstructs a rectangle whose edges are lines of latitude and longitude.\n\n\u003cbr /\u003e\n\nThe result is a planar WGS84 rectangle.\n\nIf (east - west) ≥ 360 then the longitude range will be normalized to -180 to +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.Algorithms.GeometryConstructors.BBox(west, south, east, north)` | Geometry |\n\n| Argument | Type | Details |\n|----------|-------|-----------------------------------------------------------------------------------------------|\n| `west` | Float | The westernmost enclosed longitude. Will be adjusted to lie in the range -180 to 180. |\n| `south` | Float | The southernmost enclosed latitude. If less than -90 (south pole), will be treated as -90. |\n| `east` | Float | The easternmost enclosed longitude. |\n| `north` | Float | The northernmost enclosed latitude. If greater than +90 (north pole), will be treated as +90. |"]]