squareGrid
fun squareGrid(bbox: BoundingBox, cellWidth: Double, cellHeight: Double, units: Units = Units.Kilometers): FeatureCollection
Creates a square grid within a BoundingBox.
Return
a FeatureCollection grid of polygons
Parameters
bbox
BoundingBox bbox extent
cellWidth
of each cell, in units
cellHeight
of each cell, in units
units
The unit of measurement of the cellSide length