parameters: (self, event=None)
docstring: Select trips by different parameters to ensure the quality of the mapmatching results.
          This should be done after the map-matching process.
docstring_summary: Select trips by different parameters to ensure the quality of the mapmatching results.
          This should be done after the map-matching process.
docstring_tokens: Select trips by different parameters to ensure the quality of the mapmatching results . This should be done after the map - matching process .
function: def on_postmatchfilter_trips(self, event=None):
          """
          Select trips by different parameters to ensure the quality of the mapmatching results.
          This should be done after the map-matching process. 
          """
          p = mapmatching.PostMatchfilter(self._mapmatching, logger=self._mainframe.get_logger())
          dlg = ProcessDialog(self._mainframe, p, immediate_apply=True)
  
          dlg.CenterOnScreen()
  
          # this does not return until the dialog is closed.
          val = dlg.ShowModal()
          # print '  val,val == wx.ID_OK',val,wx.ID_OK,wx.ID_CANCEL,val == wx.ID_CANCEL
          # print '  status =',dlg.get_status()
          if dlg.get_status() != 'success':  # val == wx.ID_CANCEL:
              # print ">>>>>>>>>Unsuccessful\n"
              dlg.Destroy()
  
          if dlg.get_status() == 'success':
              # print ">>>>>>>>>successful\n"
              # apply current widget values to scenario instance
              dlg.apply()
              dlg.Destroy()
              self._mainframe.browse_obj(self._mapmatching.trips)
              self._is_needs_refresh = True
              self.refresh_widgets()
function_tokens: def on_postmatchfilter_trips ( self , event = None ) : p = mapmatching . PostMatchfilter ( self . _mapmatching , logger = self . _mainframe . get_logger ( ) ) dlg = ProcessDialog ( self . _mainframe , p , immediate_apply = True ) dlg . CenterOnScreen ( ) # this does not return until the dialog is closed. val = dlg . ShowModal ( ) # print '  val,val == wx.ID_OK',val,wx.ID_OK,wx.ID_CANCEL,val == wx.ID_CANCEL # print '  status =',dlg.get_status() if dlg . get_status ( ) != 'success' : # val == wx.ID_CANCEL: # print ">>>>>>>>>Unsuccessful\n" dlg . Destroy ( ) if dlg . get_status ( ) == 'success' : # print ">>>>>>>>>successful\n" # apply current widget values to scenario instance dlg . apply ( ) dlg . Destroy ( ) self . _mainframe . browse_obj ( self . _mapmatching . trips ) self . _is_needs_refresh = True self . refresh_widgets ( )