Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Algorithms.Landsat.pathRowLimit
Stay organized with collections
Save and categorize content based on your preferences.
Limits 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.
Note 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.
Usage | Returns | ee.Algorithms.Landsat.pathRowLimit(collection, maxScenesPerPathRow, maxScenesTotal) | ImageCollection |
Argument | Type | Details | collection | ImageCollection | The Landsat ImageCollection to limit. |
maxScenesPerPathRow | Integer, default: 25 | The max number of scenes to return per path/row. |
maxScenesTotal | Integer, default: 100 | The max number of scenes to return per request total. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 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. |"]]