Package ch.so.agi.filegdb.geometry
Class GeometryFieldDefinition
java.lang.Object
ch.so.agi.filegdb.geometry.GeometryFieldDefinition
Definition of the geometry field of a feature class.
Properties:
name: field namealias: field aliasnullable: whether null geometries are allowedwkt: spatial reference as WKT, may be emptykind: table geometry kind from the table headerhasZ: whether coordinates carry a Z valuehasM: whether coordinates carry a measure valueprecision: integer coordinate handlingextent: feature extent declared in the table header, may be nullspatialIndexGridResolution: spatial index grid sizes, may be empty
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CoordinatePrecisionDefault grid settings used by the Esri FileGDB SDK. -
Constructor Summary
ConstructorsConstructorDescriptionGeometryFieldDefinition(String name, String alias, boolean nullable, String wkt, GeometryKind kind, boolean hasZ, boolean hasM, CoordinatePrecision precision, Envelope extent, List<Double> spatialIndexGridResolution) -
Method Summary
Modifier and TypeMethodDescriptionalias()final booleanextent()final inthashCode()booleanhasM()booleanhasZ()kind()name()booleannullable()static GeometryFieldDefinitionof(String name, GeometryKind kind) Creates a definition with the default FileGDB grid settings.final StringtoString()withGridResolution(List<Double> gridResolution) withM()withNullable(boolean nullable) withPrecision(CoordinatePrecision precision) withZ()wkt()
-
Field Details
-
ARCGIS_DEFAULT_PRECISION
Default grid settings used by the Esri FileGDB SDK.
-
-
Constructor Details
-
GeometryFieldDefinition
public GeometryFieldDefinition(String name, String alias, boolean nullable, String wkt, GeometryKind kind, boolean hasZ, boolean hasM, CoordinatePrecision precision, Envelope extent, List<Double> spatialIndexGridResolution)
-
-
Method Details
-
of
Creates a definition with the default FileGDB grid settings. -
withWkt
-
withZ
-
withM
-
withNullable
-
withPrecision
-
withGridResolution
-
name
-
alias
-
nullable
public boolean nullable() -
wkt
-
kind
-
hasZ
public boolean hasZ() -
hasM
public boolean hasM() -
precision
-
extent
-
spatialIndexGridResolution
-
equals
-
hashCode
public final int hashCode() -
toString
-