SearchResult#
The SearchResult class provides a convenient way to handle and manipulate search results obtained from the EODAG API. It offers various methods to filter, transform, and interact with the search results, making it easier to work with geospatial data in different formats.
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, number_matched=None, errors=None)[source]#
An object representing a collection of
EOProductresulting from a search.- Parameters:
- Variables:
data – List of products
number_matched – Estimated total number of matching results
- as_shapely_geometry_object()[source]#
shapely.GeometryCollectionrepresentation of SearchResult- Return type:
- crunch(cruncher, **search_params)[source]#
Do some crunching with the underlying EO products.
- Parameters:
- Return type:
- Returns:
The result of the application of the crunching method to the EO products
- filter_date(start=None, end=None)[source]#
Apply
FilterDatecrunch, check its documentation to know more.- Parameters:
- Return type:
- filter_latest_by_name(name_pattern)[source]#
Apply
FilterLatestByNamecrunch, check its documentation to know more.- Parameters:
name_pattern (
str)- Return type:
- filter_latest_intersect(geometry)[source]#
Apply
FilterLatestIntersectcrunch, check its documentation to know more.- Parameters:
- Return type:
- filter_online()[source]#
Use cruncher
FilterProperty, filter for online products.- Return type:
- filter_overlap(geometry, minimum_overlap=0, contains=False, intersects=False, within=False)[source]#
Apply
FilterOverlapcrunch, check its documentation to know more.
- filter_property(operator='eq', **search_property)[source]#
Apply
FilterPropertycrunch, check its documentation to know more.- Parameters:
- Return type: