Skip to content

Instantly share code, notes, and snippets.

@chasset
Last active February 25, 2019 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chasset/2189b121941234acf3dbb90b1b0f111b to your computer and use it in GitHub Desktop.
Save chasset/2189b121941234acf3dbb90b1b0f111b to your computer and use it in GitHub Desktop.
Test turfjs on the whole sphere
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chasset
Copy link
Author

chasset commented Feb 25, 2019

I try to get a grid of points on the whole sphere using http://turfjs.org/docs/#pointGrid.

This geoJSON is produced by :

turf.pointGrid([-179,-89,180,90], 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment