公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
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 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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°. |"]]