public class SimpleGeometryFeature extends Object implements VariableSimpleIF
| Constructor and Description |
|---|
SimpleGeometryFeature(String name,
DataType dataType,
AttributeContainer atts,
String coordSysName,
String units,
String description,
Object user,
GeometryType geometryType) |
| Modifier and Type | Method and Description |
|---|---|
AttributeContainer |
attributes()
Attributes for the variable.
|
int |
compareTo(VariableSimpleIF o) |
ArrayType |
getArrayType()
Variable's array type
|
SimpleGeometryCS |
getCoordSys() |
String |
getCoordSysName() |
DataType |
getDataType()
Variable's data type.
|
String |
getDescription()
description of the Variable, or null if none.
|
com.google.common.collect.ImmutableList<Dimension> |
getDimensions()
Dimension List.
|
String |
getFullName()
full, backslash escaped name of the data Variable
|
String |
getGeometryDescription() |
GeometryType |
getGeometryType() |
CoordinateAxis |
getIDAxis()
Retrieves the ID Axis that corresponds to this geometry.
|
String |
getName() |
int |
getRank()
Variable rank
|
int[] |
getShape()
Variable shape
|
String |
getShortName()
short name of the data Variable
|
String |
getUnitsString()
Units of the Variable, or null if none.
|
Object |
getUserObject() |
CoordinateAxis |
getXAxis()
Retrieves the x Axis that corresponds to this geometry.
|
CoordinateAxis |
getYAxis()
Retrieves the y Axis that corresponds to this geometry.
|
CoordinateAxis |
getZAxis()
Retrieves the z Axis that corresponds to this geometry.
|
SimpleGeometry |
readGeometry(int index)
Get the data associated with the index
|
void |
setCoordSys(SimpleGeometryCS coordSys) |
String |
toString() |
void |
toString(Formatter f,
Indent indent) |
protected final Object user
public SimpleGeometryFeature(String name, DataType dataType, AttributeContainer atts, String coordSysName, String units, String description, Object user, GeometryType geometryType)
name - name of the featuredataType - data typeatts - list of attriburtescoordSysName - name of the coordinate systemunits - units to be useddescription - description of the featureuser - user responsible for featuregeometryType - type of geometrypublic void setCoordSys(SimpleGeometryCS coordSys)
public String getName()
public DataType getDataType()
VariableSimpleIFgetDataType in interface VariableSimpleIFpublic ArrayType getArrayType()
VariableSimpleIFgetArrayType in interface VariableSimpleIFpublic AttributeContainer attributes()
VariableSimpleIFattributes in interface VariableSimpleIFpublic String getUnitsString()
VariableSimpleIFgetUnitsString in interface VariableSimpleIFpublic String getDescription()
VariableSimpleIFgetDescription in interface VariableSimpleIFpublic String getCoordSysName()
public Object getUserObject()
public GeometryType getGeometryType()
public String getGeometryDescription()
@Nonnull public SimpleGeometryCS getCoordSys()
public CoordinateAxis getXAxis()
public CoordinateAxis getYAxis()
public CoordinateAxis getZAxis()
public CoordinateAxis getIDAxis()
public SimpleGeometry readGeometry(int index)
index - number associated with the geometrypublic String getFullName()
VariableSimpleIFgetFullName in interface VariableSimpleIFpublic String getShortName()
VariableSimpleIFgetShortName in interface VariableSimpleIFpublic int getRank()
VariableSimpleIFgetRank in interface VariableSimpleIFpublic int[] getShape()
VariableSimpleIFgetShape in interface VariableSimpleIFpublic com.google.common.collect.ImmutableList<Dimension> getDimensions()
VariableSimpleIFgetDimensions in interface VariableSimpleIFpublic int compareTo(@Nonnull VariableSimpleIF o)
compareTo in interface Comparable<VariableSimpleIF>