You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letline={};//GeoJSON contant in [https://github.com/user-attachments/files/18392267/geojson.txt]line=turf.cleanCoords(line);letgrid=turf.polygon([[[105.82001,38.30005],[105.87001,38.30005],[105.87001,38.350049999999996],[105.82001,38.350049999999996],[105.82001,38.30005]]])turf.lineSplit(line,grid);
Stacktrace:
Error: coordinates must contain numbers
at point (../node_modules/@turf/helpers/dist/cjs/index.cjs:78:11)
at ../node_modules/@turf/nearest-point-on-line/dist/cjs/index.cjs:69:40
at../node_modules/@turf/meta/dist/cjs/index.cjs:255:13
at geomEach (../node_modules/@turf/meta/dist/cjs/index.cjs:197:15)
at flattenEach (../node_modules/@turf/meta/dist/cjs/index.cjs:248:3)
at nearestPointOnLine (../node_modules/@turf/nearest-point-on-line/dist/cjs/index.cjs:42:21)
at ../node_modules/@turf/turf/node_modules/@turf/line-split/dist/cjs/index.cjs:112:53
at featureEach (../node_modules/@turf/meta/dist/cjs/index.cjs:148:11)
at findClosestFeature (../node_modules/@turf/turf/node_modules/@turf/line-split/dist/cjs/index.cjs:111:21)
at ../node_modules/@turf/turf/node_modules/@turf/line-split/dist/cjs/index.cjs:56:27
The text was updated successfully, but these errors were encountered:
Version: 7.2.0
Code:
Stacktrace:
The text was updated successfully, but these errors were encountered: