Class GeometryColumns
- java.lang.Object
-
- mil.nga.geopackage.features.columns.GeometryColumns
-
public class GeometryColumns extends Object
Geometry Columns object. Identifies the geometry columns in tables that contain user data representing features.- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLUMN_COLUMN_NAMEcolumnName field namestatic StringCOLUMN_GEOMETRY_TYPE_NAMEgeometryTypeName field namestatic StringCOLUMN_ID_1id 1 field name, tableNamestatic StringCOLUMN_ID_2id 2 field name, columnNamestatic StringCOLUMN_Mm field namestatic StringCOLUMN_SRS_IDsrsId field namestatic StringCOLUMN_TABLE_NAMEtableName field namestatic StringCOLUMN_Zz field namestatic StringTABLE_NAMETable name
-
Constructor Summary
Constructors Constructor Description GeometryColumns()Default ConstructorGeometryColumns(GeometryColumns geometryColumns)Copy Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColumnName()Get the column nameContentsgetContents()Get the contentsGeometryTypegetGeometryType()Get the geometry typeStringgetGeometryTypeName()Get the geometry type nameTableColumnKeygetId()Get the idbytegetM()Get the mProjectiongetProjection()Get the projectionSpatialReferenceSystemgetSrs()Get the srslonggetSrsId()Get the srs idStringgetTableName()Get the table namebytegetZ()Get the zvoidsetColumnName(String columnName)Set the column namevoidsetContents(Contents contents)Set the contentsvoidsetGeometryType(GeometryType geometryType)Set the geometry typevoidsetId(TableColumnKey id)Set the idvoidsetM(byte m)Set the mvoidsetSrs(SpatialReferenceSystem srs)Set the srsvoidsetSrsId(long srsId)Set the srs idvoidsetTableName(String tableName)Set the table namevoidsetZ(byte z)Set the z
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
Table name- See Also:
- Constant Field Values
-
COLUMN_TABLE_NAME
public static final String COLUMN_TABLE_NAME
tableName field name- See Also:
- Constant Field Values
-
COLUMN_COLUMN_NAME
public static final String COLUMN_COLUMN_NAME
columnName field name- See Also:
- Constant Field Values
-
COLUMN_ID_1
public static final String COLUMN_ID_1
id 1 field name, tableName- See Also:
- Constant Field Values
-
COLUMN_ID_2
public static final String COLUMN_ID_2
id 2 field name, columnName- See Also:
- Constant Field Values
-
COLUMN_GEOMETRY_TYPE_NAME
public static final String COLUMN_GEOMETRY_TYPE_NAME
geometryTypeName field name- See Also:
- Constant Field Values
-
COLUMN_SRS_ID
public static final String COLUMN_SRS_ID
srsId field name- See Also:
- Constant Field Values
-
COLUMN_Z
public static final String COLUMN_Z
z field name- See Also:
- Constant Field Values
-
COLUMN_M
public static final String COLUMN_M
m field name- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GeometryColumns
public GeometryColumns()
Default Constructor
-
GeometryColumns
public GeometryColumns(GeometryColumns geometryColumns)
Copy Constructor- Parameters:
geometryColumns- geometry columns to copy- Since:
- 1.3.0
-
-
Method Detail
-
getId
public TableColumnKey getId()
Get the id- Returns:
- table column key
-
setId
public void setId(TableColumnKey id)
Set the id- Parameters:
id- id
-
getContents
public Contents getContents()
Get the contents- Returns:
- contents
-
setContents
public void setContents(Contents contents)
Set the contents- Parameters:
contents- contents
-
getTableName
public String getTableName()
Get the table name- Returns:
- table name
-
setTableName
public void setTableName(String tableName)
Set the table name- Parameters:
tableName- table name- Since:
- 4.0.0
-
getColumnName
public String getColumnName()
Get the column name- Returns:
- column name
-
setColumnName
public void setColumnName(String columnName)
Set the column name- Parameters:
columnName- column name
-
getGeometryType
public GeometryType getGeometryType()
Get the geometry type- Returns:
- geometry type
-
setGeometryType
public void setGeometryType(GeometryType geometryType)
Set the geometry type- Parameters:
geometryType- geometry type
-
getGeometryTypeName
public String getGeometryTypeName()
Get the geometry type name- Returns:
- geometry type name
-
getSrs
public SpatialReferenceSystem getSrs()
Get the srs- Returns:
- srs
-
setSrs
public void setSrs(SpatialReferenceSystem srs)
Set the srs- Parameters:
srs- srs
-
getSrsId
public long getSrsId()
Get the srs id- Returns:
- srs id
-
setSrsId
public void setSrsId(long srsId)
Set the srs id- Parameters:
srsId- srs id- Since:
- 4.0.0
-
getZ
public byte getZ()
Get the z- Returns:
- z
-
setZ
public void setZ(byte z)
Set the z- Parameters:
z- z
-
getM
public byte getM()
Get the m- Returns:
- m
-
setM
public void setM(byte m)
Set the m- Parameters:
m- m
-
getProjection
public Projection getProjection()
Get the projection- Returns:
- projection
- Since:
- 3.1.0
-
-