gws.base.feature

Source code: gws.base.feature

Package Contents

class gws.base.feature.Feature(model: gws.Model)

Bases: gws.Feature

Feature object.

get(name, default=None)
has(name)
raw(name)
render_views(templates, **kwargs)
set(name, value)
shape()
to_geojson(user)
to_svg(view, label=None, style=None)
transform_to(crs) gws.Feature
uid()
gws.base.feature.new(model: gws.Model, record: gws.FeatureRecord | None = None, props: gws.FeatureProps | None = None) gws.Feature