ee.Algorithms.Landsat.pathRowLimit
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.
Giới hạn yêu cầu đối với ImageCollection của các cảnh Landsat để trả về một số lượng có thể kiểm soát của các cảnh tốt nhất cho mỗi yêu cầu. Điều này nhằm mục đích sử dụng với các thuật toán thống kê như thành phần trung vị cần một lượng dữ liệu tốt nhất định để hoạt động hiệu quả, nhưng không được hưởng lợi đáng kể từ dữ liệu bổ sung ngoài lượng dữ liệu đó trong khi trở nên tốn kém một cách không cần thiết. Các đối số mặc định sẽ chọn khoảng một năm dữ liệu tốt.
Xin lưu ý rằng trong một số ít trường hợp, khi ranh giới ô trùng với ranh giới ô WRS của Landsat, các truy vấn cho các ô liền kề có thể cho ra kết quả mâu thuẫn. Do đó, điều quan trọng là thuật toán này chỉ được sử dụng với các phương pháp thống kê có thể chấp nhận những điểm không nhất quán này.
Cách sử dụng | Giá trị trả về |
---|
ee.Algorithms.Landsat.pathRowLimit(collection, maxScenesPerPathRow, maxScenesTotal) | ImageCollection |
Đối số | Loại | Thông tin chi tiết |
---|
collection | ImageCollection | Landsat ImageCollection cần giới hạn. |
maxScenesPerPathRow | Số nguyên, mặc định: 25 | Số lượng cảnh tối đa cần trả về cho mỗi đường dẫn/hàng. |
maxScenesTotal | Số nguyên, mặc định: 100 | Tổng số cảnh tối đa cần trả về cho mỗi yêu cầu. |
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\u003eLimits the number of Landsat images returned from a query to ensure efficient processing for statistical analysis.\u003c/p\u003e\n"],["\u003cp\u003ePrioritizes the selection of high-quality scenes within a specified timeframe, typically around one year.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of the maximum number of scenes per path/row and the total number of scenes returned.\u003c/p\u003e\n"],["\u003cp\u003eIs designed for statistical algorithms that require a sufficient amount of data but are not significantly improved by excessive data.\u003c/p\u003e\n"],["\u003cp\u003eMay produce slightly inconsistent results for adjacent tiles in rare cases due to Landsat WRS cell boundaries.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.Landsat.pathRowLimit\n\nLimits requests to an ImageCollection of Landsat scenes to return a controllable number of the best scenes for each request. This is intended for use with statistical algorithms like median composites that need a certain amount of good data to perform well, but that do not benefit substantially from additional data beyond that while becoming needlessly expensive. The default arguments select approximately one year's worth of good data.\n\n\u003cbr /\u003e\n\nNote that in rare circumstances, when the tile boundary aligns with a Landsat WRS cell boundary, queries for adjacent tiles may yield conflicting results. This is why it is important that this algorithm only be used with statistical methods that can tolerate these inconsistencies.\n\n| Usage | Returns |\n|------------------------------------------------------------------------------------------------|-----------------|\n| `ee.Algorithms.Landsat.pathRowLimit(collection, `*maxScenesPerPathRow* `, `*maxScenesTotal*`)` | ImageCollection |\n\n| Argument | Type | Details |\n|-----------------------|-----------------------|-------------------------------------------------------|\n| `collection` | ImageCollection | The Landsat ImageCollection to limit. |\n| `maxScenesPerPathRow` | Integer, default: 25 | The max number of scenes to return per path/row. |\n| `maxScenesTotal` | Integer, default: 100 | The max number of scenes to return per request total. |"]]