public enum SpatialBinningType extends Enum<SpatialBinningType>
| Modifier and Type | Method and Description |
|---|---|
String |
binToString(byte[] binId) |
static SpatialBinningType |
fromString(String code) |
int |
getBinByteLength(int precision) |
org.locationtech.jts.geom.Geometry |
getBinGeometry(ByteArray bin,
int precision) |
BinConstraints.ByteArrayConstraints |
getGeometryConstraints(org.locationtech.jts.geom.Geometry geom,
int precision) |
ByteArray[] |
getSpatialBins(org.locationtech.jts.geom.Geometry geometry,
int precision) |
static SpatialBinningType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpatialBinningType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpatialBinningType H3
public static final SpatialBinningType S2
public static final SpatialBinningType GEOHASH
public static SpatialBinningType[] values()
for (SpatialBinningType c : SpatialBinningType.values()) System.out.println(c);
public static SpatialBinningType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic ByteArray[] getSpatialBins(org.locationtech.jts.geom.Geometry geometry, int precision)
public BinConstraints.ByteArrayConstraints getGeometryConstraints(org.locationtech.jts.geom.Geometry geom, int precision)
public org.locationtech.jts.geom.Geometry getBinGeometry(ByteArray bin, int precision)
public String binToString(byte[] binId)
public int getBinByteLength(int precision)
public static SpatialBinningType fromString(String code)
Copyright © 2013–2021. All rights reserved.