Skip to main content

PointSet

GitHub source

PointSet

evo.objects.typed.pointset.PointSet

A GeoscienceObject representing a set of points in 3D space.

The object contains a locations dataset with coordinates and optional attributes for each point.

num_points

num_points: int

The number of points in this pointset.

attributes

attributes: 'Attributes'

The attributes associated with the points in this pointset.

coordinates

coordinates(fb: IFeedback = NoFeedback) -> pd.DataFrame

Get the coordinates dataframe for the pointset.

Parameters:

NameTypeDescriptionDefault
fbIFeedbackOptional feedback object to report download progress.NoFeedback

Returns:

TypeDescription
DataFrameA DataFrame with 'x', 'y', 'z' columns representing point coordinates.

to_dataframe

to_dataframe(*keys: str, fb: IFeedback = NoFeedback) -> pd.DataFrame

Get the full dataframe for the pointset, including coordinates and attributes.

Parameters:

NameTypeDescriptionDefault
keysstrOptional list of attribute keys to include. If not provided, all attributes are included.()
fbIFeedbackOptional feedback object to report download progress.NoFeedback

Returns:

TypeDescription
DataFrameA DataFrame with 'x', 'y', 'z' columns and any additional attribute columns.

What is the reason for your feedback?