SearchResult
Contents
SearchResult#
Constructor#
|
An object representing a collection of |
Crunch#
|
Do some crunching with the underlying EO products. |
|
Apply |
|
Apply |
|
Apply |
|
Apply |
|
Apply |
Use cruncher |
Conversion#
|
Builds an |
GeoJSON representation of SearchResult |
|
|
|
WKT representation of SearchResult |
Interface#
Implements the geo-interface protocol. |
- class eodag.api.search_result.SearchResult(products: List[eodag_cube.api.product._product.EOProduct])[source]#
An object representing a collection of
EOProduct
resulting from a search.- Parameters
products (list(
EOProduct
)) – A list of products resulting from a search
- as_shapely_geometry_object() shapely.geometry.collection.GeometryCollection [source]#
shapely.geometry.GeometryCollection
representation of SearchResult
- crunch(cruncher: Crunch, **search_params: Any) SearchResult [source]#
Do some crunching with the underlying EO products.
- Parameters
- Returns
The result of the application of the crunching method to the EO products
- Return type
- filter_date(start: Optional[str] = None, end: Optional[str] = None) eodag.api.search_result.SearchResult [source]#
Apply
FilterDate
crunch, check its documentation to know more.
- filter_latest_by_name(name_pattern: str) eodag.api.search_result.SearchResult [source]#
Apply
FilterLatestByName
crunch, check its documentation to know more.
- filter_latest_intersect(geometry: Union[Dict[str, Any], BaseGeometry, Any]) SearchResult [source]#
Apply
FilterLatestIntersect
crunch, check its documentation to know more.
- filter_online() eodag.api.search_result.SearchResult [source]#
Use cruncher
FilterProperty
, filter for online products.
- filter_overlap(geometry: Any, minimum_overlap: int = 0, contains: bool = False, intersects: bool = False, within: bool = False) eodag.api.search_result.SearchResult [source]#
Apply
FilterOverlap
crunch, check its documentation to know more.
- filter_property(operator: str = 'eq', **search_property: Any) eodag.api.search_result.SearchResult [source]#
Apply
FilterProperty
crunch, check its documentation to know more.
- static from_geojson(feature_collection: Dict[str, Any]) eodag.api.search_result.SearchResult [source]#
Builds an
SearchResult
object from its representation as geojson- Parameters
feature_collection (dict) – A collection representing a search result.
- Returns
An eodag representation of a search result
- Return type