faninsar.query.result.PolygonsResult#

class faninsar.query.result.PolygonsResult(result: dict)[source]#

Bases: BBoxesResult

A class to manage the result of Polygons query.

__init__(result: dict) None#

Initialize the BaseResult instance.

Parameters:

result (dict) – The result of the query.

Methods

__init__(result)

Initialize the BaseResult instance.

Attributes

data

List of numpy arrays.

dims

Description of the dimensions.

frame

DataFrame of the result.

is_empty

If the result is empty.

masks

List of masks.

transforms

List of affine transforms.

property data: list[np.ndarray] | None#

List of numpy arrays.

property dims: str | None#

Description of the dimensions.

property frame: DataFrame | None#

DataFrame of the result.

property is_empty: bool#

If the result is empty.

property masks: list[np.ndarray] | None#

List of masks.

property transforms: list[Affine] | None#

List of affine transforms.