gws.common.search.provider

class gws.common.search.provider.Config(*args, **kwargs)[source]
dataModel = None

feature data model

defaultContext = ''

default spatial context (‘view’ or ‘map’)

templates = None

feature formatting templates

tolerance = '10px'

tolerance, in pixels or map units

withGeometry = True

enable geometry search

withKeyword = True

enable keyword search

class gws.common.search.provider.Object[source]
configure()[source]
can_run(args: gws.types.SearchArgs)[source]
context_shape(args: gws.types.SearchArgs) → gws.types.IShape[source]
run(layer: gws.types.ILayer, args: gws.types.SearchArgs) → List[gws.types.IFeature][source]