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[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() 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: str | None = None, end: str | None = None) SearchResult [source]#
Apply
FilterDate
crunch, check its documentation to know more.
- filter_latest_by_name(name_pattern: str) SearchResult [source]#
Apply
FilterLatestByName
crunch, check its documentation to know more.
- filter_latest_intersect(geometry: Dict[str, Any] | BaseGeometry | Any) SearchResult [source]#
Apply
FilterLatestIntersect
crunch, check its documentation to know more.
- filter_online() 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) SearchResult [source]#
Apply
FilterOverlap
crunch, check its documentation to know more.
- filter_property(operator: str = 'eq', **search_property: Any) SearchResult [source]#
Apply
FilterProperty
crunch, check its documentation to know more.
- static from_geojson(feature_collection: Dict[str, Any]) 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: