code: def load_shapefile(self, feature_type, base_path):
          
  
          path = '%s.shp' % base_path
  
          if not os.path.exists(path):
              message = self.tr(
                  '%s does not exist. The server does not have any data for '
                  'this extent.' % path)
              raise FileMissingError(message)
  
          self.iface.addVectorLayer(path, feature_type, 'ogr')
docs: Load downloaded shape file to QGIS Main Window.
  
          TODO: This is cut & paste from OSM - refactor to have one method
  
          :param feature_type: What kind of features should be downloaded.
              Currently 'buildings', 'building-points' or 'roads' are supported.
          :type feature_type: str
  
          :param base_path: The base path of the shape file (without extension).
          :type base_path: str
  
          :raises: FileMissingError - when buildings.shp not exist