gws.plugin.geojson.finder¶
The geojson finder.
Source code: gws.plugin.geojson.finder
Module Contents¶
- class gws.plugin.geojson.finder.Config¶
Bases:
gws.base.search.finder.ConfigSearch in features from a GeoJSON file.
- provider: Config.provider | None¶
GeoJSON file to search in.
- class gws.plugin.geojson.finder.Object¶
Bases:
gws.base.search.finder.ObjectGeoJSON finder.
- provider: Object.provider¶
The GeoJSON provider.
- supportsGeometrySearch = True¶
- configure()¶
- configure_models()¶
- configure_provider()¶
Configure the GeoJSON provider.
- Returns:
Trueif a provider was set.
- create_model(cfg)¶
Create a GeoJSON model that uses the provider of the finder.
- Parameters:
cfg – Model configuration, or
Nonefor the default model.- Returns:
The model.