Skip to content

Grids generation problems on the whole sphere #1598

@chasset

Description

@chasset

First, I would like to thank you for your work. It is a great package for spatial analysis.

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

This geoJSON (https://gist.github.com/chasset/2189b121941234acf3dbb90b1b0f111b
) is produced by :

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

I also tried the following example. It doesn't produce any feature :

turf.pointGrid([-180,-90,180,90], 100)
turf.hexGrid([-179,-89,180,90], 100)
turf.squareGrid([-179,-89,180,90], 100)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions