Ejemplo n.º 1
0
 def __init__(self):
     """Constructor"""
     super(ClassifiedRHContinuousRE, self).__init__()
     # check constraint
     valid = check_layer_constraint(self.metadata(), layer_mode_classified,
                                    [layer_geometry_raster],
                                    layer_mode_continuous,
                                    [layer_geometry_raster])
     if not valid:
         raise MetadataLayerConstraintError()
Ejemplo n.º 2
0
 def __init__(self):
     super(ClassifiedVHContinuousRE, self).__init__()
     # checks the metadata
     valid = check_layer_constraint(
         self.metadata(), layer_mode_classified, [
             layer_geometry_point, layer_geometry_line,
             layer_geometry_polygon
         ], layer_mode_continuous, [layer_geometry_raster])
     if not valid:
         raise MetadataLayerConstraintError()
 def __init__(self):
     """Constructor"""
     super(ContinuousRHContinuousRE, self).__init__()
     # check constraint
     valid = check_layer_constraint(
         self.metadata(),
         layer_mode_continuous,
         [layer_geometry_raster],
         layer_mode_continuous,
         [layer_geometry_raster], )
     if not valid:
         raise MetadataLayerConstraintError()
Ejemplo n.º 4
0
 def __init__(self):
     """Constructor"""
     super(ContinuousRHContinuousVE, self).__init__()
     # check constraint
     valid = check_layer_constraint(
         self.metadata(), layer_mode_continuous, [layer_geometry_raster],
         layer_mode_continuous, [
             layer_geometry_point, layer_geometry_line,
             layer_geometry_polygon
         ])
     if not valid:
         raise MetadataLayerConstraintError()
 def __init__(self):
     super(ClassifiedVHContinuousRE, self).__init__()
     # checks the metadata
     valid = check_layer_constraint(
         self.metadata(),
         layer_mode_classified,
         [layer_geometry_point,
          layer_geometry_line,
          layer_geometry_polygon],
         layer_mode_continuous,
         [layer_geometry_raster])
     if not valid:
         raise MetadataLayerConstraintError()
 def __init__(self):
     """Constructor"""
     super(ClassifiedRHContinuousVE, self).__init__()
     # check constraint
     valid = check_layer_constraint(
         self.metadata(),
         layer_mode_classified,
         [layer_geometry_raster],
         layer_mode_continuous,
         [layer_geometry_point,
          layer_geometry_line,
          layer_geometry_polygon])
     if not valid:
         raise MetadataLayerConstraintError()