Features Module

class Features.Features[source]
get_features_dict()[source]
get_save_dict()[source]
load_save_dict(dic)[source]
new_feature(typ, name, shortname, color, descr, model=None)[source]

This function instanciate a feature (from the Feature class), register it in the features_dict, check ifS the name is not already in use (and also the color).

typ in [‘point’, ‘multipoint’, ‘segment’, ‘multisegment’] color as a RGB color (tuple) descr: a str

This Page