SearchTransform#

class geodesic.boson.SearchTransform(*args, **kwargs)[source]#

Attributes

properties

(dict) - properties (if any) to configure the middleware

type

(str) - type of middleware to apply to a provider

Methods

bounds()

Calculate the bounds of the queried geometry.

buffer([distance, distance_field, segments])

Buffer the queried geometry.

calculate_field(new_field, expression[, ...])

Creates a new field in the search response based on an expression.

centroid()

Calculate the centroid of the queried geometry.

clear()

combine_fields(new_field, fields[, ...])

Combine fields in the properties of a search response.

compute_id()

Compute an ID for each feature in the search response.

convex_hull()

Calculate the convex hull of the queried geometry.

copy()

default_datetime_range([start, end, before_now])

Sets the default datetime range in a search request on a Dataset.

fromkeys([value])

Create a new dictionary with keys from iterable and values set to value.

get(key[, default])

Return the value for key if key is in the dictionary, else default.

h3(resolution[, return_all])

Adds the H3 cell to properties.

items()

keys()

pop(k[,d])

If the key is not found, return the default if given; otherwise, raise a KeyError.

popitem()

Remove and return a (key, value) pair as a 2-tuple.

rename_fields([case, field_map])

Rename fields in the properties of a search response.

s2(level[, return_all])

Adds the S2 cell to properties.

setdefault(key[, default])

Insert key with a value of default if key is not in the dictionary.

simplify(threshold[, stride])

Simplify the queried geometry.

update(*mapping, **kwargs)

values()