osc_generator/end_eval_criteria.py
def save_end_eval_kpis(self):
        """Executes ingestion of dialog form data into QGIS layer"""
        layer_setup_end_eval()
        layer = QgsProject.instance().mapLayersByName("End Evaluation KPIs")[0]
        self._data_provider = layer.dataProvider()
        # Clear existing attributes
        current_features = [feat.id() for feat in layer.getFeatures()]
        self._data_provider.deleteFeatures(current_features)
        iface.setActiveLayer(layer)

        self.get_collision()
        self.get_driven_distance()
        self.get_keep_lane()
        self.get_on_sidewalk()
        self.get_running_red()
        self.get_running_stop()
        self.get_wrong_lane()
Executes ingestion of dialog form data into QGIS layer
Executes ingestion of dialog form data into QGIS layer
Executes ingestion of dialog form data into QGIS layer
def save_end_eval_kpis(self):
        layer_setup_end_eval()
        layer = QgsProject.instance().mapLayersByName("End Evaluation KPIs")[0]
        self._data_provider = layer.dataProvider()
        current_features = [feat.id() for feat in layer.getFeatures()]
        self._data_provider.deleteFeatures(current_features)
        iface.setActiveLayer(layer)
        self.get_collision()
        self.get_driven_distance()
        self.get_keep_lane()
        self.get_on_sidewalk()
        self.get_running_red()
        self.get_running_stop()
        self.get_wrong_lane()
def save_end_eval_kpis ( self ) : layer_setup_end_eval ( ) layer = QgsProject . instance ( ) . mapLayersByName ( "End Evaluation KPIs" ) [ 0 ] self . _data_provider = layer . dataProvider ( ) current_features = [ feat . id ( ) for feat in layer . getFeatures ( ) ] self . _data_provider . deleteFeatures ( current_features ) iface . setActiveLayer ( layer ) self . get_collision ( ) self . get_driven_distance ( ) self . get_keep_lane ( ) self . get_on_sidewalk ( ) self . get_running_red ( ) self . get_running_stop ( ) self . get_wrong_lane ( )
Executes ingestion of dialog form data into QGIS layer
Executes ingestion of dialog form data into QGIS layer
"""Executes ingestion of dialog form data into QGIS layer""" # Clear existing attributes
self