public abstract class SpatialField extends Object implements NumericDimensionField<org.locationtech.jts.geom.Geometry>
| Modifier and Type | Class and Description |
|---|---|
static class |
SpatialField.SpatialIndexFieldOptions |
| Modifier and Type | Field and Description |
|---|---|
protected NumericDimensionDefinition |
baseDefinition |
static String |
DEFAULT_GEOMETRY_FIELD_NAME |
static IndexDimensionHint |
LATITUDE_DIMENSION_HINT |
static IndexDimensionHint |
LONGITUDE_DIMENSION_HINT |
| Modifier | Constructor and Description |
|---|---|
protected |
SpatialField() |
protected |
SpatialField(Integer geometryPrecision) |
|
SpatialField(NumericDimensionDefinition baseDefinition,
Integer geometryPrecision) |
|
SpatialField(NumericDimensionDefinition baseDefinition,
Integer geometryPrecision,
org.opengis.referencing.crs.CoordinateReferenceSystem crs) |
| Modifier and Type | Method and Description |
|---|---|
double |
denormalize(double value) |
boolean |
equals(Object obj) |
void |
fromBinary(byte[] bytes) |
NumericDimensionDefinition |
getBaseDefinition() |
NumericRange |
getBounds() |
org.opengis.referencing.crs.CoordinateReferenceSystem |
getCRS() |
NumericRange |
getDenormalizedRange(BinRange range) |
Class<org.locationtech.jts.geom.Geometry> |
getFieldClass() |
String |
getFieldName() |
int |
getFixedBinIdSize() |
NumericData |
getFullRange() |
Integer |
getGeometryPrecision() |
IndexFieldMapper.IndexFieldOptions |
getIndexFieldOptions() |
BinRange[] |
getNormalizedRanges(NumericData range) |
double |
getRange() |
FieldReader<org.locationtech.jts.geom.Geometry> |
getReader() |
FieldWriter<org.locationtech.jts.geom.Geometry> |
getWriter() |
int |
hashCode() |
double |
normalize(double value) |
byte[] |
toBinary() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDimensionHints, getNumericData, isCompatibleWithpublic static final String DEFAULT_GEOMETRY_FIELD_NAME
public static final IndexDimensionHint LONGITUDE_DIMENSION_HINT
public static final IndexDimensionHint LATITUDE_DIMENSION_HINT
protected NumericDimensionDefinition baseDefinition
protected SpatialField()
public SpatialField(NumericDimensionDefinition baseDefinition, @Nullable Integer geometryPrecision)
public SpatialField(NumericDimensionDefinition baseDefinition, @Nullable Integer geometryPrecision, @Nullable org.opengis.referencing.crs.CoordinateReferenceSystem crs)
public org.opengis.referencing.crs.CoordinateReferenceSystem getCRS()
public Integer getGeometryPrecision()
public IndexFieldMapper.IndexFieldOptions getIndexFieldOptions()
getIndexFieldOptions in interface NumericDimensionField<org.locationtech.jts.geom.Geometry>public Class<org.locationtech.jts.geom.Geometry> getFieldClass()
getFieldClass in interface NumericDimensionField<org.locationtech.jts.geom.Geometry>public NumericData getFullRange()
getFullRange in interface NumericDimensionDefinitionpublic NumericRange getDenormalizedRange(BinRange range)
getDenormalizedRange in interface NumericDimensionDefinitionpublic double getRange()
getRange in interface NumericDimensionDefinitionpublic int getFixedBinIdSize()
getFixedBinIdSize in interface NumericDimensionDefinitionpublic NumericRange getBounds()
getBounds in interface NumericDimensionDefinitionpublic double normalize(double value)
normalize in interface NumericDimensionDefinitionpublic double denormalize(double value)
denormalize in interface NumericDimensionDefinitionpublic BinRange[] getNormalizedRanges(NumericData range)
getNormalizedRanges in interface NumericDimensionDefinitionpublic String getFieldName()
getFieldName in interface NumericDimensionField<org.locationtech.jts.geom.Geometry>public FieldWriter<org.locationtech.jts.geom.Geometry> getWriter()
getWriter in interface NumericDimensionField<org.locationtech.jts.geom.Geometry>public FieldReader<org.locationtech.jts.geom.Geometry> getReader()
getReader in interface NumericDimensionField<org.locationtech.jts.geom.Geometry>public NumericDimensionDefinition getBaseDefinition()
getBaseDefinition in interface NumericDimensionField<org.locationtech.jts.geom.Geometry>public byte[] toBinary()
toBinary in interface Persistablepublic void fromBinary(byte[] bytes)
fromBinary in interface PersistableCopyright © 2013–2021. All rights reserved.