ee.Algorithms.Landsat.pathRowLimit
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
จำกัดคำขอไปยัง ImageCollection ของฉาก Landsat เพื่อแสดงฉากที่ดีที่สุดจำนวนหนึ่งที่ควบคุมได้สำหรับแต่ละคำขอ การตั้งค่านี้มีไว้ใช้กับอัลกอริทึมทางสถิติ เช่น องค์ประกอบค่ามัธยฐาน ซึ่งต้องใช้ข้อมูลที่ดีในปริมาณหนึ่งเพื่อให้ทำงานได้ดี แต่จะไม่ได้รับประโยชน์อย่างมากจากข้อมูลเพิ่มเติมที่นอกเหนือจากนั้นในขณะที่ทำให้มีค่าใช้จ่ายโดยไม่จำเป็น อาร์กิวเมนต์เริ่มต้นจะเลือกข้อมูลที่ดีที่มีค่าประมาณ 1 ปี
โปรดทราบว่าในบางกรณีที่เกิดขึ้นไม่บ่อยนัก เมื่อขอบเขตไทล์ตรงกับขอบเขตเซลล์ WRS ของ Landsat การค้นหาไทล์ที่อยู่ติดกันอาจให้ผลลัพธ์ที่ขัดแย้งกัน ด้วยเหตุนี้ อัลกอริทึมนี้จึงควรใช้กับวิธีการทางสถิติที่ยอมรับความไม่สอดคล้องกันเหล่านี้ได้เท่านั้น
การใช้งาน | การคืนสินค้า |
---|
ee.Algorithms.Landsat.pathRowLimit(collection, maxScenesPerPathRow, maxScenesTotal) | ImageCollection |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
collection | ImageCollection | ImageCollection ของ Landsat ที่จะจำกัด |
maxScenesPerPathRow | จำนวนเต็ม ค่าเริ่มต้น: 25 | จำนวนฉากสูงสุดที่จะแสดงต่อเส้นทาง/แถว |
maxScenesTotal | จำนวนเต็ม ค่าเริ่มต้น: 100 | จำนวนฉากสูงสุดที่จะแสดงต่อคำขอทั้งหมด |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]