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 String
COLUMN_COLUMN_NAME
columnName field namestatic String
COLUMN_GEOMETRY_TYPE_NAME
geometryTypeName field namestatic String
COLUMN_ID_1
id 1 field name, tableNamestatic String
COLUMN_ID_2
id 2 field name, columnNamestatic String
COLUMN_M
m field namestatic String
COLUMN_SRS_ID
srsId field namestatic String
COLUMN_TABLE_NAME
tableName field namestatic String
COLUMN_Z
z field namestatic String
TABLE_NAME
Table 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 String
getColumnName()
Get the column nameContents
getContents()
Get the contentsGeometryType
getGeometryType()
Get the geometry typeString
getGeometryTypeName()
Get the geometry type nameTableColumnKey
getId()
Get the idbyte
getM()
Get the mProjection
getProjection()
Get the projectionSpatialReferenceSystem
getSrs()
Get the srslong
getSrsId()
Get the srs idString
getTableName()
Get the table namebyte
getZ()
Get the zvoid
setColumnName(String columnName)
Set the column namevoid
setContents(Contents contents)
Set the contentsvoid
setGeometryType(GeometryType geometryType)
Set the geometry typevoid
setId(TableColumnKey id)
Set the idvoid
setM(byte m)
Set the mvoid
setSrs(SpatialReferenceSystem srs)
Set the srsvoid
setSrsId(long srsId)
Set the srs idvoid
setTableName(String tableName)
Set the table namevoid
setZ(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
-
-