Package | Description |
---|---|
org.gbif.common.parsers.geospatial |
Modifier and Type | Method and Description |
---|---|
static Set<Integer> |
CellIdUtils.getCellsEnclosedBy(double minLat,
double maxLat,
double minLong,
double maxLong)
Gets the list of cells that are enclosed within the bounding box.
|
static Integer[] |
CellIdUtils.getCentiCellIdForBoundingBox(double minLongitude,
double minLatitude,
double maxLongitude,
double maxLatitude)
Returns the cell id and centi cell id for the supplied bounding box, Returning null if the supplied bounding box
doesnt enclose a single cell.
|
static int[] |
CellIdUtils.getMinMaxCellIdsForBoundingBox(double minLongitude,
double minLatitude,
double maxLongitude,
double maxLatitude)
Return a min cell id and a max cell id for this bounding box.
|
static int |
CellIdUtils.toCellId(Double latitude,
Double longitude)
Determines the cell id for the Lat / Long provided.
|
static int |
CellIdUtils.toCentiCellId(Double latitude,
Double longitude)
Determines the centi cell id for the given values
|
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.