faninsar.query.result.QueryResult#
- class faninsar.query.result.QueryResult(points: PointsResult | dict | None = None, boxes: BBoxesResult | dict | None = None, polygons: PolygonsResult | dict | None = None, query: GeoQuery = None)[source]#
Bases:
objectA combined result of Queries.
the
PointsResult,BBoxesResult, andPolygonsResultqueries. This class is the default return type of the geospatial Queries results for the datasets.- __init__(points: PointsResult | dict | None = None, boxes: BBoxesResult | dict | None = None, polygons: PolygonsResult | dict | None = None, query: GeoQuery = None) None[source]#
Initialize the QueryResult instance.
- Parameters:
points (PointsResult, optional) – Result of the
Pointsquery.boxes (BBoxesResult, optional) – Result of the
BoundingBoxquery.polygons (PolygonsResult, optional) – Result of the
Polygonsquery.query (GeoQuery, optional) – The
GeoQueryinstance used to generate results.
Methods
__init__([points, boxes, polygons, query])Initialize the QueryResult instance.
Attributes
Result of the
BoundingBoxquery.Result of the
Pointsquery.Result of the
Polygonsquery.The
GeoQueryinstance used to generate results.- property boxes: BBoxesResult | None#
Result of the
BoundingBoxquery.
- property points: PointsResult | None#
Result of the
Pointsquery.
- property polygons: PolygonsResult | None#
Result of the
Polygonsquery.