Skip to content
Snippets Groups Projects

Resolve "Introduce a new filter for when rules should be run based on the source ID of a building."

Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -30,7 +30,7 @@ class AbstractRule(abc.ABC):
Args:
rule_source_ids (list):
A list of integers representing all the valid source ID's for the rule.
A list of all valid source IDs for the rule.
geographic_filter_boundary (str):
Boundary polygon in WKT format defining the geographic boundary of the rule.
"""
@@ -68,7+68,7 @@
raise NotImplementedError(
"The `parse_data` method is not implemented for this class, but you are trying "
+ "to parse data from a file anyway. If you need to import data from a file,"
+ "please implement this class first."
)
@@ -80,7+80,7 @@
Args:
geographic_filter_boundary (str):
Boundary polygon in WKT format defining the geographic boundary of the rule.
Returns:
shapely.geometry.polygon.Polygon:
A Shapely polygon based on the WKT string geometry.
Loading