gws.base.search.action
¶
Search API.
Source code: gws.base.search.action
Module Contents¶
- class gws.base.search.action.Config¶
Bases:
gws.base.action.Config
Search action
- categories: list[str] | None¶
Search categories. (added in 8.2)
- limit: int = 1000¶
Search results limit.
- tolerance: gws.UomValueStr | None¶
Default tolerance.
- class gws.base.search.action.Object¶
Bases:
gws.base.action.Object
- categories: list[str] = []¶
- limit = 0¶
- tolerance: gws.UomValue¶
- configure()¶
- find(req: gws.WebRequester, p: Request) Response ¶
Perform a search
- props(user)¶
- class gws.base.search.action.Props¶
Bases:
gws.base.action.Props
- categories: list[str]¶
- class gws.base.search.action.Request(*args, **kwargs)¶
Bases:
gws.Request
Command request.
- categories: list[str] | None¶
- crs: gws.CrsName | None¶
- extent: gws.Extent | None¶
- keyword: str = ''¶
- layerUids: list[str]¶
- limit: int | None¶
- resolution: float¶
- shapes: list[gws.base.shape.Props] | None¶
- tolerance: str | None¶
- views: list[str] | None¶
- withCategories: bool¶
- class gws.base.search.action.Response(*args, **kwargs)¶
Bases:
gws.Response
Command response.
- features: list[gws.FeatureProps]¶