Properties | teradataml GeoDataFrameColumn | Teradata Vantage - GeoDataFrameColumn Properties - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
March 2024
Language
English (United States)
Last Update
2024-04-09
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

The following tables list properties of teradataml GeoDataFrameColumn. For more details and examples, see Teradata Package for Python Function Reference.

Properties inherited from teradataml DataFrameColumn

Property Purpose Return
name Get the name of the GeoDataFrameColumn. string
type Get the Teradata type of the GeoDataFrameColumn. teradatasqlalchemy type

Properties specific to Geospatial Data (All Geometry Types)

Property Purpose Return
boundary Return the boundary of the Geometry value. GeoDataFrameColumn with result column containing Geometry values
centroid Return the mathematical centroid of an ST_Polygon or ST_MultiPolygon value. GeoDataFrameColumn with result column containing Geometry values
convex_hull Return the convex hull of the Geometry value. GeoDataFrameColumn with result column containing Geometry values
coord_dim Return the coordinate dimension of a geometry. GeoDataFrameColumn
Resultant column contains:
  • 1, if the input geometry is 1D
  • 2, if the input geometry is 2D
  • 3, if the input geometry is 3D
dimension Return the dimension of the Geometry type. GeoDataFrameColumn
Resultant column contains:
  • 0, for a 0-dimensional geometry
  • 1, for a 1D geometry
  • 2, for a 2D geometry
  • -1, if the input geometry is empty
geom_type Return the Geometry type of the Geometry value. GeoDataFrameColumn
Resultant column contains any of the following strings:
  • 'ST_Point'
  • 'ST_LineString'
  • 'ST_Polygon'
  • 'ST_MultiPoint'
  • 'ST_MultiLineString'
  • 'ST_MultiPolygon'
  • 'ST_GeomCollection'
  • 'GeoSequence'
is_3D Test if a Geometry value has Z coordinate value. GeoDataFrameColumn
Resultant column contains:
  • 1, if the Geometry contains Z coordinates
  • 0, if the Geometry does not contain Z coordinates
is_empty Test if a Geometry value corresponds to the empty set. GeoDataFrameColumn
Resultant column contains:
  • 1, if the geometry is empty
  • 0, if the geometry is not empty
is_simple Test if a Geometry value has no anomalous geometric points, such as self intersection tangency. GeoDataFrameColumn
Resultant column contains:
  • 1, if the geometry is simple, with no anomalous points
  • 0, if the geometry is not simple
is_valid Test if a Geometry value is well-formed. GeoDataFrameColumn
Resultant column contains:
  • 1, if the geometry is valid
  • 0, if the geometry is not valid
max_x Return the maximum X coordinate of a Geometry value. GeoDataFrameColumn

Resultant column contains a NULL, if the Geometry is an empty set.

max_y Return the maximum Y coordinate of a Geometry value. GeoDataFrameColumn

Resultant column contains a NULL, if the Geometry is an empty set.

max_z Return the maximum Z coordinate of a Geometry value. GeoDataFrameColumn

Resultant column contains a NULL, if the Geometry is an empty set.

min_x Return the minimum X coordinate of a Geometry value. GeoDataFrameColumn

Resultant column contains a NULL, if the Geometry is an empty set.

min_y Return the minimum Y coordinate of a Geometry value. GeoDataFrameColumn

Resultant column contains a NULL, if the Geometry is an empty set.

min_z Return the minimum Z coordinate of a Geometry value. GeoDataFrameColumn

Resultant column contains a NULL, if the Geometry is an empty set.

srid Get the spatial reference system identifier of the Geometry value. GeoDataFrameColumn

Properties for Point Geometry

Property Purpose Return
x Get the X coordinate of an ST_Point value. GeoDataFrameColumn
y Get the Y coordinate of an ST_Point value. GeoDataFrameColumn
z Get the Z coordinate of an ST_Point value. GeoDataFrameColumn

Properties for LineString Geometry

Property Purpose Return
is_closed_3D Tests whether a 3D LineString or 3D MultiLineString is closed, taking into account the Z coordinates in the calculation. GeoDataFrameColumn
Resultant column contains:
  • 1, if the 3D LineString or 3D MultiLineString is closed.
  • 0, if the 3D LineString or 3D MultiLineString is not closed or is empty.
is_closed Tests if a Geometry type that represents an ST_LineString, GeoSequence, or ST_MultiLineString value is closed. GeoDataFrameColumn
Resultant column contains:
  • 1, if the ST_LineString, GeoSequence, or ST_LineString components of an ST_MultiLineString are closed.
  • 0, if the ST_LineString, GeoSequence, or ST_LineString components of an ST_MultiLineString are not closed, or if the input geometry is empty.
is_ring Tests if a Geometry type that represents an ST_LineString or a GeoSequence value is a ring. GeoDataFrameColumn
Resultant column contains:
  • 1, if the ST_LineString or GeoSequence value is simple (has no anomalous geometric points, such as self intersection tangency) and is closed (the start point of the ST_LineString value is equal to the end point)
  • 0, in all other cases.

Properties for Polygon Geometry

Property Purpose Return
area Return the area measurement of an ST_Polygon or ST_MultiPolygon. For ST_MultiPolygon, returns the sum of the area measurements of the component polygons. GeoDataFrameColumn
exterior Get the exterior ring of a Geometry type that represents an ST_Polygon value. GeoDataFrameColumn with result column containing ST_LineString Geometry values
perimeter Return the boundary length of an ST_Polygon, or the sum of the boundary lengths of the component polygons of an ST_MultiPolygon. GeoDataFrameColumn