We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Im trying to create a square grid that covers the entire map by using https://turfjs.org/docs/#squareGrid
The default example works great, but if i expand the bbox to [-180, -90, 180, 90] it returns an empty feature set. This is my code:
[-180, -90, 180, 90]
var bbox = [-180, -90, 180, 90]; var cellSide = 1; var options = { units: "degrees" }; var squareGrid = turf.squareGrid(bbox, cellSide, options);
Is there a bbox limit or am i doing something wrong?
The text was updated successfully, but these errors were encountered:
Looking into this and I found a bug in the underlying rectangle-grid package, so I've got a fix underway in #2106
The fix resolves your issue.
Sorry, something went wrong.
rowanwins
Successfully merging a pull request may close this issue.
Hi,
Im trying to create a square grid that covers the entire map by using https://turfjs.org/docs/#squareGrid
The default example works great, but if i expand the bbox to
[-180, -90, 180, 90]
it returns an empty feature set.This is my code:
Is there a bbox limit or am i doing something wrong?
The text was updated successfully, but these errors were encountered: