#3041·turf

booleanValid 为超出有效范围的坐标(例如,> 180)返回了错误的 true

作者: Userluckytian创建于 2026年3月18日更新于 2026年5月27日

const geom = { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [[[181, 181], [181, 182], [182, 182], [182, 181], [181, 181]]] } }; const result = turf.booleanValid(geom); // The expectation is false, but the actual return is true