class documentation

class IFeature(Protocol): (source)

Known subclasses: gws.base.feature.Feature

View In Hierarchy

Undocumented

Method get Undocumented
Method has Undocumented
Method raw Undocumented
Method render_views Undocumented
Method set Undocumented
Method shape Undocumented
Method to_geojson Undocumented
Method to_svg Undocumented
Method transform_to Undocumented
Method uid Undocumented
Class Variable attributes Undocumented
Class Variable category Undocumented
Class Variable createWithFeatures Undocumented
Class Variable cssSelector Undocumented
Class Variable errors Undocumented
Class Variable insertedPrimaryKey Undocumented
Class Variable isNew Undocumented
Class Variable model Undocumented
Class Variable props Undocumented
Class Variable record Undocumented
Class Variable views Undocumented
def get(self, name: str, default=None) -> Any: (source)

Undocumented

def has(self, name: str) -> bool: (source)

Undocumented

def raw(self, name: str) -> Any: (source)

Undocumented

def render_views(self, templates: list[ITemplate], **kwargs) -> IFeature: (source)

Undocumented

def set(self, name: str, value: Any) -> IFeature: (source)

Undocumented

def shape(self) -> Optional[IShape]: (source)

Undocumented

def to_geojson(self, user: IUser) -> dict: (source)

Undocumented

def to_svg(self, view: MapView, label: Optional[str] = None, style: Optional[IStyle] = None) -> list[IXmlElement]: (source)

Undocumented

def transform_to(self, crs: ICrs) -> IFeature: (source)

Undocumented

def uid(self) -> FeatureUid: (source)

Undocumented

attributes: dict = (source)

Undocumented

category: str = (source)

Undocumented

createWithFeatures: list[IFeature] = (source)

Undocumented

cssSelector: str = (source)

Undocumented

Undocumented

insertedPrimaryKey: str = (source)

Undocumented

isNew: bool = (source)

Undocumented

Undocumented

Undocumented

Undocumented

views: dict = (source)

Undocumented