gws.plugin.model_field.geometry
¶
Geometry field.
Source code: gws.plugin.model_field.geometry
Package Contents¶
- class gws.plugin.model_field.geometry.Config(*args, **kwargs)¶
Bases:
gws.base.model.scalar_field.Config
Basic config with permissions.
- geometryType: gws.GeometryType | None¶
- crs: gws.CrsName | None¶
- class gws.plugin.model_field.geometry.Props(*args, **kwargs)¶
Bases:
gws.base.model.scalar_field.Props
Object properties.
- geometryType: gws.GeometryType¶
- class gws.plugin.model_field.geometry.Object¶
Bases:
gws.base.model.scalar_field.Object
Model field.
- attributeType¶
- supportsGeometrySearch = True¶
- geometryType: gws.GeometryType¶
- configure()¶
Configuration hook.
- configure_geometry_type()¶
- configure_geometry_crs()¶
- configure_widget()¶
- props(user)¶
Generate a
Props
struct for this object.- Parameters:
user – The user for which the props should be generated.
- before_select(mc)¶
- raw_to_python(feature, value, mc)¶
- prop_to_python(feature, value, mc)¶
- python_to_raw(feature, value, mc)¶
- python_to_prop(feature, value, mc)¶