Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
cuspatial::geometry_column_view Class Reference

A non-owning, immutable view of a geometry column. More...

#include <geometry_column_view.hpp>

Inheritance diagram for cuspatial::geometry_column_view:

Public Member Functions

 geometry_column_view (cudf::column_view const &column, collection_type_id collection_type, geometry_type_id geometry_type)
 
 geometry_column_view (geometry_column_view &&)=default
 
 geometry_column_view (const geometry_column_view &)=default
 
geometry_column_viewoperator= (geometry_column_view const &)=default
 
geometry_column_viewoperator= (geometry_column_view &&)=default
 
geometry_type_id geometry_type () const
 
collection_type_id collection_type () const
 
cudf::data_type coordinate_type () const
 

Protected Attributes

collection_type_id _collection_type
 
geometry_type_id _geometry_type
 

Detailed Description

A non-owning, immutable view of a geometry column.

A geometry column is GeoArrow compliant, except that the data type for the coordinates is List<T>, instead of FixedSizeList<T>[n_dim]. This is because libcudf does not support FixedSizeList type. Currently, an even sequence (0, 2, 4, ...) is used for the offsets of the coordinate column.

Definition at line 37 of file geometry_column_view.hpp.

Member Function Documentation

◆ collection_type()

collection_type_id cuspatial::geometry_column_view::collection_type ( ) const
inline

Definition at line 52 of file geometry_column_view.hpp.

◆ geometry_type()

geometry_type_id cuspatial::geometry_column_view::geometry_type ( ) const
inline

Definition at line 50 of file geometry_column_view.hpp.

Member Data Documentation

◆ _collection_type

collection_type_id cuspatial::geometry_column_view::_collection_type
protected

Definition at line 61 of file geometry_column_view.hpp.

◆ _geometry_type

geometry_type_id cuspatial::geometry_column_view::_geometry_type
protected

Definition at line 62 of file geometry_column_view.hpp.


The documentation for this class was generated from the following file: