gws.base.search.action¶
Search action.
Source code: gws.base.search.action
Module Contents¶
- class gws.base.search.action.Config¶
Bases:
gws.base.action.ConfigRuns searches in the project finders and returns the found features.
- tolerance: gws.UomValueStr | None¶
Default tolerance for geometry searches.
- class gws.base.search.action.Object¶
Bases:
gws.base.action.ObjectSearch action, runs searches for the client.
- limit = 0¶
Max. number of results, 0 for no limit.
- tolerance: gws.UomValue¶
Default tolerance for geometry searches.
- configure()¶
- find(req: gws.WebRequester, p: Request) Response¶
Run a search and return the found features.
- props(user)¶
- class gws.base.search.action.Request(*args, **kwargs)¶
Bases:
gws.RequestRequest of the
searchFindcommand.- crs: gws.CrsName | None¶
CRS of the extent, defaults to the map CRS.
- extent: gws.Extent | None¶
Search extent, defaults to the map extent.
- layerUids: list[str]¶
Layers whose finders are used in addition to the project and application finders.
- shapes: list[gws.lib.shape.Props] | None¶
Shapes to search in; several shapes are combined into one.
- class gws.base.search.action.Response(*args, **kwargs)¶
Bases:
gws.ResponseResponse of the
searchFindcommand.- features: list[gws.FeatureProps]¶
Found features with rendered views.